1 #ifndef BLANK_MODEL_BOUNDS_HPP_
2 #define BLANK_MODEL_BOUNDS_HPP_
4 #include "CollisionBounds.hpp"
5 #include "../geometry/primitive.hpp"
6 #include "../graphics/glm.hpp"
14 : public CollisionBounds {
17 explicit CuboidBounds(const AABB &bounds);
19 bool Intersects(const Ray &, const glm::mat4 &, float &, glm::vec3 &) const noexcept override;
20 bool Intersects(const glm::mat4 &, const AABB &, const glm::mat4 &, float &, glm::vec3 &) const noexcept override;
29 : public CollisionBounds {
32 StairBounds(const AABB &bounds, const glm::vec2 &clip);
34 bool Intersects(const Ray &, const glm::mat4 &, float &, glm::vec3 &) const noexcept override;
35 bool Intersects(const glm::mat4 &, const AABB &, const glm::mat4 &, float &, glm::vec3 &) const noexcept override;