Changeset 5828 in orxonox.OLD for trunk/src/util
- Timestamp:
- Nov 30, 2005, 12:14:15 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/object_manager.cc
r5826 r5828 62 62 list<BaseObject*>::const_iterator node; 63 63 for (node = objectList->begin(); node != objectList->end(); node++) 64 {65 64 if ((dynamic_cast<PNode*>(*node)->getAbsCoor() - center.getAbsCoor()).len() < radius) 66 65 newList->push_back(dynamic_cast<WorldEntity*>(*node)); 67 }68 66 return newList; 69 67 }
Note: See TracChangeset
for help on using the changeset viewer.