mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-15 09:27:43 +02:00
cleaned up compiler warning
This commit is contained in:
parent
de969891d8
commit
cdf72711b5
1 changed files with 0 additions and 1 deletions
|
@ -511,7 +511,6 @@ void VoxelTree::createSphere(float radius, float xc, float yc, float zc, float v
|
||||||
|
|
||||||
// If you also iterate form the interior of the sphere to the radius, making
|
// If you also iterate form the interior of the sphere to the radius, making
|
||||||
// larger and larger spheres you'd end up with a solid sphere. And lots of voxels!
|
// larger and larger spheres you'd end up with a solid sphere. And lots of voxels!
|
||||||
float finalRadius = wantNaturalSurface ? radius : (radius + (voxelSize / 2.0));
|
|
||||||
bool lastLayer = false;
|
bool lastLayer = false;
|
||||||
while (!lastLayer) {
|
while (!lastLayer) {
|
||||||
lastLayer = (thisRadius + (voxelSize * 2.0) >= radius);
|
lastLayer = (thisRadius + (voxelSize * 2.0) >= radius);
|
||||||
|
|
Loading…
Reference in a new issue