]> git.localhorst.tv Git - blank.git/blobdiff - src/model/bounds.hpp
some linting
[blank.git] / src / model / bounds.hpp
index df5f77f66410ef1c43e08701aae15d6883553a3c..72ea01f506699c19e5e42fbfb0e351324d7a9601 100644 (file)
@@ -3,9 +3,9 @@
 
 #include "CollisionBounds.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;