sub method Null safety
- Vector2 arg
Subtract arg
from this.
Implementation
void sub(Vector2 arg) {
final argStorage = arg._v2storage;
_v2storage[0] = _v2storage[0] - argStorage[0];
_v2storage[1] = _v2storage[1] - argStorage[1];
}
Subtract arg
from this.
void sub(Vector2 arg) {
final argStorage = arg._v2storage;
_v2storage[0] = _v2storage[0] - argStorage[0];
_v2storage[1] = _v2storage[1] - argStorage[1];
}