Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3376 in orxonox.OLD for orxonox/branches/trackManager/src/curve.cc


Ignore:
Timestamp:
Jan 8, 2005, 6:32:39 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/trackManager: c2-continuity-patch (mathematically correct, but does not look to good.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/trackManager/src/curve.cc

    r3375 r3376  
    9494Vector Curve::getNode(unsigned int nodeToFind)
    9595{
    96   if (nodeToFind > this->nodeCount)
     96  if (nodeToFind > this->nodeCount || nodeToFind < 0)
    9797    return Vector(0,0,0);
    9898  PathNode* tmpNode = this->firstNode;
Note: See TracChangeset for help on using the changeset viewer.