Module vector

Source

Structs§

BoolVector2D
A 2d vector of booleans, useful for component-wise logic operations.
BoolVector3D
A 3d vector of booleans, useful for component-wise logic operations.
Vector2D
A 2d Vector tagged with a unit.
Vector3D
A 3d Vector tagged with a unit.

Functions§

bvec2
Shorthand for BoolVector2D { x, y }.
bvec3
Shorthand for BoolVector3D { x, y, z }.
vec2
Convenience constructor.
vec3
Convenience constructor.