Click or drag to resize

MathHelperDistance Method

Calculates the absolute value of the difference of two values.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public static float Distance(
	float value1,
	float value2
)

Parameters

value1
Type: SystemSingle
Source value.
value2
Type: SystemSingle
Source value.

Return Value

Type: Single
Distance between the two values.
See Also