Showing the changes to interface/src/VoxelSystem.cpp (1 of 2 files). Show all
Unified · Split
| @@ -72,12 +72,12 @@ void VoxelSystem::voxelNodeDeleteHook(VoxelNode* node, void* extraData) { · 71 unmodified lines | ||
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | void VoxelSystem::freeBufferIndex(glBufferIndex index) { |
| 75 | − _freeIdexes.push_back(index); | |
| 75 | + _freeIndexes.push_back(index); | |
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | void VoxelSystem::clearFreeBufferIndexes() { |
| 79 | − for (int i = 0; i < _freeIdexes.size(); i++) { | |
| 80 | − glBufferIndex nodeIndex = _freeIdexes[i]; | |
| 79 | + for (int i = 0; i < _freeIndexes.size(); i++) { | |
| 80 | + glBufferIndex nodeIndex = _freeIndexes[i]; | |
| 81 | 81 | glm::vec3 startVertex(FLT_MAX, FLT_MAX, FLT_MAX); |
| 82 | 82 | float voxelScale = 0; |
| 83 | 83 | _writeVoxelDirtyArray[nodeIndex] = true; |
| @@ -85,7 +85,7 @@ void VoxelSystem::clearFreeBufferIndexes() { · 1 unmodified line | ||
| 85 | 85 | updateNodeInArrays(nodeIndex, startVertex, voxelScale, color); |
| 86 | 86 | _abandonedVBOSlots++; |
| 87 | 87 | } |
| 88 | − _freeIdexes.clear(); | |
| 88 | + _freeIndexes.clear(); | |
| 89 | 89 | } |
| 90 | 90 | |
| 91 | 91 | VoxelSystem::~VoxelSystem() { |