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

API: engine
Project: Inno.Core.Mathematics

public static float Inno.Core.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.