Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. @inline def crossProduct(other: Vector3D) = Vector3D(
  2. y * other.z - z * other.y,
  3. z * other.x - x * other.z,
  4. x * other.y - y * other.x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement