May 20, 2010
6:51 p.m.
On 20.05.2010 17:47, Igor Stasenko wrote:
There are multiple GL bindings exists by now - one that used by Croquet (FFI) - another one that using Alien
and i doing one more, which using NativeBoost for callouts.
And the question, what form of selectors you like most, pros/cons .. i need to know, because i can pick any of them, but i hope, that i will not be only one who using this stuff, so i need your opinion.
Lets take a usual OpenGL function:
void glVertex3f(GLfloat x, GLfloat y, GLfloat z)
For me, 3 + 6 seems the nicest, for the reasons you mentioned. (method names starting in lower case though, so gl vertex3f_x: x y: y z: z). Cheers, Henry PS. That particular method was deprecated in 3.0 and removed in 3.1 though, right? ;)