Performs spherical linear interpolation, introduced by Ken Shoemake in the context of quaternion interpolation. It refers to constant-speed motion along a unit-radius great circle arc, given the ends and an interpolation parameter between 0 and 1
Parameters
Parameters
Description
q
[in] second quaternion to be interpolated between (first is this quaternion)
t
[in] a scalar between 0.0 (at p) and 1.0 (at q)
bUseShortestPath
[in] boolean that indicates whether to compute quaternions that constitute the shortest possible arc on a four-dimensional unit sphere.