Clamp entries this in the range min-max.
min
max
void clampScalar(double min, double max) { _v2storage[0] = _v2storage[0].clamp(min, max).toDouble(); _v2storage[1] = _v2storage[1].clamp(min, max).toDouble(); }