Synced
MathHelper.CatmullRom
Section titled “MathHelper.CatmullRom”
- Performs a Catmull-Rom interpolation using the specified positions.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Mathematics
Declaration
Section titled “Declaration”public static float Inno.Core.Mathematics.MathHelper.CatmullRom(float value1, float value2, float value3, float value4, float amount)Parameters
Section titled “Parameters”Parameter value1: The first position in the interpolation.
Parameter value2: The second position in the interpolation.
Parameter value3: The third position in the interpolation.
Parameter value4: The fourth position in the interpolation.
Parameter amount: Weighting factor.
Returns
Section titled “Returns”A position that is the result of the Catmull-Rom interpolation.