cross method Null safety
- Vector2 other
Cross product.
Implementation
double cross(Vector2 other) {
final otherStorage = other._v2storage;
return _v2storage[0] * otherStorage[1] - _v2storage[1] * otherStorage[0];
}
Cross product.
double cross(Vector2 other) {
final otherStorage = other._v2storage;
return _v2storage[0] * otherStorage[1] - _v2storage[1] * otherStorage[0];
}