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