Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Mar 20, 2005, 10:38:59 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: stdincl was still included everywhere. removed it out of the stdincl.h file to enable the possibility of compile-speedup. added some testclasses for vector/quaternion.

File:
1 edited

Legend:

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

    r3591 r3607  
    1919
    2020#include "null_parent.h"
     21#include "stdincl.h"
    2122
    2223
     
    5152  this->parent = this;
    5253  this->mode = PNODE_ALL;
    53   this->absCoordinate = *absCoordinate;
     54  *this->absCoordinate = *absCoordinate;
    5455  this->setName("NullParent");
    5556}
     
    7778{
    7879
    79   PRINTF(4)("NullParent::update - (%f, %f, %f)\n", this->absCoordinate.x, this->absCoordinate.y, this->absCoordinate.z);
    80   this->absCoordinate = this->relCoordinate;
    81   this->absDirection = parent->getAbsDir () * this->relDirection;
     80  PRINTF(4)("NullParent::update - (%f, %f, %f)\n", this->absCoordinate->x, this->absCoordinate->y, this->absCoordinate->z);
     81  *this->absCoordinate = *this->relCoordinate;
     82  *this->absDirection = parent->getAbsDir () * *this->relDirection;
    8283 
    8384  PNode* pn = this->children->enumerate ();
Note: See TracChangeset for help on using the changeset viewer.