small tweak to corner boxes

This commit is contained in:
ZappoMan 2013-05-02 22:38:58 -07:00
parent 2b11cad1ab
commit d7e34d25bf

View file

@ -106,7 +106,7 @@ void addSphereScene(VoxelTree * tree, bool wantColorRandomizer) {
tree->createSphere(radius, 0.025, radius * 5.0f, 0.25, (1.0 / 4096), true, true);
printf("11 spheres added...\n");
float voxelSize = 1.0f/8;
float voxelSize = 0.99f/8;
printf("creating corner points...\n");
tree->createVoxel(0 , 0 , 0 , voxelSize, 255, 255 ,255);
tree->createVoxel(1.0 - voxelSize, 0 , 0 , voxelSize, 255, 0 ,0 );