|
Rehti MMORPG
1.0.0
Rehti MMORPG is a free and open source MMORPG game.
|

Functions | |
| glm::vec3 | minVector (const glm::vec3 &a, const glm::vec3 &b) |
| Constructs a minimum vector from two vectors. More... | |
| glm::vec3 | maxVector (const glm::vec3 &a, const glm::vec3 &b) |
| Constructs a maximum vector from two vectors. More... | |
| std::vector< std::unique_ptr< AABB > > | createMapAABB (const MapAABBData &input) |
| Creates a list of AABBs trees for each area in the areaMatrix. More... | |
| std::unique_ptr< AABB > | createAreaAABB (AABB *aabb, const int x, const int y, const int xsize, const int ysize, const MapAABBData &input, bool burgerFlip) |
| Recursively creates an AABB tree for a single area. More... | |
| std::unique_ptr<AABB> createAreaAABB | ( | AABB * | aabb, |
| const int | x, | ||
| const int | y, | ||
| const int | xsize, | ||
| const int | ysize, | ||
| const MapAABBData & | input, | ||
| bool | burgerFlip | ||
| ) |
Recursively creates an AABB tree for a single area.
| aabb | The parent AABB. If this is the root AABB, then this is nullptr. |
| x | The min x coordinate of the area. |
| y | The min y coordinate of the area. |
| xsize | The width of the area. |
| ysize | The height of the area. |
| input | The input data for the AABB tree. |
| burgerFlip | Used to change the direction during recursion. |


| std::vector<std::unique_ptr<AABB> > createMapAABB | ( | const MapAABBData & | input | ) |
Creates a list of AABBs trees for each area in the areaMatrix.


| glm::vec3 maxVector | ( | const glm::vec3 & | a, |
| const glm::vec3 & | b | ||
| ) |
Constructs a maximum vector from two vectors.
| a | vector a |
| b | vector b |

| glm::vec3 minVector | ( | const glm::vec3 & | a, |
| const glm::vec3 & | b | ||
| ) |
Constructs a minimum vector from two vectors.
| a | vector a |
| b | vector b |
