Synced
MathHelper.Distance
Section titled “MathHelper.Distance”
- Calculates the absolute value of the difference of two values.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Mathematics
Declaration
Section titled “Declaration”public static float Inno.Core.Mathematics.MathHelper.Distance(float value1, float value2)Parameters
Section titled “Parameters”Parameter value1: Source value.
Parameter value2: The value2 consumed by distance; ownership remains with the caller unless explicitly stated otherwise.
Returns
Section titled “Returns”Distance between the two values.