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
--
http://0xDF.com/
http://iterative.org/
--
Neko : One VM to run them all
(http://nekovm.org)