- Timestamp:
- Oct 19, 2008, 10:03:40 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/script_trigger/src/orxonox/objects/DistanceTrigger.cc
r1906 r1954 94 94 Vector3 distanceVec = it->getNode()->getWorldPosition() - this->getNode()->getWorldPosition(); 95 95 if (distanceVec.length() < this->distance_) 96 { 96 97 return true; 98 } 97 99 } 98 100 }
Note: See TracChangeset
for help on using the changeset viewer.