Awesome thank-you for replying, I grabbed it and will compile on windows.
I am a little unsure how your using sdl with it (mind it its 2 nearly 2 am
and my brains fried)
to be honest i got your post straight away and been checking it out since
:P
excellent work.
I sleep now and start it tommoz :)
On Thu, 01 Jun 2006 00:41:54 +0800, daniel fischer <[EMAIL PROTECTED]> wrote:
Jarrad,
"Jarrad Hope" <[EMAIL PROTECTED]> (on Wed, 31 May 2006 22:57:53
+0800):
> I was wondering how the opengl wrapper project is going?
> I can see so much potential having this :|
here's a preliminary version:
http://iterative.org/neko/gl/neko-gl-0.0.1.tbz2
it doesnt wrap GLU or GLUT, so it might be of limited use, as it
provides no way to open a window (I currently use SDL for that). I've
been using xslt and a haxe/neko script to generate the bindings from
swig's XML output, which i will also publish on interest (or if its
'finished').
you'll need approximately this line to build (on loonix):
gcc -shared -lneko -lGL -fPIC -I. -o GL.ndll GL_wrap.c cptr.c
also included are two haxe classes, GL__.hx and GL.hx. GL__.hx should be
compiled to GL__.n, GL.hx "imports" it. The separation considerably
speeds up compilation time.
let me know how it works out for you or if you have any questions. I'm
still working on better packaging and such.
-dan
--
Neko : One VM to run them all
(http://nekovm.org)