mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 05:58:27 +02:00
fix coding standard issues
This commit is contained in:
parent
d1776cc5da
commit
ce30f1612b
1 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue