Module vector

Source
Expand description

Provides 2D, 3D, and 4D vector types and their associated operations.

Structsยง

Vec2
A 2-dimensional vector with f32 components.
Vec3
A 3-dimensional vector with f32 components.
Vec4
A 4-dimensional vector with f32 components, often used for homogeneous coordinates.