tweak to shpere

This commit is contained in:
ZappoMan 2013-03-29 08:24:08 -07:00
parent c6a667af61
commit e580369a93

View file

@ -52,7 +52,7 @@ void addSphere(VoxelTree * tree,bool random, bool wantColorRandomizer) {
float xc = 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 s = (1.0/256); // size of voxels to make up surface of sphere
float s = (1.0/32); // size of voxels to make up surface of sphere
bool solid = true;
printf("adding sphere:");