hi,
i have defined a new point a = (x,y,z) in my world scene.
i would like to rotate the object wrt the new point a but not the origin (0,0,0)
any ideas how to do?
ed
hi,
i have defined a new point a = (x,y,z) in my world scene.
i would like to rotate the object wrt the new point a but not the origin (0,0,0)
any ideas how to do?
ed
Translate the point a to the origin, rotate, and translate back.
glTranslate(a)
glRotate(…)
glTranslate(-a)
[This message has been edited by Bob (edited 11-24-2003).]