Crate mini_math

Source
Expand description

Lightweight math routines for 3D graphics.

Macros§

assert_nearly_eq
Asserts that two expressions are nearly equal to each other (using NearlyEqual).

Structs§

Matrix4
A 4x4 matrix, suitable for 3D transformations.
Point
A point in 3D space.
Vector2
A vector in 2D space.
Vector3
A vector in 3D space.
Vector4
A homogeneous vector in 3D space.

Traits§

NearlyEqual
Compare floating-point values using an epsilon