mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 16:23:39 +02:00
CR
This commit is contained in:
parent
57e0dadd65
commit
bb4654506a
1 changed files with 3 additions and 1 deletions
|
@ -306,12 +306,14 @@ bool Avatar::shouldDie() const {
|
|||
}
|
||||
|
||||
void Avatar::simulate(float deltaTime, bool inView) {
|
||||
PROFILE_RANGE(simulation, "simulate");
|
||||
|
||||
_simulationRate.increment();
|
||||
if (inView) {
|
||||
_simulationInViewRate.increment();
|
||||
}
|
||||
|
||||
PROFILE_RANGE(simulation, "simulate");
|
||||
|
||||
PerformanceTimer perfTimer("simulate");
|
||||
{
|
||||
PROFILE_RANGE(simulation, "updateJoints");
|
||||
|
|
Loading…
Reference in a new issue