Hello all,

There's someone with experience in opengl?.
Because I'd like to modify gl.vapi and glu.vapi files for grouping, in the
best way, the constants...

For now i can group the data types but for the rest is dificult because I
can't find a proper documentation that explain some kind of constant
grouping.
I'm a newbie in OpenGL, my experience on this issue I have to thank for
creating the binding for vala.

The most simple solution is to wrap the constants and functions like this:

public const GLenum GL_TRIANGLES;
public static glBegin (GLenum mode);

but there's no grouping of the constants....

for now the vapi files are defined like this:

namespace Consts
{
  public const GLenum TRIANGLES;
}
public static void Begin (GLenum mode);

If I can't find a proper solution for this I will choose the first option (I
think is more traditional and fits the actual documentation)

Any kind  of opinion is welcome.

Matias
_______________________________________________
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to