[][src]Module tray_rust::linalg::quaternion

Provides a Quaternion type for properly interpolating rotations

Structs

Quaternion

Quaternions describe a rotation in 3d space but can be properly interpolated unlike rotation matrices. The quaternion also provides methods to compute the corresponding rotation transform so that it can be composed with scaling and translation

Functions

dot

Compute the dot product of the two quaternions

slerp

Use spherical linear interpolation to interpolate between the two quaternions