X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmodel%2Fbounds.hpp;h=72ea01f506699c19e5e42fbfb0e351324d7a9601;hb=3185bad87c06739e4ec19b456c7158437ba9621f;hp=7177290521bb258311b3763e765c73e9aac8e05c;hpb=b3c37033944671429f8db22c3754caef7add1695;p=blank.git diff --git a/src/model/bounds.hpp b/src/model/bounds.hpp index 7177290..72ea01f 100644 --- a/src/model/bounds.hpp +++ b/src/model/bounds.hpp @@ -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;