Changeset 9919 in orxonox.OLD for branches/ODE/src/world_entities/terrain.h
- Timestamp:
- Nov 5, 2006, 9:07:04 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ODE/src/world_entities/terrain.h
r9869 r9919 12 12 13 13 #include "world_entity.h" 14 #include <ode/ode.h> 14 15 15 16 // FORWARD DECLARATION … … 26 27 { 27 28 ObjectListDeclaration(Terrain); 28 29 29 30 public: 30 31 Terrain(const TiXmlElement* root = NULL); … … 32 33 Terrain(DebugTerrain debugTerrain); 33 34 virtual ~Terrain(); 35 36 void go(); 37 void checkCollisionTerrain(WorldEntity* worldEntity); /*!< WorldEntities use this function to check wheter they collided with the BspEntity. 38 If a collision has been detected, the collides-function of worldEntity will be called.*/ 34 39 35 40 void init(); … … 53 58 Model* vegetation; 54 59 int modelList; 55 60 bool loaded; 56 61 HeightMap* heightMap; 57 62 Material* heightMapMaterial; 58 63 Vector terrainScale; 64 unsigned int* Ind; 65 66 dTriMeshDataID ODE_Geometry; //!< ODE Geometry Data of the static model 67 dGeomID ODE_Geom_ID; //!< ID of ODE Geometry Data 68 dWorldID world; 69 dSpaceID space; 70 dJointGroupID contactgroup; 71 dContact contact[300]; 59 72 }; 60 73
Note: See TracChangeset
for help on using the changeset viewer.