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)
@nogc
float
angle
const pure nothrow
(
const Vector2!(T) vec
,
bool degrees = true
)
if (
isNumeric!(T)
)

Meta