opengl structures


I see all these custom vertex structures etc that people are using in their examples and tutorials, but surely opengl has some built in structures provided?

e.g glVector3f, glVector3d, glVectorList etc??

Where can I find a list?

[This message has been edited by peter.vullings (edited 06-13-2003).]

OpenGL doesn’t have anything like that.

So have to write functions etc for crossProduct, normalisation, dotProduct, vectorAdd etc? I’ve already done this, so no biggie, just wondered if openGL has some we can call (e.g. in glu utility library)?

Yes, you have to do it yourself, and GLU doesn’t have anything either.