Changeset 3376 in orxonox.OLD for orxonox/branches/trackManager/src/curve.cc
- Timestamp:
- Jan 8, 2005, 6:32:39 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/trackManager/src/curve.cc
r3375 r3376 94 94 Vector Curve::getNode(unsigned int nodeToFind) 95 95 { 96 if (nodeToFind > this->nodeCount )96 if (nodeToFind > this->nodeCount || nodeToFind < 0) 97 97 return Vector(0,0,0); 98 98 PathNode* tmpNode = this->firstNode;
Note: See TracChangeset
for help on using the changeset viewer.