6 releases
0.0.11 | Jan 4, 2019 |
---|---|
0.0.10 | Jan 4, 2019 |
0.0.6 | Nov 11, 2018 |
0.0.1 | Oct 29, 2018 |
#1349 in Math
27 downloads per month
Used in 2 crates
165KB
4K
SLoC
Oxygen Quark Maths Library
Powered by Rust. A maths library, primarily developed for the Oxygen Engine. Developed by Hampus Avekvist.
How to contribute
Have Rust setup and clone the repository. Start coding and have fun! I would recommend that you check out the list of issues to see what you could fix, and if you don't find anything interesting there, just go and check out the projects instead.
Otherwise, just issue your own bugs and features with the issue tracker. I'll be sure to check them out and tag them accordingly!
How to use
To use the maths library, just append oxygen_quark = "*"
after [dependencies]
in your Cargo.toml
project file. E.g:
[dependencies]
oxygen_quark = "*"
You could also use a specific version to ensure compatibility:
[dependencies]
oxygen_quark = "0.0.1"
After you've done that, just use it like any other extern crate in your rust program.
Implemented
- Fractions
- 2D and 3D Vectors
- 2x2, 3x3 and 4x4 Matrices
- Quaternions
- Complex numbers
To be implemented
- Complex 2x2 Matrix
- Random numbers (based on the rand crate)
- Proper derive macro and more
Dependencies
~2MB
~48K SLoC