pointDirection

Returns the angle between two vectors in radians.

@safe nothrow pure
T
pointDirection
(
T
)

Parameters

a Vector!T

First point.

b Vector!T

Second point.

Return Value

Type: T

Angle in radians.

To convert, for example, to degrees, use the function like this:

pointDirection(...).from!(Radians,Degrees);

Meta