cross method

Vector3 cross(
  1. Vector3 b
)

Implementation

Vector3 cross(Vector3 b) {
  return Vector3(
    y * b.z - z * b.y,
    z * b.x - x * b.z,
    x * b.y - y * b.x,
  );
}