Original Post
I seem to be confused about something...
In the command:
glVertexPointer(3,GL_FLOAT,0,vertexbuffer);
the second variable can be set as GL_FLOAT, but in the actual
drawing command:
glDrawElements() , you''re third variable has to be a type as either GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
Well, If I''m allowed to define my data as GL_FLOAT, why can''t I use GL_FLOAT as my type in the glDrawElements command?
Demetrios Georgeadis
Director/Programmer
Oniera Software Artists