Skip to main content

Module vector

Module vector 

Source
Expand description

Free vectors in 2D and 3D.

A vector has magnitude and direction and is unaffected by translation. See Direction for the unit-length variant, whose invariant the type system enforces, and Point for positions.

Structsยง

Vector
A free vector in space.
Vector2
A free vector in the plane.