Changeset 166
- Timestamp:
- Nov 25, 2010, 9:37:04 PM (14 years ago)
- Location:
- experimental/TerrainTest
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/TerrainTest/myTerrainTechnique.h
r165 r166 17 17 ~myTerrainTechnique(void); 18 18 19 /** Traverse the terain subgraph.*/ 20 //virtual void traverse(osg::NodeVisitor& nv); 21 19 22 virtual void update(osgUtil::UpdateVisitor* nv); 20 23 }; -
experimental/TerrainTest/myTileLoadedCallback.cpp
r165 r166 23 23 void myTileLoadedCallback::loaded(osgTerrain::TerrainTile* tile, const osgDB::ReaderWriter::Options* options) const 24 24 { 25 OSG_ALWAYS << "Executing myTileLoadedCallback!" << std::endl;25 //OSG_ALWAYS << "Executing myTileLoadedCallback!" << std::endl; 26 26 tile->setTerrainTechnique( new osgTerrain::myTerrainTechnique() ); 27 _terrain->updateTerrainTileOnNextFrame(tile); 27 28 } 28 29
Note: See TracChangeset
for help on using the changeset viewer.