![]() |
NiTE 2.0
|
#include <NiTE.h>
Public Member Functions | |
Quaternion () | |
Quaternion (float w, float x, float y, float z) |
Represents a Quaternion. The Quaternion is stored as four floating point numbers. (The quaternions are a number system that extends the complex number system from two dimensions to four.)
nite::Quaternion::Quaternion | ( | ) | [inline] |
Default Constructor. Creates a new Quaternion with the value of all four components set to zero.
nite::Quaternion::Quaternion | ( | float | w, |
float | x, | ||
float | y, | ||
float | z | ||
) | [inline] |
Constructor. Creates a new Quaternion with each component specified.
[in] | w | Desired first quaternion component value. |
[in] | x | Desired second quaternion component value. |
[in] | y | Desired third quaternion component value. |
[in] | z | Desired fourth quaternion component value. |