gfm.math.quaternion

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)

Nlerp of quaternions

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)

Slerp of quaternions

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