Skip to content

acl/math/quatf.h

#include "acl/math/quatf.h"

The quaternion functions that RTM does not have.

quat_lerp_no_normalization

rtm::quatf quat_lerp_no_normalization(rtm::quatf start, rtm::quatf end, float alpha)

Interpolates linearly between two quaternions and does not normalize the result. The function negates end if necessary to interpolate along the shortest path.