1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef SHARED_MOVEMENT_STRUCT_HH_ #define SHARED_MOVEMENT_STRUCT_HH_ #include "glm/glm.hpp" namespace shared { namespace movement { constexpr float EPSILON = 0.0001f; // counteract arithmetic errors constexpr float EPSILON2 = EPSILON + 2 * EPSILON * EPSILON; struct aabb { glm::vec3 min; glm::vec3 max; }; } // namespace movement } // namespace shared #endif