Maintainer | diagrams-discuss@googlegroups.com |
---|---|

Safe Haskell | None |

Three-dimensional vectors.

# Special 2D vectors

# Converting between vectors and angles

direction :: Direction d => R3 -> dSource

`direction v`

is the direction in which `v`

points. Returns an
unspecified value when given the zero vector as input.

fromDirection :: Direction d => d -> R3Source

`fromDirection d`

is the unit vector in the direction `d`

.