View Full Version : glRotate in glBegin?

09-07-2000, 06:13 AM
Is this possible? It doesn't seem to be working. Why not?
The reason I want to do this is a have a non-rigid body, so for a given triangle, I may want to rotate one point, but not rotate the other two.
I'd like to be able to use the openGL built in functions, but if you can't put them in glBegin, then I guess I can't use them.

09-07-2000, 06:56 AM
No, it's not possible. Sorry.

09-07-2000, 10:17 AM
Why don't you use multiple render functions inconjunction with the matrix stack?


09-07-2000, 10:21 AM
Sorry, I messed up you just want to rotate one vertex.


09-08-2000, 02:37 AM
Store your own list of the position of all your points. Then use your OWN matrix functions to manipulate just the vertices you want. Then just pass openGL the resulting points.

09-08-2000, 03:09 AM
Yeah, I bit the bullet and rotated them myself. These high-level api's have made me lazy...