1 #ifndef BLANK_MODEL_BOUNDS_HPP_
2 #define BLANK_MODEL_BOUNDS_HPP_
4 #include "CollisionBounds.hpp"
5 #include "geometry.hpp"
14 : public CollisionBounds {
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;
26 : public CollisionBounds {
29 CuboidBounds(const AABB &bounds);
31 bool Intersects(const Ray &, const glm::mat4 &, float &, glm::vec3 &) const noexcept override;
32 bool Intersects(const glm::mat4 &, const AABB &, const glm::mat4 &, float &, glm::vec3 &) const noexcept override;
41 : public CollisionBounds {
44 StairBounds(const AABB &bounds, const glm::vec2 &clip);
46 bool Intersects(const Ray &, const glm::mat4 &, float &, glm::vec3 &) const noexcept override;
47 bool Intersects(const glm::mat4 &, const AABB &, const glm::mat4 &, float &, glm::vec3 &) const noexcept override;