gfm.math.quaternion

Members

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.

Meta