Showing the changes to interface/src/VoxelSystem.cpp (1 of 6 files). Show all
Unified · Split
| @@ -185,7 +185,7 @@ int VoxelSystem::treeToArrays(VoxelNode *currentNode, const glm::vec3& nodePosi · 184 unmodified lines | ||
| 185 | 185 | int voxelsAdded = 0; |
| 186 | 186 | |
| 187 | 187 | float halfUnitForVoxel = powf(0.5, *currentNode->octalCode) * (0.5 * TREE_SCALE); |
| 188 | − glm::vec3 viewerPosition = viewerHead->getBodyPosition(); | |
| 188 | + glm::vec3 viewerPosition = viewerHead->getPosition(); | |
| 189 | 189 | |
| 190 | 190 | // debug LOD code |
| 191 | 191 | glm::vec3 debugNodePosition; |