 | AnglesSlerp Method |
Spherical interpolation of a value from a start angle to an end value for the passed step.
Namespace: Slash.Math.UtilsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static float Slerp(
float from,
float to,
float step
)
Public Shared Function Slerp (
from As Single,
to As Single,
step As Single
) As Single
public:
static float Slerp(
float from,
float to,
float step
)
static member Slerp :
from : float32 *
to : float32 *
step : float32 -> float32
Parameters
- from
- Type: SystemSingle
Start angle (in radians). - to
- Type: SystemSingle
End angle (in radians). - step
- Type: SystemSingle
Current step value (0...1).
Return Value
Type:
Single Current interpolation value (in radians).
See Also