Synced
MathHelper.Distance
Section titled “MathHelper.Distance”
- Calculates the absolute value of the difference of two values.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Core.Mathematics
Scope: Runtime
Declaration
Section titled “Declaration”public static float InnoEngine.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.