1 unstable release
0.1.0 | Jun 21, 2024 |
---|
#1706 in Math
32 downloads per month
29KB
933 lines
rgla - Rust Graphical Linear Algebra
I wrote this linear algebra library to familiarize myself with the graphics pipeline. It's quite unoptimized at the moment.
Features
- Mat4: 4x4 Matrices
- Mat3: 3x3 Matrices
- Mat2: 2x2 Matrices
- Vec4: 4D Vectors
- Vec3: 3D Vectors
- Vec2: 2D Vectors
- Rotors
- Bivectors
- Transformations
Novelty
The novelty of this library is that it implements rotors (instead of quaternions) to represent rotation. They do pretty much the same thing and have almost the same interface, but rotors make much more sense to think about.
Credits
Heavily inspired by glam-rs
.