Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Performs a Catmull-Rom interpolation using the specified positions.

API: engine
Project: Inno.Core.Mathematics

public static float Inno.Core.Mathematics.MathHelper.CatmullRom(float value1, float value2, float value3, float value4, float amount)

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.

A position that is the result of the Catmull-Rom interpolation.