On 22/04/10 13:21, Alejandro Castellanos wrote:
But I'm having to use glRotatef(rtri, 0.0, 0.0, 1.0); which, yet again, rotates around the Z axis but 'slashes' the figure if I attempt to rotate around X or Y.
You'll have to show us the code you're using to rotate about the other axes. It should be something like glRotatef(rtri, 1.0, 0.0, 0.0) # x-axis glRotatef(rtri, 0.0, 1.0, 0.0) # y-axis As for the "slashing", it sounds like the triangle is getting clipped by something, maybe the near or far plane. It might be that the triangle is actually getting rotated correctly, but you're having trouble seeing it because of clipping. -- Greg -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
