Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 9, 2009, 9:23:28 AM (15 years ago)
Author:
rgrieder
Message:

Small changes, optimisations and typos.

Location:
code/branches/presentation2/src/libraries/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/libraries/core/Game.cc

    r6214 r6277  
    178178            this->updateGameStateStack();
    179179
    180             // Core preUpdate (doesn't throw)
     180            // Core preUpdate
    181181            try
    182182                { this->core_->preUpdate(*this->gameClock_); }
     
    192192            this->updateGameStates();
    193193
    194             // Core postUpdate (doesn't throw)
     194            // Core postUpdate
    195195            try
    196196                { this->core_->postUpdate(*this->gameClock_); }
     
    206206            this->updateStatistics();
    207207
    208             // Limit framerate
     208            // Limit frame rate
    209209            this->updateFPSLimiter();
    210210        }
  • code/branches/presentation2/src/libraries/core/OrxonoxClass.cc

    r6121 r6277  
    4949        this->referenceCount_ = 0;
    5050        this->requestedDestruction_ = false;
     51        // Optimisation
     52        this->objectPointers_.reserve(6);
    5153    }
    5254
Note: See TracChangeset for help on using the changeset viewer.