[TCheckBoxFormControlObj]C# [TCheckBoxFormControlObj]Visual Basic Returns the shortest arc Quaternion Rotation needed to rotate the CurrentDirection to be the same as the DestinationDirection. This method is based on Stan Melax's article in Game Programming Gems, and the code was referenced from OgreVector3.h of the Ogre library (www.Ogre3d.org). Namespace: DPSF Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0 Syntax
Parameters CurrentDirection Type: Vector3 The current Direction the Vector is facing. DesiredDirection Type: Vector3 The Direction we want the Vector to face. Return Value Type: Quaternion Returns the shortest arc Quaternion Rotation needed to rotate the CurrentDirection to be the same as the DestinationDirection. See Also |