Showing the changes to interface/src/VoxelSystem.cpp (1 of 11 files). Show all
Unified · Split
| @@ -114,7 +114,7 @@ float VoxelSystem::getVoxelsBytesReadPerSecondAverage() { · 113 unmodified lines | |||
| 114 | } | 114 | } |
| 115 | 115 | ||
| 116 | 116 | ||
| 117 | void VoxelSystem::parseData(unsigned char* sourceBuffer, int numBytes) { | 117 | int VoxelSystem::parseData(unsigned char* sourceBuffer, int numBytes) { |
| 118 | 118 | ||
| 119 | unsigned char command = *sourceBuffer; | 119 | unsigned char command = *sourceBuffer; |
| 120 | unsigned char *voxelData = sourceBuffer + 1; | 120 | unsigned char *voxelData = sourceBuffer + 1; |
| @@ -154,6 +154,7 @@ void VoxelSystem::parseData(unsigned char* sourceBuffer, int numBytes) { · 33 unmodified lines | |||
| 154 | } | 154 | } |
| 155 | 155 | ||
| 156 | setupNewVoxelsForDrawing(); | 156 | setupNewVoxelsForDrawing(); |
| 157 | return numBytes; | ||
| 157 | } | 158 | } |
| 158 | 159 | ||
| 159 | void VoxelSystem::setupNewVoxelsForDrawing() { | 160 | void VoxelSystem::setupNewVoxelsForDrawing() { |