History

Removed unused variables.

Andrzej Kapolka committed 13 years ago

Commit 27717bf1 parent 2cc640b2 files · +0 −3Browse files

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

Unified · Split

interface/src/VoxelSystem.cpp+0−2
@@ -256,7 +256,6 @@ void VoxelSystem::copyWrittenDataToReadArraysFullVBOs() { · 255 unmodified lines
256 256
257void VoxelSystem::copyWrittenDataToReadArraysPartialVBOs() {257void VoxelSystem::copyWrittenDataToReadArraysPartialVBOs() {
258 glBufferIndex segmentStart = 0;258 glBufferIndex segmentStart = 0;
259 glBufferIndex segmentEnd = 0;
260 bool inSegment = false;259 bool inSegment = false;
261 for (glBufferIndex i = 0; i < _voxelsInWriteArrays; i++) {260 for (glBufferIndex i = 0; i < _voxelsInWriteArrays; i++) {
262 bool thisVoxelDirty = _writeVoxelDirtyArray[i];261 bool thisVoxelDirty = _writeVoxelDirtyArray[i];
@@ -560,7 +559,6 @@ void VoxelSystem::updateFullVBOs() { · 297 unmodified lines
560 559
561void VoxelSystem::updatePartialVBOs() {560void VoxelSystem::updatePartialVBOs() {
562 glBufferIndex segmentStart = 0;561 glBufferIndex segmentStart = 0;
563 glBufferIndex segmentEnd = 0;
564 bool inSegment = false;562 bool inSegment = false;
565 for (glBufferIndex i = 0; i < _voxelsInReadArrays; i++) {563 for (glBufferIndex i = 0; i < _voxelsInReadArrays; i++) {
566 bool thisVoxelDirty = _readVoxelDirtyArray[i];564 bool thisVoxelDirty = _readVoxelDirtyArray[i];