setFrom method
Set the values by copying them from other
.
Implementation
void setFrom(Vector2 other) {
final Float32List otherStorage = other._v2storage;
_v2storage[1] = otherStorage[1];
_v2storage[0] = otherStorage[0];
}
Set the values by copying them from other
.
void setFrom(Vector2 other) {
final Float32List otherStorage = other._v2storage;
_v2storage[1] = otherStorage[1];
_v2storage[0] = otherStorage[0];
}