[info-performer] Newbie question - converting from direction vector to quaternion/matrix

Date view Thread view Subject view Author view

From: Phil Day (philday1++at++gmail.com)
Date: 05/11/2005 07:27:20


Apologies for the newbie question.

What is the easiest way of converting from a direction vector to a
quaternion / 4x4 matrix?
Having migrated from WorldToolKit to Performer I was hoping for some
conversion functions, but there don't seem to be any.

Presumably this is because it's so elementary I should know how to do it!

Thanks in anticipation of your help (and lack of flaming!)

Phil Day
Edinburgh UK.


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed May 11 2005 - 07:27:29 PDT