himageofxidian
June 10th, 2004, 05:59 AM
Hi guys:
In OpenGL, I can rotate using the function glRotate(angle,x,y,z),
but the vector or line (x,y,z) is from the origin. How can i rotate around
arbitrary axis(or line, e,g some line parallels x axis).
himageofxidian
In OpenGL, I can rotate using the function glRotate(angle,x,y,z),
but the vector or line (x,y,z) is from the origin. How can i rotate around
arbitrary axis(or line, e,g some line parallels x axis).
himageofxidian