PDA

View Full Version : Rotation Matrix question



Blain
06-17-2009, 09:38 PM
Hi. I found a C function that builds a matrix to rotate one 3D vector to another. Question is, how do i use the resulting matrix? I want to be able to rotate from one vector to another in small increments.

void BuildRotationMatrixFromTo(VECTOR *From, VECTOR *To, XFORM3D *p);

Thank you in advance.
Blain

ZbuffeR
06-18-2009, 01:34 AM
Search quaternion rotation SLERP.

Blain
06-21-2009, 07:52 PM
Thanks for the help. Cheers.

MaxH
07-07-2009, 06:44 PM
Did you ever find a solution to this problem?