History

removed voxel addSphere since it wasn't compiling and was old debug code

Brad Hefta-Gaub committed 12 years ago

Commit 26adabf1 parent ef60aec7 files · +48 −236Browse files

Showing the changes to interface/src/VoxelSystem.cpp (1 of 7 files). Show all

Unified · Split

interface/src/VoxelSystem.cpp+0−6
@@ -2392,12 +2392,6 @@ void VoxelSystem::createLine(glm::vec3 point1, glm::vec3 point2, float unitSize, · 2391 unmodified lines
2392 setupNewVoxelsForDrawing();2392 setupNewVoxelsForDrawing();
2393};2393};
2394 2394
2395void VoxelSystem::createSphere(float r,float xc, float yc, float zc, float s, bool solid,
2396 creationMode mode, bool destructive, bool debug) {
2397 _tree->createSphere(r, xc, yc, zc, s, solid, mode, destructive, debug);
2398 setupNewVoxelsForDrawing();
2399};
2400
2401void VoxelSystem::copySubTreeIntoNewTree(VoxelTreeElement* startNode, VoxelSystem* destination, bool rebaseToRoot) {2395void VoxelSystem::copySubTreeIntoNewTree(VoxelTreeElement* startNode, VoxelSystem* destination, bool rebaseToRoot) {
2402 _tree->copySubTreeIntoNewTree(startNode, destination->_tree, rebaseToRoot);2396 _tree->copySubTreeIntoNewTree(startNode, destination->_tree, rebaseToRoot);
2403 destination->setupNewVoxelsForDrawing();2397 destination->setupNewVoxelsForDrawing();