Terl_JV

01-11-2004, 08:23 PM

A simpel flight simulator using roll, pitch and yaw.

I need to rotate an object in its locale coordinates (local space).

Then I must rotate a vector about a perpendicular vector:

Maybe using glRotatef(angle, u1, u2, u3)

Where u1,u2,u3 is the local Y axis of an object, its initial values are u=(0, 1, 0).

Then somehow extract the rotated vector from

the current matrix?

Do you have an idea?

Thanks!

I need to rotate an object in its locale coordinates (local space).

Then I must rotate a vector about a perpendicular vector:

Maybe using glRotatef(angle, u1, u2, u3)

Where u1,u2,u3 is the local Y axis of an object, its initial values are u=(0, 1, 0).

Then somehow extract the rotated vector from

the current matrix?

Do you have an idea?

Thanks!