In order to use it, add this repository to your project
as git submodule
and add this line to your CMakeLists.txt
:
include_directories("nmu/src")
then simply #include <nmu.hpp>
in your code.
Documentation will be available soon.
Name | Tested | Version |
---|---|---|
MSVC | ✅ | 1924 |
g++ | ✅ | 7.5.0 |
clang | ❌ | none |
- Two-dimensional (2D) vectors with all arithmetic types support.
- Three-dimensional (3D) vectors with all arithmetic types support.
- Radians to degrees and degrees to radians conversion.
- Colors (8bit per channel) support with conversions between various notations
- From/to float
- From/To float with alpha
- From/to integer
- To integer with alpha // TODO: Support from conversion
- Math constants.
more soon...
Feel free to contribute and do not hesitate to contact
with me through e-mail: i@thiocod.in
if there are any questions/problems.
Written under MIT License