![]() |
TrinityCore
|
#include <WorldModel.h>
Public Member Functions | |
| WorldModel () | |
| void | setGroupModels (std::vector< GroupModel > &models) |
| pass group models to WorldModel and create BIH. Passed vector is swapped with old geometry! More... | |
| void | setRootWmoID (uint32 id) |
| bool | IntersectRay (const G3D::Ray &ray, float &distance, bool stopAtFirstHit) const |
| bool | IntersectPoint (const G3D::Vector3 &p, const G3D::Vector3 &down, float &dist, AreaInfo &info) const |
| bool | GetLocationInfo (const G3D::Vector3 &p, const G3D::Vector3 &down, float &dist, LocationInfo &info) const |
| bool | writeFile (const std::string &filename) |
| bool | readFile (const std::string &filename) |
| void | getGroupModels (std::vector< GroupModel > &outGroupModels) |
Protected Attributes | |
| uint32 | RootWMOID |
| std::vector< GroupModel > | groupModels |
| BIH | groupTree |
Holds a model (converted M2 or WMO) in its original coordinate space
|
inline |
| void VMAP::WorldModel::getGroupModels | ( | std::vector< GroupModel > & | outGroupModels | ) |
Here is the caller graph for this function:| bool VMAP::WorldModel::GetLocationInfo | ( | const G3D::Vector3 & | p, |
| const G3D::Vector3 & | down, | ||
| float & | dist, | ||
| LocationInfo & | info | ||
| ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| bool VMAP::WorldModel::IntersectPoint | ( | const G3D::Vector3 & | p, |
| const G3D::Vector3 & | down, | ||
| float & | dist, | ||
| AreaInfo & | info | ||
| ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| bool VMAP::WorldModel::IntersectRay | ( | const G3D::Ray & | ray, |
| float & | distance, | ||
| bool | stopAtFirstHit | ||
| ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| void VMAP::WorldModel::setGroupModels | ( | std::vector< GroupModel > & | models | ) |
pass group models to WorldModel and create BIH. Passed vector is swapped with old geometry!
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
|
protected |
|
protected |
1.8.8