Quaternion

Undocumented in source.

Constructors

this
this(float iw, float ix, float iy, float iz)
Undocumented in source.
this
this(float iw, Vector!3 v)
Undocumented in source.
this
this(Angle a)
Undocumented in source.

Members

Functions

euler
Angle euler()
Undocumented in source. Be warned that the author may not have intended to support it.
fromAngleAxis
Quaternion fromAngleAxis(float angle, Vector!3 dir)
Undocumented in source. Be warned that the author may not have intended to support it.
matrix
Matrix!(4, 4) matrix()
Undocumented in source. Be warned that the author may not have intended to support it.
normalize
void normalize()
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Quaternion opBinary(Quaternion other)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Vector!3 opBinary(Vector!3 v)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
void opOpAssign(T other)
Undocumented in source. Be warned that the author may not have intended to support it.
rotate
void rotate(float angle, float x, float y, float z)
Undocumented in source. Be warned that the author may not have intended to support it.
rotate
void rotate(float angle, Vector!3 v)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

forward
Vector!3 forward [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
inverse
Quaternion inverse [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
length
float length [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
normal
Quaternion normal [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
right
Vector!3 right [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
up
Vector!3 up [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

euler
Quaternion euler(Angle a)
Undocumented in source. Be warned that the author may not have intended to support it.
euler
Quaternion euler(double p, double y, double r)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

w
float w;
Undocumented in source.
x
float x;
Undocumented in source.
y
float y;
Undocumented in source.
z
float z;
Undocumented in source.

Meta