Tesla Graphics Engine Documentation (January 2012)
Distance Method (a, b)
Tesla
►
Tesla.Math
►
MathUtils
►
Distance(Single, Single)
C#
Computes the absolute value between a and b.
Declaration Syntax
C#
public
static
float
Distance
(
float
a
,
float
b
)
Parameters
a
(
Single
)
First value
b
(
Single
)
Second value
Return Value
Distance between the two
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)