Crate gamemath

Source
Expand description

A simple math library containing the most common data structures used for 2D/3D rendering and general game development.

Structsยง

Curve
A heap allocated structure for representing a value curve.
Mat2
A 2x2-component Euclidean matrix useful for linear algebra computation in game development and 2D rendering.
Mat3
A 3x3-component Euclidean matrix useful for linear algebra computation in game development and 2D rendering.
Mat4
A 4x4-component Euclidean matrix useful for linear algebra computation in game development and 3D rendering.
Quat
A quaternion data type used for representing spatial rotation in a 3D environment.
Vec2
A two-component Euclidean vector useful for linear algebra computation in game development and 3D rendering.
Vec3
A three-component Euclidean vector useful for linear algebra computation in game development and 3D rendering.
Vec4
A four-component Euclidean vector useful for linear algebra computation in game development and 3D rendering.