]> git.localhorst.tv Git - blank.git/blobdiff - src/model/bounds.hpp
git is a "runtime" dependency
[blank.git] / src / model / bounds.hpp
index 3bbb6d798250bb442f84670a38582d51b41751fd..72ea01f506699c19e5e42fbfb0e351324d7a9601 100644 (file)
@@ -2,10 +2,10 @@
 #define BLANK_MODEL_BOUNDS_HPP_
 
 #include "CollisionBounds.hpp"
-#include "geometry.hpp"
+#include "../geometry/primitive.hpp"
+#include "../graphics/glm.hpp"
 
 #include <vector>
-#include <glm/glm.hpp>
 
 
 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;