floor

Floors the vector down.

@safe nothrow pure
inout(Vector!T)
floor
(
T
)
(
inout(Vector!T) vec
)

Parameters

vec inout(Vector!T)

Floored vector.

Examples

assert(vecf(32.5, 32.5) == vecf(32, 32));

Meta