History

Clean up AABox to coding standard, made several methods const - Cleaned up AABox to be consistent with the coding standard - converted some methods to const and fixed up callers

ZappoMan committed 13 years ago

Commit 358efb41 parent e93ece06 files · +82 −83Browse files

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

Unified · Split

interface/src/VoxelSystem.cpp+4−4
@@ -460,12 +460,12 @@ bool VoxelSystem::falseColorizeInViewOperation(VoxelNode* node, bool down, void* · 459 unmodified lines
460 460
461 voxelBox.scale(TREE_SCALE);461 voxelBox.scale(TREE_SCALE);
462 462
463 printf("voxelBox corner=(%f,%f,%f) x=%f y=%f z=%f\n",463 printf("voxelBox corner=(%f,%f,%f) x=%f\n",
464 voxelBox.corner.x, voxelBox.corner.y, voxelBox.corner.z,464 voxelBox.getCorner().x, voxelBox.getCorner().y, voxelBox.getCorner().z,
465 voxelBox.x, voxelBox.y, voxelBox.z);465 voxelBox.getSize().x);
466 466
467 // If the voxel is outside of the view frustum, then false color it red467 // If the voxel is outside of the view frustum, then false color it red
468 if (ViewFrustum::OUTSIDE == viewFrustum->pointInFrustum(voxelBox.corner)) {468 if (ViewFrustum::OUTSIDE == viewFrustum->pointInFrustum(voxelBox.getCorner())) {
469 // Out of view voxels are colored RED469 // Out of view voxels are colored RED
470 unsigned char newR = 255;470 unsigned char newR = 255;
471 unsigned char newG = 0;471 unsigned char newG = 0;