Tesla Graphics Engine Documentation (January 2012)
Distance Method (start, end)
Tesla
►
Tesla.Math
►
Vector3
►
Distance(Vector3, Vector3)
C#
Compute the distance between two vectors.
Declaration Syntax
C#
public
static
float
Distance
(
Vector3
start
,
Vector3
end
)
Parameters
start
(
Vector3
)
First vector
end
(
Vector3
)
Second vector
Return Value
Resulting distance
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)