mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
CR feedback
This commit is contained in:
parent
c2ebd6fc95
commit
ccd4f5e002
1 changed files with 2 additions and 1 deletions
|
@ -572,7 +572,8 @@ int main(int argc, const char * argv[]) {
|
|||
unsigned char* voxelData = (unsigned char*)&packetData[atByte];
|
||||
while (atByte < receivedBytes) {
|
||||
unsigned char octets = (unsigned char)*voxelData;
|
||||
int voxelDataSize = bytesRequiredForCodeLength(octets)+3; // 3 for color!
|
||||
const int COLOR_SIZE_IN_BYTES = 3;
|
||||
int voxelDataSize = bytesRequiredForCodeLength(octets) + COLOR_SIZE_IN_BYTES;
|
||||
int voxelCodeSize = bytesRequiredForCodeLength(octets);
|
||||
|
||||
// color randomization on insert
|
||||
|
|
Loading…
Reference in a new issue