X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmodel%2Fbounds.hpp;h=72ea01f506699c19e5e42fbfb0e351324d7a9601;hb=3185bad87c06739e4ec19b456c7158437ba9621f;hp=df5f77f66410ef1c43e08701aae15d6883553a3c;hpb=4fbf5a3c1b0e530706023f5fc4be2f68d30ea645;p=blank.git diff --git a/src/model/bounds.hpp b/src/model/bounds.hpp index df5f77f..72ea01f 100644 --- a/src/model/bounds.hpp +++ b/src/model/bounds.hpp @@ -3,9 +3,9 @@ #include "CollisionBounds.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;