Vector.snap

Snaps vector values

struct Vector(T, size_t N)
static if(isFloatingPoint!T)
void
snap
if (
isNumeric!T &&
N > 0
)

Parameters

p_step VecType

Vector to snap to

Meta