History

CR cleanup

ZappoMan committed 13 years ago

Commit ed30a031 parent ad67c361 file · +2 −2Browse files

Showing the changes to interface/src/VoxelSystem.cpp (1 of 1 file). Show all

Unified · Split

interface/src/VoxelSystem.cpp+2−2
@@ -139,14 +139,14 @@ void VoxelSystem::setupNewVoxelsForDrawing() { · 138 unmodified lines
139139 double start = usecTimestampNow();
140140 double sinceLastTime = (start - _setupNewVoxelsForDrawingLastFinished) / 1000.0;
141141
142− if (sinceLastTime <= std::max(_setupNewVoxelsForDrawingLastElapsed,SIXTY_FPS_IN_MILLISECONDS)) {
142+ if (sinceLastTime <= std::max(_setupNewVoxelsForDrawingLastElapsed, SIXTY_FPS_IN_MILLISECONDS)) {
143143 return; // bail early, it hasn't been long enough since the last time we ran
144144 }
145145
146146 double sinceLastViewCulling = (start - _lastViewCulling) / 1000.0;
147147
148148 // If the view frustum has changed, since last time, then remove nodes that are out of view
149− if ((sinceLastViewCulling >= std::max(_lastViewCullingElapsed,VIEW_CULLING_RATE_IN_MILLISECONDS)) && hasViewChanged()) {
149+ if ((sinceLastViewCulling >= std::max(_lastViewCullingElapsed, VIEW_CULLING_RATE_IN_MILLISECONDS)) && hasViewChanged()) {
150150 _lastViewCulling = start;
151151 removeOutOfView();
152152 double endViewCulling = usecTimestampNow();