X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmodel%2Fbounds.hpp;h=7177290521bb258311b3763e765c73e9aac8e05c;hb=2920b20a7b5315ea09748ca8899d36a236958c59;hp=05f8df16950f20860269b0fe2bccd4626486f543;hpb=b61d462707dd3d40a32a6104d88eb24f6a52df63;p=blank.git diff --git a/src/model/bounds.hpp b/src/model/bounds.hpp index 05f8df1..7177290 100644 --- a/src/model/bounds.hpp +++ b/src/model/bounds.hpp @@ -2,26 +2,14 @@ #define BLANK_MODEL_BOUNDS_HPP_ #include "CollisionBounds.hpp" -#include "geometry.hpp" +#include "../geometry/primitive.hpp" +#include "../graphics/glm.hpp" #include -#include 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 {