diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2021-08-20 22:53:57 +0200 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2021-08-20 22:53:57 +0200 |
| commit | 4ea8d2d92af80d64a16b3d20f899b22921aa42d0 (patch) | |
| tree | ff561d6597b32b988bb953b4c9982087aff5bb06 /include/utils.hpp | |
| parent | 63369e10715f4525917bef82b4a6f1074776795f (diff) | |
Use simd for vec3 computations
Diffstat (limited to 'include/utils.hpp')
| -rw-r--r-- | include/utils.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/utils.hpp b/include/utils.hpp index e7178d8..8548a5f 100644 --- a/include/utils.hpp +++ b/include/utils.hpp @@ -9,6 +9,7 @@ std::vector<uint8_t> read_file(const char* path); std::vector<uint8_t> read_file(std::string& path); #define PI 3.14159265359 +#define EPSILON 0.000001 inline float deg_to_rad(float deg) { return deg * PI / 180.0; |
