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