Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Interpolates along the shortest spherical path between two rotations.

API: engine
Project: Inno.Core.Mathematics

public static Inno.Core.Mathematics.Quaternion Inno.Core.Mathematics.Quaternion.Slerp(Inno.Core.Mathematics.Quaternion a, Inno.Core.Mathematics.Quaternion b, float t)

Parameter a: The first operand or interpolation endpoint.

Parameter b: The second operand or interpolation endpoint.

Parameter t: The interpolation factor, where zero selects the first endpoint and one selects the second.

The validated quaternion that represents the completed operation.