X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmodel%2Fbounds.hpp;h=72ea01f506699c19e5e42fbfb0e351324d7a9601;hb=27d34ab291ed6c574432b1331c7ab61172a097d7;hp=3bbb6d798250bb442f84670a38582d51b41751fd;hpb=ba55bf4293f3abc742eef710545a4b207ba2c820;p=blank.git diff --git a/src/model/bounds.hpp b/src/model/bounds.hpp index 3bbb6d7..72ea01f 100644 --- a/src/model/bounds.hpp +++ b/src/model/bounds.hpp @@ -2,10 +2,10 @@ #define BLANK_MODEL_BOUNDS_HPP_ #include "CollisionBounds.hpp" -#include "geometry.hpp" +#include "../geometry/primitive.hpp" +#include "../graphics/glm.hpp" #include -#include namespace blank { @@ -14,7 +14,7 @@ class CuboidBounds : public CollisionBounds { public: - CuboidBounds(const AABB &bounds); + explicit CuboidBounds(const AABB &bounds); bool Intersects(const Ray &, const glm::mat4 &, float &, glm::vec3 &) const noexcept override; bool Intersects(const glm::mat4 &, const AABB &, const glm::mat4 &, float &, glm::vec3 &) const noexcept override;