History

fix method names for CR feedback

ZappoMan committed 12 years ago

Commit 29bbead1 parent ca3cf6d11 files · +31 −32Browse files

Showing the changes to libraries/entities/src/AddEntityOperator.cpp (1 of 11 files). Show all

Unified · Split

libraries/entities/src/AddEntityOperator.cpp+3−3
@@ -29,7 +29,7 @@ AddEntityOperator::AddEntityOperator(EntityTree* tree, · 28 unmodified lines
29 _newEntityBox = _newEntity->getAACube().clamp(0.0f, 1.0f);29 _newEntityBox = _newEntity->getAACube().clamp(0.0f, 1.0f);
30}30}
31 31
32bool AddEntityOperator::PreRecursion(OctreeElement* element) {32bool AddEntityOperator::preRecursion(OctreeElement* element) {
33 EntityTreeElement* entityTreeElement = static_cast<EntityTreeElement*>(element);33 EntityTreeElement* entityTreeElement = static_cast<EntityTreeElement*>(element);
34 34
35 // In Pre-recursion, we're generally deciding whether or not we want to recurse this35 // In Pre-recursion, we're generally deciding whether or not we want to recurse this
@@ -59,7 +59,7 @@ bool AddEntityOperator::PreRecursion(OctreeElement* element) { · 23 unmodified lines
59 return keepSearching; // if we haven't yet found it, keep looking59 return keepSearching; // if we haven't yet found it, keep looking
60}60}
61 61
62bool AddEntityOperator::PostRecursion(OctreeElement* element) {62bool AddEntityOperator::postRecursion(OctreeElement* element) {
63 // Post-recursion is the unwinding process. For this operation, while we63 // Post-recursion is the unwinding process. For this operation, while we
64 // unwind we want to mark the path as being dirty if we changed it below.64 // unwind we want to mark the path as being dirty if we changed it below.
65 // We might have two paths, one for the old entity and one for the new entity.65 // We might have two paths, one for the old entity and one for the new entity.
@@ -73,7 +73,7 @@ bool AddEntityOperator::PostRecursion(OctreeElement* element) { · 7 unmodified lines
73 return keepSearching; // if we haven't yet found it, keep looking73 return keepSearching; // if we haven't yet found it, keep looking
74}74}
75 75
76OctreeElement* AddEntityOperator::PossiblyCreateChildAt(OctreeElement* element, int childIndex) { 76OctreeElement* AddEntityOperator::possiblyCreateChildAt(OctreeElement* element, int childIndex) {
77 // If we're getting called, it's because there was no child element at this index while recursing.77 // If we're getting called, it's because there was no child element at this index while recursing.
78 // We only care if this happens while still searching for the new entity location.78 // We only care if this happens while still searching for the new entity location.
79 // Check to see if 79 // Check to see if