PDA

View Full Version : opengl structures



peter.vullings
06-12-2003, 11:03 PM
Hi,

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).]

Bob
06-13-2003, 01:42 AM
OpenGL doesn't have anything like that.

peter.vullings
06-13-2003, 06:19 PM
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)?

Bob
06-13-2003, 11:05 PM
Yes, you have to do it yourself, and GLU doesn't have anything either.