Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3809 in orxonox.OLD for orxonox/trunk/src/lib/coord/null_parent.cc


Ignore:
Timestamp:
Apr 13, 2005, 9:52:34 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: changing pnode interface to const arguments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/coord/null_parent.cc

    r3669 r3809  
    4040   \todo this constructor is not jet implemented - do it
    4141*/
    42 NullParent::NullParent () : PNode (new Vector(0,0,0), NULL)
     42NullParent::NullParent () : PNode (Vector(0,0,0), NULL)
    4343{
    4444  PRINTF(4)("NullParent::NullParent() - making new NullParent, there can only be one..\n");
     
    4949
    5050
    51 NullParent::NullParent (Vector* absCoordinate) : PNode (new Vector(0,0,0), NULL)
     51NullParent::NullParent (const Vector& absCoordinate) : PNode (Vector(0,0,0), NULL)
    5252{
    5353  singletonRef = this;
    5454  this->parent = this;
    5555  this->mode = PNODE_ALL;
    56   *this->absCoordinate = *absCoordinate;
     56  *this->absCoordinate = absCoordinate;
    5757  this->setName("NullParent");
    5858}
Note: See TracChangeset for help on using the changeset viewer.