mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 05:52:38 +02:00
init commit
This commit is contained in:
parent
b5ad0b4752
commit
72da2bc7e5
1 changed files with 6 additions and 1 deletions
|
@ -127,7 +127,12 @@ void PickManager::update() {
|
|||
_updatedPickCounts[PickQuery::Stylus] = _stylusPickCacheOptimizer.update(cachedPicks[PickQuery::Stylus], _nextPickToUpdate[PickQuery::Stylus], expiry, false);
|
||||
}
|
||||
{
|
||||
PROFILE_RANGE(picks, "RayPicks");
|
||||
int count = 0;
|
||||
for (int i = 0; i < 4; i++) {
|
||||
count += _totalPickCounts[i];
|
||||
}
|
||||
|
||||
PROFILE_RANGE_EX(picks, "RayPicks", 0xffff0000, (uint64_t)count);
|
||||
PerformanceTimer perfTimer("RayPicks");
|
||||
_updatedPickCounts[PickQuery::Ray] = _rayPickCacheOptimizer.update(cachedPicks[PickQuery::Ray], _nextPickToUpdate[PickQuery::Ray], expiry, shouldPickHUD);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue