コード例 #1
0
 /// <summary>Returns the torsion at the given t-value on the curve, in radians per distance unit</summary>
 /// <param name="t">The t-value along the curve to sample</param>
 [MethodImpl(INLINE)] public static float GetTorsion <T>(this T curve, float t) where T : IParamCurve3Diff <Vector3> => Mathfs.GetTorsion(curve.GetDerivative(t), curve.GetSecondDerivative(t), curve.GetThirdDerivative(t));