gfm.math.quaternion

Undocumented in source.

Members

Aliases

quatd
alias quatd = Quaternion!double
Undocumented in source.
quatf
alias quatf = Quaternion!float
Undocumented in source.

Functions

Nlerp
Quaternion!T Nlerp(Quaternion!T a, Quaternion!T b, float t)
lerp
Quaternion!T lerp(Quaternion!T a, Quaternion!T b, float t)

Linear interpolation, for quaternions.

slerp
Quaternion!T slerp(Quaternion!T a, Quaternion!T b, T t)

Structs

Quaternion
struct Quaternion(T)

Quaternion implementation. Holds a rotation + angle in a proper but wild space.

Templates

isQuaternionInstantiation
template isQuaternionInstantiation(U)
Undocumented in source.

Meta