Click or drag to resize
QuaternionXSlerpLong Method
Perform a spherical linear interpolation of a Quaternion using the long path.

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static Quaternion SlerpLong(
	Quaternion from,
	Quaternion to,
	float t
)

Parameters

from
Type: Quaternion
The origin Quaternion.
to
Type: Quaternion
The destination Quaternion.
t
Type: SystemSingle
A value in the range [0, 1] to specify the percentage of the angular path to traverse between the two Quaternions.

Return Value

Type: Quaternion
The interpolated result of two Quaternions, using the longest path.
See Also