Safe Haskell | Safe-Infered |
---|

3-dimensional vectors with vector arithmetic.

# Documentation

vcross :: Vector3 -> Vector3 -> Vector3Source

Take the *cross product* of two 3D vectors. This produces a new 3D vector that is perpendicular to the plane of the first two vectors, and who's length is equal to the sine of the angle between those vectors multiplied by their lengths.

Note that `a `vcross` b = negate (b `vcross` a)`

.