cross2A function Null safety
2D cross product. double x vec2.
Implementation
void cross2A(double x, Vector2 y, Vector2 out) {
final tempy = x * y.x;
out
..x = -x * y.y
..y = tempy;
}
2D cross product. double x vec2.
void cross2A(double x, Vector2 y, Vector2 out) {
final tempy = x * y.x;
out
..x = -x * y.y
..y = tempy;
}