Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Mar 15, 2005, 12:21:28 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: nicer constructor

File:
1 edited

Legend:

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

    r3551 r3554  
    3636   \todo this constructor is not jet implemented - do it
    3737*/
    38 NullParent::NullParent () : PNode("NullParent")
     38NullParent::NullParent () : PNode (new Vector(0,0,0), NULL)
    3939{
    4040  printf("NullParent::NullParent() - making new NullParent, there can only be one..\n");
     
    4545
    4646
    47 NullParent::NullParent (Vector* absCoordinate) : PNode("NullParent")
     47NullParent::NullParent (Vector* absCoordinate) : PNode (new Vector(0,0,0), NULL)
    4848{
     49  singletonRef = this;
    4950  this->parent = this;
    5051  this->mode = ALL;
Note: See TracChangeset for help on using the changeset viewer.