Tesla Graphics Engine Documentation (January 2012)
SmallestAngleBetween Method (a, b, angle)
Tesla
►
Tesla.Math
►
Vector3
►
SmallestAngleBetween(Vector3
%
, Vector3
%
, Single
%
)
C#
Get the smallest angle between two vectors. Both vectors MUST be normalized.
Declaration Syntax
C#
public
static
void
SmallestAngleBetween
(
ref
Vector3
a
,
ref
Vector3
b
,
out
float
angle
)
Parameters
a
(
Vector3
%
)
First unit vector
b
(
Vector3
%
)
Second unit vector
angle
(
Single
%
)
Existing float to hold resulting angle
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)