Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/JungerBoyo/zmath

simple linear algebra library written in zig
https://github.com/JungerBoyo/zmath

linear-algebra-library math zig

Last synced: 3 months ago
JSON representation

simple linear algebra library written in zig

Awesome Lists containing this project

README

        

# zmath
simple linear algebra library written in zig.
## implements
- Vec{2, 3, 4}x{{f, i, u}x{32, 64}}
> dot product, cross product, {+, -, *, /} ops
- Mat{2x2, 3x3, 4x4}x{{f, i, u}x{32, 64}}
> determinant, inverse (without det==0 test), transpose, mul op
- Mat4x4{f32, f64}
> init from unit quaternion, init as rotation from euler angles, projection
- Quaternion{f32, f64}
> mul op, init from 3d vector and angle
- transforms{f32, f64}
> 3d point rotation