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