slerp


Description:

public Quaternion slerp (Quaternion b, float factor)

Interpolates between the two given quaternions using a spherical linear interpolation, or SLERP, using the given interpolation factor.

Parameters:

this

a Quaternion

b

a Quaternion

factor

the linear interpolation factor

res

return location for the interpolated quaternion