Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Calculates the absolute value of the difference of two values.

API: scripting
Project: Inno.Core.Mathematics
Scope: Runtime

public static float InnoEngine.Mathematics.MathHelper.Distance(float value1, float value2)

Parameter value1: Source value.

Parameter value2: The value2 consumed by distance; ownership remains with the caller unless explicitly stated otherwise.

Distance between the two values.