A Rust crate for 3D vector math, quaternions, geometry, complex numbers, and angles. Built for simplicity and correctness over raw performance. Optimizations are planned. Python bindings are also available for much of the library.
f64precision- Many matrix operations are zero copy and generic
vec3d: 3D vector operationsquat: Quaternion operationsmatrix: Matrix operationscomplex: A complex valued matrixgeneric: Generic 2d matrx of any size or typereal: A real valued matrix
geometry: Geometry operationscircle,plane,sphere: Geometry primitivesintersection: Calculate intersections between geometry objects
complex: Complex numbersangle: Angles in degrees and radians
std: standard library support across all active dependencies (default)all-nostd: all crate features excludingstdall: all crate featuresmatrix: matrix multiplicaiton and other operations, still missing a lot of featuresrand: Random generation of types (default)nalgebra: interop withnalgebratypesglam: interop withglamtypesrkyv: zero-copy serializationserde: serialization/deserialization
Unless any features are enabled only libm, thiserror, and rand are depended on.
GPL-3.0-only See LICENSE for details