Tesla Graphics Engine Documentation (January 2012)
SmallestAngleBetween Method (a, b, angle)
TeslaTesla.MathVector2SmallestAngleBetween(Vector2%, Vector2%, Single%)
Compute the smallest angle between two vectors. Both vectors MUST be normalized.
Declaration Syntax
C#
public static void SmallestAngleBetween(
	ref Vector2 a,
	ref Vector2 b,
	out float angle
)
Parameters
a (Vector2%)
First unit vector
b (Vector2%)
Second unit vector
angle (Single%)
Existing float to hold smallest angle in radians

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)