32 releases (4 breaking)
0.8.1 | May 11, 2023 |
---|---|
0.8.0 | May 11, 2023 |
0.7.25 |
|
0.7.11 | Apr 25, 2023 |
0.1.3 | Jan 22, 2023 |
#1571 in Math
107 downloads per month
7.5MB
4K
SLoC
Maph
Overview
Maph is a personal library I've developed mostly for use with computer graphics, although I ended up including a number of components unrelated to this, mostly for fun! Right now there's three major components.
- maph::geom - a geometry library with generic matrix and vector types as well as implementing Quaternions and Dual Quaternions and several other helper functions for calculating transformations. This also has a quadratic spline type based on a 4x4 spline matrix.
- maph::num - a numerical library that implements its own rational number type, a number of handy factorisaton helper functions and surds, for no real good reason except that I could.
- maph::cg, a short library using bytemuck to easily convert the matrix and vector types from the geometry library into repr(C) useable types for rendering.