Vector2.angle

Calculate the angle between two vectors. If the second paramter is true, the return value is converted to degrees. Otherwise, radiant is used.

struct Vector2(T)
const pure nothrow
float
angle
(
ref const Vector2 vec
,
bool degrees = true
)
if (
isNumeric!T
)

Meta