Vector2.scalar

Calculate the scalar product.

struct Vector2(T)
const pure nothrow
float
scalar
(
ref const Vector2 vec
)
if (
isNumeric!T
)

Meta