diff options
| author | realtradam <[email protected]> | 2023-06-16 01:18:13 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-06-16 01:18:13 -0400 |
| commit | a47cc44ef7191d03f8ca1b8d4e6b9dd34fba1807 (patch) | |
| tree | f7e358545f5043df20695d0cf51dcf8caa10cb12 /include/rodeo/math.h | |
| parent | 425516a9c53183179c43517f1b6501a790378a05 (diff) | |
| download | RodeoKit-a47cc44ef7191d03f8ca1b8d4e6b9dd34fba1807.tar.gz RodeoKit-a47cc44ef7191d03f8ca1b8d4e6b9dd34fba1807.zip | |
matrix math wrapper as well as various refactors for consistant and cleaner code
Diffstat (limited to 'include/rodeo/math.h')
| -rw-r--r-- | include/rodeo/math.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/rodeo/math.h b/include/rodeo/math.h new file mode 100644 index 0000000..3896fef --- /dev/null +++ b/include/rodeo/math.h @@ -0,0 +1,17 @@ +#pragma once + +// --- internal --- +// public +#include "rodeo/math_t.h" +#include "rodeo/math/vec2.h" +#include "rodeo/math/vec3.h" +#include "rodeo/math/mat4.h" +#include "rodeo/math/rng.h" + +#define mrodeo_math_pi 3.1415927410125732421875f + +float +rodeo_math_radians_to_turns(float radians); + +float +rodeo_math_turns_to_radians(float turns); |
