Showing the changes to interface/src/VoxelSystem.cpp (1 of 5 files). Show all
Unified · Split
| @@ -2347,11 +2347,6 @@ void VoxelSystem::createVoxel(float x, float y, float z, float s, · 2346 unmodified lines | |||
| 2347 | setupNewVoxelsForDrawing(); | 2347 | setupNewVoxelsForDrawing(); |
| 2348 | }; | 2348 | }; |
| 2349 | 2349 | ||
| 2350 | void VoxelSystem::createLine(glm::vec3 point1, glm::vec3 point2, float unitSize, rgbColor color, bool destructive) { | ||
| 2351 | _tree->createLine(point1, point2, unitSize, color, destructive); | ||
| 2352 | setupNewVoxelsForDrawing(); | ||
| 2353 | }; | ||
| 2354 | |||
| 2355 | void VoxelSystem::copySubTreeIntoNewTree(VoxelTreeElement* startNode, VoxelSystem* destination, bool rebaseToRoot) { | 2350 | void VoxelSystem::copySubTreeIntoNewTree(VoxelTreeElement* startNode, VoxelSystem* destination, bool rebaseToRoot) { |
| 2356 | _tree->copySubTreeIntoNewTree(startNode, destination->_tree, rebaseToRoot); | 2351 | _tree->copySubTreeIntoNewTree(startNode, destination->_tree, rebaseToRoot); |
| 2357 | destination->setupNewVoxelsForDrawing(); | 2352 | destination->setupNewVoxelsForDrawing(); |