Ignore:
Timestamp:
06/14/07 17:24:08 (17 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrainApplication.cpp

    r2401 r2455  
    2525 
    2626 
    27 //using namespace GtpVisibility; 
    2827 
    2928/*************************************************************/ 
     
    478477                if (0) generateScene(1000, 2); // create trees 
    479478        } 
    480         int MaxDepth=30; 
    481         mSceneMgr->setOption("BiHierarchyMaxDepth", &MaxDepth); 
    482         int Mode=1; 
    483         mSceneMgr->setOption("EnhancedVisibility", &Mode); 
     479 
     480        int maxDepth = 30; 
     481         
     482        mSceneMgr->setOption("BiHierarchyMaxDepth", &maxDepth); 
     483         
     484        int mode = 1; 
     485         
     486        mSceneMgr->setOption("EnhancedVisibility", &mode); 
    484487        mSceneMgr->setOption("RebuildBiHierarchy", NULL); 
    485488        mSceneMgr->setOption("RebuildKdTree", NULL); 
     
    509512        //-- add animation state for new robots (located at the end of the list) 
    510513         
    511         for (int i = (int)entList->size() - num; i < (int)entList->size(); ++i) 
     514        for (size_t i = entList->size() - (unsigned int)num; i < entList->size(); ++ i) 
    512515        { 
    513516                mEntityStates.push_back(new EntityState((*entList)[i],  
Note: See TracChangeset for help on using the changeset viewer.