Quaternion

Undocumented in source.

Constructors

this
this(Type iw, Type ix, Type iy, Type iz)
Undocumented in source.
this
this(Type 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(Type 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(Type angle, Type x, Type y, Type z)
Undocumented in source. Be warned that the author may not have intended to support it.
rotate
void rotate(Type 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
Type 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
Type w;
Undocumented in source.
x
Type x;
Undocumented in source.
y
Type y;
Undocumented in source.
z
Type z;
Undocumented in source.

Meta