kampretz
02-13-2008, 02:46 PM
Hello,
I already post the same question in beginner part, but no answer, so I put it here...
I would like to be able to rotate about original Y and Z axis.
I already tried this:
glRotatef(rotY, 0, 1, 0)
glRotatef(rotZ, 0, 0, 1)
with those, it rotate about original Y-axis, and then rotate about "new" Z-axis.
What should I do to rotate both about original(static) Y and Z-axis.
Thanks a lot
I already post the same question in beginner part, but no answer, so I put it here...
I would like to be able to rotate about original Y and Z axis.
I already tried this:
glRotatef(rotY, 0, 1, 0)
glRotatef(rotZ, 0, 0, 1)
with those, it rotate about original Y-axis, and then rotate about "new" Z-axis.
What should I do to rotate both about original(static) Y and Z-axis.
Thanks a lot