mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 17:24:24 +02:00
best state for now
This commit is contained in:
parent
e8c2dc10f1
commit
fea5f8b03b
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ void LightClusters::updateClusters() {
|
||||||
std::vector< std::vector< uint32_t > > clusterGrid(_numClusters);
|
std::vector< std::vector< uint32_t > > clusterGrid(_numClusters);
|
||||||
|
|
||||||
_clusterGrid.resize(_numClusters, EMPTY_CLUSTER);
|
_clusterGrid.resize(_numClusters, EMPTY_CLUSTER);
|
||||||
uint32_t maxNumIndices = _clusterContent.size();
|
uint32_t maxNumIndices = (uint32_t) _clusterContent.size();
|
||||||
_clusterContent.resize(maxNumIndices, INVALID_LIGHT);
|
_clusterContent.resize(maxNumIndices, INVALID_LIGHT);
|
||||||
|
|
||||||
auto theFrustumGrid(_frustumGridBuffer.get());
|
auto theFrustumGrid(_frustumGridBuffer.get());
|
||||||
|
|
Loading…
Reference in a new issue