gfm.math.quaternion

Members

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.

Meta