|
Cogs.Core
|
Public Member Functions | |
| TerrainBounds (TerrainComponent *terrain, TerrainData *terrainData) | |
| void | getBounds (Context *context, Cogs::Geometry::BoundingBox &bounds, float &nearPlaneLimit) final |
| void | getBounds (Context *context, Cogs::Geometry::BoundingBox &bounds) final |
| Expand bounds including bounds of all entities in this system in world coordinates. | |
Public Member Functions inherited from Cogs::Core::IGetBounds | |
| virtual void | getBounds (Context *context, Cogs::Geometry::BoundingBox &bounds, float &) |
| virtual void | getBounds (Context *context, Cogs::Geometry::BoundingBox &bounds)=0 |
| Expand bounds including bounds of all entities in this system in world coordinates. | |
| virtual bool | getBounds (Context *, const ComponentModel::Entity *, Cogs::Geometry::BoundingBox &, bool) const |
Private Attributes | |
| TerrainComponent * | terrain |
| TerrainData * | terrainData |
Definition at line 41 of file TerrainSystem.h.
|
inline |
Definition at line 44 of file TerrainSystem.h.
|
inlinefinalvirtual |
Expand bounds including bounds of all entities in this system in world coordinates.
Implements Cogs::Core::IGetBounds.
Definition at line 48 of file TerrainSystem.h.
References getBounds().
Referenced by getBounds().
|
inlinefinalvirtual |
Expand bounds including bounds of all entities in this system in world coordinates.
This function also allows the bounds provided to specify a near-plane limit for the main camera.
Reimplemented from Cogs::Core::IGetBounds.
Definition at line 231 of file TerrainSystem.cpp.
References Cogs::ComponentModel::Component::getComponent(), and Cogs::Core::TransformSystem::getOrigin().
|
private |
Definition at line 51 of file TerrainSystem.h.
|
private |
Definition at line 52 of file TerrainSystem.h.