Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5118 in orxonox.OLD for trunk/src/lib/graphics


Ignore:
Timestamp:
Aug 24, 2005, 2:45:46 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: semi-active buffers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/render2D/element_2d.cc

    r5117 r5118  
    618618
    619619
    620     if( this->parentMode & PNODE_LOCAL_ROTATE && this->bRelDirChanged)
     620    if( this->parentMode & E2D_PARENT_LOCAL_ROTATE && this->bRelDirChanged)
    621621    {
    622622      /* update the current absDirection - remember * means rotation around sth.*/
     
    677677    PRINTF(5)("Element2D::update - (%f, %f, %f)\n", this->absCoordinate.x, this->absCoordinate.y, this->absCoordinate.z);
    678678    if (this->bRelCoorChanged)
     679    {
     680      this->prevRelCoordinate = this->relCoordinate;
    679681      this->absCoordinate = this->relCoordinate;
     682    }
    680683    if (this->bRelDirChanged)
     684    {
     685      this->prevRelDirection = this->relDirection;
    681686      this->absDirection = this->getAbsDir2D() * this->relDirection;
     687    }
    682688  }
    683689
Note: See TracChangeset for help on using the changeset viewer.