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

Single precision Quaternion. More...

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

Public Member Functions

 Quaternion (Single i, Single j, Single k, Single u)
 
 Quaternion (Vector3 vectorPart, Single scalarPart)
 
override String ToString ()
 
override Int32 GetHashCode ()
 
override Boolean Equals (Object obj)
 
Boolean Equals (Quaternion other)
 
Boolean ApproximateEquals (Quaternion other)
 
bool IsUnit ()
 
Single LengthSquared ()
 
Single Length ()
 
void Normalise ()
 
Quaternion Conjugate ()
 
Quaternion Inverse ()
 
Single 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 Single amount, out Quaternion r)
 
static void Slerp (ref Quaternion q1, ref Quaternion q2, ref Single 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, Single amount)
 
static Quaternion Slerp (Quaternion a, Quaternion b, Single amount)
 
static void LengthSquared (ref Quaternion q, out Single r)
 
static void Length (ref Quaternion q, out Single 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 Single 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 Single LengthSquared (Quaternion q)
 
static Single Length (Quaternion q)
 
static Quaternion Normalise (Quaternion q)
 
static Quaternion Conjugate (Quaternion q)
 
static Quaternion Inverse (Quaternion q)
 
static Single 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 Single angle, out Quaternion r)
 
static void CreateFromYawPitchRoll (ref Single yaw, ref Single pitch, ref Single roll, out Quaternion r)
 
static void CreateFromRotationMatrix (ref Matrix44 m, out Quaternion r)
 
static Quaternion CreateFromAxisAngle (Vector3 axis, Single angle)
 
static Quaternion CreateFromYawPitchRoll (Single yaw, Single pitch, Single roll)
 
static Quaternion CreateFromRotationMatrix (Matrix44 matrix)
 

Public Attributes

Single I
 
Single J
 
Single K
 
Single U
 

Static Public Attributes

static Quaternion identity
 
static Quaternion zero
 

Properties

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

Detailed Description

Single precision Quaternion.


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