From 2adb0860e80a7fa1ed6979dfeeb9f8e2153063d6 Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Thu, 11 Apr 2013 11:41:55 -0700 Subject: [PATCH] testing --- shared/src/VoxelTree.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/src/VoxelTree.cpp b/shared/src/VoxelTree.cpp index 12eb2e7ba4..cf0d339954 100644 --- a/shared/src/VoxelTree.cpp +++ b/shared/src/VoxelTree.cpp @@ -288,6 +288,7 @@ unsigned char * VoxelTree::loadBitstreamBuffer(unsigned char *& bitstreamBuffer, // XXXBHG - Note: It appears as if the X and Z coordinates of Head or Agent are flip-flopped relative to the // coords of the voxel space. This flip flop causes LOD behavior to be extremely odd. This is my temporary hack // to fix this behavior. To disable this swap, set swapXandZ to false. + // XXXBHG - 2013/04/11 - adding a note to my branch, I think this code is now broken. bool swapXandZ=true; float agentX = swapXandZ ? agentPosition[2] : agentPosition[0]; float agentZ = swapXandZ ? agentPosition[0] : agentPosition[2];