View Full Version : Changing coordinates

05-24-2011, 07:44 AM

I'm trying to make a rotation of an object from a diferent origin coordinates.
Ex: object drawed from (0,0,0) and I want a rotation from (0,1,0)

Here's what I think I have to do:

Change modelview to have a new origin of coordinates.
Change position of vertexs to this coordinates system
Make the rotation
Come back to the older system

Is it correct?