Changeset 183 for trunk/VUT/Ogre
- Timestamp:
- 07/19/05 17:39:30 (20 years ago)
- Location:
- trunk/VUT/Ogre
- Files:
-
- 173 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/Ogre/include/OgreTerrainContentGenerator.h
r161 r183 3 3 4 4 #include "OgreSceneContentGenerator.h" 5 //#include <Ogre.h>6 5 7 6 #define MAX_HEIGHT 5000 // maximal possible height for object position … … 21 20 22 21 protected: 22 23 23 RaySceneQuery *mRaySceneQuery; 24 24 }; 25 25 26 26 /** 27 Th si class used to fill a terrain with content,28 e.g.,it randomly fills a terrain with objects of a specific type.27 This class used to fill a terrain with content, e.g., 28 it randomly fills a terrain with objects of a specific type. 29 29 */ 30 30 class __declspec(dllexport) TerrainContentGenerator: public SceneContentGenerator -
trunk/VUT/Ogre/src/OgrePlatformHierarchyInterface.cpp
r175 r183 98 98 ro.srcRenderable = solidBox; 99 99 mRenderSystem->_render(ro); 100 101 // Render two halfes of the bounding box (using triangle fans)102 /*for(int halfIdx = 0; halfIdx < 2; ++halfIdx)103 {104 solidBox->SetupBoundingBoxVertices(*box, halfIdx == 1);105 106 solidBox->getRenderOperation(ro);107 ro.srcRenderable = solidBox;108 mRenderSystem->_render(ro);109 }*/110 100 } 111 101 //-----------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.