Changeset 3343

Show
Ignore:
Timestamp:
01/31/10 14:35:43 (7 weeks ago)
Author:
Azaezel
Message:

shifts creating the zone into the createScene method

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tutorials/branches/0185_GEN_PHYSICS_REFACTOR_2/Tutorial4/Tutorial4/src/GameClient.cpp

    r3282 r3343  
    254254    Zen::Math::Vector3 minSize(-2000.0f, -4000.0f, -2000.0f); 
    255255    Zen::Math::Vector3 maxSize( 2000.0f,  2000.0f,  2000.0f); 
    256     m_baseGame.getCurrentPhysicsZone()->setZoneSize(minSize, maxSize); 
     256 
     257    // Initialize the first world 
     258 
     259    m_baseGame.setCurrentPhysicsZone(m_baseGame.getPhysicsService()->createZone(minSize, maxSize)); 
    257260 
    258261    // Create the terrain