Changeset 161 for trunk/VUT/Ogre/include
- Timestamp:
- 07/08/05 17:34:05 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/Ogre/include/OgreTerrainContentGenerator.h
r135 r161 4 4 #include "OgreSceneContentGenerator.h" 5 5 //#include <Ogre.h> 6 7 #define MAX_HEIGHT 5000 // maximal possible height for object position 6 8 7 9 namespace Ogre { … … 23 25 24 26 /** 25 Class which randomly fills a terrain with objects. 27 Thsi class used to fill a terrain with content, 28 e.g., it randomly fills a terrain with objects of a specific type. 26 29 */ 27 30 class __declspec(dllexport) TerrainContentGenerator: public SceneContentGenerator … … 31 34 ~TerrainContentGenerator(); 32 35 33 /** 34 Generates objects and places it on the terrain. 36 /** Generates objects and places it on the terrain. 35 37 */ 36 38 SceneNode *GenerateSceneObject(const Vector3 &position, 37 39 const Vector3 &rotation, const String &objName); 38 /** 39 Generates objects and optionally places it on the terrain. 40 /** Generates objects and optionally places it on the terrain. 40 41 @param clampToTerrain if true, scene object is clamped to the terrain 41 42 */ … … 43 44 const Vector3 &rotation, const String &objName, const bool clampToTerrain); 44 45 45 /** offset which is added to objects when put into the terrain */ 46 /** The offset is added to objects when they are put into the terrain. 47 */ 46 48 void SetOffset(Real offset); 47 48 RayQueryExecutor *GetRayQueryExecutor();49 49 50 50 protected:
Note: See TracChangeset
for help on using the changeset viewer.