scaleOrthogonalInto method Null safety
Rotate this by 90 degrees then scale it. Store result in out
. Return out
.
Implementation
Vector2 scaleOrthogonalInto(double scale, Vector2 out) {
out.setValues(-scale * _v2storage[1], scale * _v2storage[0]);
return out;
}