Quaternion

Quaternion
Scaleform::Render::Quaternion
Declaration
template <typename T>
class Quaternion;
Description

Quaternion class for representing rotations.

Methods
Method 
Description 
Computes the dot product of two quaternions. 
Returns true when this Quaternion equals specified Quaternion, within a tolerance. 
Converts to an angle (radians) around an axis (unit vector). 
Returns this Quaternion as Euler angles (radians). 
GetW 
Returns the W component of the quaternion. 
GetX 
Returns the X component of the quaternion. 
GetY 
Returns the Y component of the quaternion. 
GetZ 
Returns the Z component of the quaternion. 
Inverts the quaternion. 
Checks if this is an identity quaternion. 
Checks if this is a zero rotation. 
Obtains the length of this quaternion. 
Obtains the length of this quaternion. 
Obtains the squared length of this quaternion. 
Performs a normalized lerp operation of the two quaternions. 
Normalize the Quaternion. 
Quaternion constructor. 
Set 
Set the Quaternion based on Euler angles (radians). 
Set 
Set Quaternion to represent a rotation from one vector to another. 
Set 
Sets the Quaternion. 
Set 
Sets the Quaternion. 
Creates a Quaternion from a rotation angle and a rotation axis. 
Sets the quaterion to identity one. 
SetW 
Sets the W component of the quaternion. 
SetX 
Sets the X component of the quaternion. 
SetY 
Sets the Y component of the quaternion. 
SetZ 
Sets the Z component of the quaternion. 
Convenience function to spherically interpolate two quarterions. 
File

Render_Quaternion.h