mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:44:01 +02:00
parent
2fffb15d94
commit
430c70875d
1 changed files with 7 additions and 1 deletions
|
@ -270,7 +270,13 @@ void deepestLevelVoxelDistributor(AgentList* agentList,
|
|||
long long now = usecTimestampNow();
|
||||
if (agentData->getLastTimeBagEmpty() > 0) {
|
||||
float elapsedSceneSend = (now - agentData->getLastTimeBagEmpty()) / 1000000.0f;
|
||||
printf(" elapsed time to send scene = %f seconds\n", elapsedSceneSend);
|
||||
|
||||
if (viewFrustumChanged) {
|
||||
printf("viewFrustumChanged resetting after elapsed time to send scene = %f seconds", elapsedSceneSend);
|
||||
} else {
|
||||
printf("elapsed time to send scene = %f seconds", elapsedSceneSend);
|
||||
}
|
||||
printf(" [occlusionCulling: %s]\n", debug::valueOf(agentData->getWantOcclusionCulling()));
|
||||
}
|
||||
agentData->setLastTimeBagEmpty(now);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue