]> git.localhorst.tv Git - blank.git/blobdiff - src/model/bounds.hpp
some linting
[blank.git] / src / model / bounds.hpp
index 05f8df16950f20860269b0fe2bccd4626486f543..72ea01f506699c19e5e42fbfb0e351324d7a9601 100644 (file)
@@ -2,31 +2,19 @@
 #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 {
 
-class NullBounds
-: public CollisionBounds {
-
-public:
-       NullBounds();
-
-       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;
-
-};
-
-
 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;