mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 05:52:31 +02:00
tweak
This commit is contained in:
parent
1767f2b052
commit
e920a6e873
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ void addSphere(VoxelTree * tree,bool random, bool wantColorRandomizer) {
|
||||||
float xc = random ? randFloatInRange(r,(1-r)) : 0.5;
|
float xc = random ? randFloatInRange(r,(1-r)) : 0.5;
|
||||||
float yc = random ? randFloatInRange(r,(1-r)) : 0.5;
|
float yc = random ? randFloatInRange(r,(1-r)) : 0.5;
|
||||||
float zc = random ? randFloatInRange(r,(1-r)) : 0.5;
|
float zc = random ? randFloatInRange(r,(1-r)) : 0.5;
|
||||||
float s = (1.0/32); // size of voxels to make up surface of sphere
|
float s = (1.0/16); // size of voxels to make up surface of sphere
|
||||||
bool solid = true;
|
bool solid = true;
|
||||||
|
|
||||||
printf("adding sphere:");
|
printf("adding sphere:");
|
||||||
|
|
Loading…
Reference in a new issue