From 8f5e5e51b4a77593554a1fc4ace7dd951365559a Mon Sep 17 00:00:00 2001 From: David Williams Date: Wed, 5 Mar 2008 21:16:48 +0000 Subject: [PATCH] Got a box bouncing around the scene. --- source/PolyVoxSceneManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/PolyVoxSceneManager.cpp b/source/PolyVoxSceneManager.cpp index 1cee69ff..d3d71586 100644 --- a/source/PolyVoxSceneManager.cpp +++ b/source/PolyVoxSceneManager.cpp @@ -57,10 +57,10 @@ namespace PolyVox //for(uint16_t regionZ = 6; regionZ < 7; ++regionZ) { for(uint16_t regionY = 0; regionY < POLYVOX_VOLUME_SIDE_LENGTH_IN_REGIONS; ++regionY) - //for(uint16_t regionY = POLYVOX_VOLUME_SIDE_LENGTH_IN_REGIONS/2; regionY < POLYVOX_VOLUME_SIDE_LENGTH_IN_REGIONS/2+1; ++regionY) + //for(uint16_t regionY = 6; regionY < POLYVOX_VOLUME_SIDE_LENGTH_IN_REGIONS-6; ++regionY) { for(uint16_t regionX = 0; regionX < POLYVOX_VOLUME_SIDE_LENGTH_IN_REGIONS; ++regionX) - //for(uint16_t regionX = POLYVOX_VOLUME_SIDE_LENGTH_IN_REGIONS/2; regionX < POLYVOX_VOLUME_SIDE_LENGTH_IN_REGIONS/2+1; ++regionX) + //for(uint16_t regionX = 3; regionX < POLYVOX_VOLUME_SIDE_LENGTH_IN_REGIONS-8; ++regionX) { if(surfaceUpToDate[regionX][regionY][regionZ] == false) {