Abacus
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
Abacus.Fixed32Precision.Quaternion Struct Reference

Fixed32 precision Quaternion. More...

Inheritance diagram for Abacus.Fixed32Precision.Quaternion:
Inheritance graph
[legend]
Collaboration diagram for Abacus.Fixed32Precision.Quaternion:
Collaboration graph
[legend]

Public Member Functions

 Quaternion (Fixed32 i, Fixed32 j, Fixed32 k, Fixed32 u)
 
 Quaternion (Vector3 vectorPart, Fixed32 scalarPart)
 
override String ToString ()
 
override Int32 GetHashCode ()
 
override Boolean Equals (Object obj)
 
Boolean Equals (Quaternion other)
 
Boolean ApproximateEquals (Quaternion other)
 
bool IsUnit ()
 
Fixed32 LengthSquared ()
 
Fixed32 Length ()
 
void Normalise ()
 
Quaternion Conjugate ()
 
Quaternion Inverse ()
 
Fixed32 Dot (Quaternion q)
 
Quaternion Concatenate (Quaternion q)
 
Vector3 Transform (Vector3 v)
 
Vector4 Transform (Vector4 v)
 
Vector3 ToYawPitchRoll ()
 

Static Public Member Functions

static void Equals (ref Quaternion q1, ref Quaternion q2, out Boolean r)
 
static void ApproximateEquals (ref Quaternion q1, ref Quaternion q2, out Boolean r)
 
static void Add (ref Quaternion q1, ref Quaternion q2, out Quaternion r)
 
static void Subtract (ref Quaternion q1, ref Quaternion q2, out Quaternion r)
 
static void Negate (ref Quaternion quaternion, out Quaternion r)
 
static void Multiply (ref Quaternion q1, ref Quaternion q2, out Quaternion r)
 
static Boolean operator== (Quaternion a, Quaternion b)
 
static Boolean operator!= (Quaternion a, Quaternion b)
 
static Quaternion operator+ (Quaternion a, Quaternion b)
 
static Quaternion operator- (Quaternion a, Quaternion b)
 
static Quaternion operator- (Quaternion v)
 
static Quaternion operator* (Quaternion a, Quaternion b)
 
static Vector3 operator* (Vector3 v, Quaternion q)
 
static Vector4 operator* (Vector4 v, Quaternion q)
 
static Vector3 operator* (Quaternion q, Vector3 v)
 
static Vector4 operator* (Quaternion q, Vector4 v)
 
static Quaternion operator~ (Quaternion v)
 
static Boolean Equals (Quaternion a, Quaternion b)
 
static Boolean ApproximateEquals (Quaternion a, Quaternion b)
 
static Quaternion Add (Quaternion a, Quaternion b)
 
static Quaternion Subtract (Quaternion a, Quaternion b)
 
static Quaternion Negate (Quaternion v)
 
static Quaternion Multiply (Quaternion a, Quaternion b)
 
static void Lerp (ref Quaternion q1, ref Quaternion q2, ref Fixed32 amount, out Quaternion r)
 
static void Slerp (ref Quaternion q1, ref Quaternion q2, ref Fixed32 amount, out Quaternion r)
 
static void IsUnit (ref Quaternion q, out Boolean r)
 
static Boolean IsUnit (Quaternion q)
 
static Quaternion Lerp (Quaternion a, Quaternion b, Fixed32 amount)
 
static Quaternion Slerp (Quaternion a, Quaternion b, Fixed32 amount)
 
static void LengthSquared (ref Quaternion q, out Fixed32 r)
 
static void Length (ref Quaternion q, out Fixed32 r)
 
static void Conjugate (ref Quaternion value, out Quaternion r)
 
static void Inverse (ref Quaternion q, out Quaternion r)
 
static void Dot (ref Quaternion q1, ref Quaternion q2, out Fixed32 r)
 
static void Concatenate (ref Quaternion q1, ref Quaternion q2, out Quaternion r)
 
static void Normalise (ref Quaternion q, out Quaternion r)
 
static void Transform (ref Quaternion rotation, ref Vector3 vector, out Vector3 r)
 
static void Transform (ref Quaternion rotation, ref Vector4 vector, out Vector4 r)
 
static void ToYawPitchRoll (ref Quaternion q, out Vector3 r)
 
static Fixed32 LengthSquared (Quaternion q)
 
static Fixed32 Length (Quaternion q)
 
static Quaternion Normalise (Quaternion q)
 
static Quaternion Conjugate (Quaternion q)
 
static Quaternion Inverse (Quaternion q)
 
static Fixed32 Dot (Quaternion a, Quaternion b)
 
static Quaternion Concatenate (Quaternion a, Quaternion b)
 
static Vector3 Transform (Quaternion rotation, Vector3 v)
 
static Vector4 Transform (Quaternion rotation, Vector4 v)
 
static Vector3 ToYawPitchRoll (Quaternion q)
 
static void CreateFromAxisAngle (ref Vector3 axis, ref Fixed32 angle, out Quaternion r)
 
static void CreateFromYawPitchRoll (ref Fixed32 yaw, ref Fixed32 pitch, ref Fixed32 roll, out Quaternion r)
 
static void CreateFromRotationMatrix (ref Matrix44 m, out Quaternion r)
 
static Quaternion CreateFromAxisAngle (Vector3 axis, Fixed32 angle)
 
static Quaternion CreateFromYawPitchRoll (Fixed32 yaw, Fixed32 pitch, Fixed32 roll)
 
static Quaternion CreateFromRotationMatrix (Matrix44 matrix)
 

Public Attributes

Fixed32 I
 
Fixed32 J
 
Fixed32 K
 
Fixed32 U
 

Static Public Attributes

static Quaternion identity
 
static Quaternion zero
 

Properties

static Quaternion Identity [get]
 
static Quaternion Zero [get]
 

Detailed Description

Fixed32 precision Quaternion.


The documentation for this struct was generated from the following file: