mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 12:17:45 +02:00
style clenaup
This commit is contained in:
parent
1c4163b010
commit
adf0feed29
1 changed files with 3 additions and 3 deletions
|
@ -56,9 +56,9 @@ void VoxelServerPacketProcessor::processPacket(sockaddr& senderAddress, unsigned
|
||||||
|
|
||||||
if (atByte + voxelDataSize <= packetLength) {
|
if (atByte + voxelDataSize <= packetLength) {
|
||||||
if (_myServer->wantShowAnimationDebug()) {
|
if (_myServer->wantShowAnimationDebug()) {
|
||||||
int red = voxelData[voxelCodeSize + 0];
|
int red = voxelData[voxelCodeSize + RED_INDEX];
|
||||||
int green = voxelData[voxelCodeSize + 1];
|
int green = voxelData[voxelCodeSize + GREEN_INDEX];
|
||||||
int blue = voxelData[voxelCodeSize + 2];
|
int blue = voxelData[voxelCodeSize + BLUE_INDEX];
|
||||||
|
|
||||||
float* vertices = firstVertexForCode(voxelData);
|
float* vertices = firstVertexForCode(voxelData);
|
||||||
printf("inserting voxel: %f,%f,%f r=%d,g=%d,b=%d\n", vertices[0], vertices[1], vertices[2], red, green, blue);
|
printf("inserting voxel: %f,%f,%f r=%d,g=%d,b=%d\n", vertices[0], vertices[1], vertices[2], red, green, blue);
|
||||||
|
|
Loading…
Reference in a new issue