zm - Zig math library
- Zig 100%
| examples | ready to merge | |
| src | fix rotationRH | |
| test | fix rotationRH | |
| .gitignore | added example | |
| build.zig | ready to merge | |
| build.zig.zon | fix rotationRH | |
| LICENSE | some fixes and maintenance | |
| README.md | Update README.md | |
zm Logo
zm Logo
zm - Fast math library
zm is a Zig math library. It is fast and easy to use.
Usage
Note
This library is tracking Zig's master branch. Last tested with
0.16.0-dev.2682+02142a54d. It may not compile with newer or older versions.
Run zig fetch --save git+https://github.com/griush/zm on the directory of your build.zig and build.zig.zon.
Then in the build.zig add:
constzm=b.dependency("zm",.{.target=target,.optimize=optimize,});module.addImport("zm",zm.module("zm"));Now, in your code, you can use:
constzm=@import("zm");Example
Demo using the library (incomplete) demo.
Benchmarks
See benchmarks.