Quaternion

Undocumented in source.

Constructors

this
this(R[4] components)
Undocumented in source.
this
this(R scalar, R[3] vector)
Undocumented in source.

Members

Functions

abs
real abs()
Undocumented in source. Be warned that the author may not have intended to support it.
conjugate
Quaternion conjugate()
Undocumented in source. Be warned that the author may not have intended to support it.
getRotationMatrix
Matrix!(R, 3, 3) getRotationMatrix()
Undocumented in source. Be warned that the author may not have intended to support it.
inverse
Quaternion inverse()
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Quaternion opBinary(Quaternion rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
squareAbs
real squareAbs()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

getRotation
Quaternion!R getRotation(R[3] axis, R amount)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

scalar
R scalar;
Undocumented in source.
vector
R[3] vector;
Undocumented in source.

Meta