|
Rehti MMORPG
1.0.0
Rehti MMORPG is a free and open source MMORPG game.
|
Axis Aligned Bounding Box data structure. More...
#include <AABB.hpp>

Public Member Functions | |
| AABB (glm::vec3 min=glm::vec3(0.f), glm::vec3 max=glm::vec3(0.f), std::unique_ptr< AABB > pLeft=nullptr, std::unique_ptr< AABB > pRight=nullptr) | |
| AABB (AABB &other) | |
| AABB & | operator= (AABB &other) |
| bool | isLeaf () const |
| glm::vec3 | getCenter () const |
Public Attributes | |
| glm::vec3 | min |
| glm::vec3 | max |
| std::unique_ptr< AABB > | pLeft |
| std::unique_ptr< AABB > | pRight |
Axis Aligned Bounding Box data structure.
| AABB::AABB | ( | glm::vec3 | min = glm::vec3(0.f), |
| glm::vec3 | max = glm::vec3(0.f), |
||
| std::unique_ptr< AABB > | pLeft = nullptr, |
||
| std::unique_ptr< AABB > | pRight = nullptr |
||
| ) |
| AABB::AABB | ( | AABB & | other | ) |
| glm::vec3 AABB::getCenter | ( | ) | const |
| bool AABB::isLeaf | ( | ) | const |

| glm::vec3 AABB::max |
| glm::vec3 AABB::min |
| std::unique_ptr<AABB> AABB::pLeft |
| std::unique_ptr<AABB> AABB::pRight |