#include <building.h>
Inheritance diagram for lilith3d::BuildingMesh:

A building is automatically pathed and attached to the pather.
Public Member Functions | |
| const grinliz::Rectangle2I & | VertexBounds () const |
| 2D bounding box of the building, in vertex coordinates. | |
| virtual void | IntersectRay (int flags, const grinliz::Vector3F &point, const grinliz::Vector3F &dir, LilithObjectList *vec) |
Protected Member Functions | |
| BuildingMesh (const StaticResource *meshResource, const grinliz::Vector3F &position) | |
Friends | |
| class | lilith3d::TerrainMesh |
| lilith3d::BuildingMesh::BuildingMesh | ( | const StaticResource * | meshResource, | |
| const grinliz::Vector3F & | position | |||
| ) | [protected] |
Building Mesh have many exceptions to the usual Mesh rules. They are constructed by a TerrainMesh factory - TerrainMesh::CreateBuilding()
| virtual void lilith3d::BuildingMesh::IntersectRay | ( | int | flags, | |
| const grinliz::Vector3F & | point, | |||
| const grinliz::Vector3F & | dir, | |||
| LilithObjectList * | vec | |||
| ) | [virtual] |
Check for intersection with the current Mesh.
Reimplemented from lilith3d::StaticMesh.
1.5.1-p1