fix coding standard issues

This commit is contained in:
ZappoMan 2013-05-22 14:02:49 -07:00
parent d1776cc5da
commit ce30f1612b

View file

@ -577,9 +577,9 @@ int main(int argc, const char * argv[]) {
// color randomization on insert // color randomization on insert
int colorRandomizer = ::wantColorRandomizer ? randIntInRange (-50, 50) : 0; int colorRandomizer = ::wantColorRandomizer ? randIntInRange (-50, 50) : 0;
int red = voxelData[voxelCodeSize+0]; int red = voxelData[voxelCodeSize + 0];
int green = voxelData[voxelCodeSize+1]; int green = voxelData[voxelCodeSize + 1];
int blue = voxelData[voxelCodeSize+2]; int blue = voxelData[voxelCodeSize + 2];
if (::shouldShowAnimationDebug) { if (::shouldShowAnimationDebug) {
printf("insert voxels - wantColorRandomizer=%s old r=%d,g=%d,b=%d \n", printf("insert voxels - wantColorRandomizer=%s old r=%d,g=%d,b=%d \n",
@ -594,9 +594,9 @@ int main(int argc, const char * argv[]) {
printf("insert voxels - wantColorRandomizer=%s NEW r=%d,g=%d,b=%d \n", printf("insert voxels - wantColorRandomizer=%s NEW r=%d,g=%d,b=%d \n",
(::wantColorRandomizer?"yes":"no"),red,green,blue); (::wantColorRandomizer?"yes":"no"),red,green,blue);
} }
voxelData[voxelCodeSize+0]=red; voxelData[voxelCodeSize + 0]=red;
voxelData[voxelCodeSize+1]=green; voxelData[voxelCodeSize + 1]=green;
voxelData[voxelCodeSize+2]=blue; voxelData[voxelCodeSize + 2]=blue;
if (::shouldShowAnimationDebug) { if (::shouldShowAnimationDebug) {
float* vertices = firstVertexForCode(voxelData); float* vertices = firstVertexForCode(voxelData);