glRotate in glBegin?

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.

No, it’s not possible. Sorry.

Why don’t you use multiple render functions inconjunction with the matrix stack?


Sorry, I messed up you just want to rotate one vertex.


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.

Yeah, I bit the bullet and rotated them myself. These high-level api’s have made me lazy…