Changeset 5118 in orxonox.OLD for trunk/src/lib/graphics/render2D
- Timestamp:
- Aug 24, 2005, 2:45:46 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/render2D/element_2d.cc
r5117 r5118 618 618 619 619 620 if( this->parentMode & PNODE_LOCAL_ROTATE && this->bRelDirChanged)620 if( this->parentMode & E2D_PARENT_LOCAL_ROTATE && this->bRelDirChanged) 621 621 { 622 622 /* update the current absDirection - remember * means rotation around sth.*/ … … 677 677 PRINTF(5)("Element2D::update - (%f, %f, %f)\n", this->absCoordinate.x, this->absCoordinate.y, this->absCoordinate.z); 678 678 if (this->bRelCoorChanged) 679 { 680 this->prevRelCoordinate = this->relCoordinate; 679 681 this->absCoordinate = this->relCoordinate; 682 } 680 683 if (this->bRelDirChanged) 684 { 685 this->prevRelDirection = this->relDirection; 681 686 this->absDirection = this->getAbsDir2D() * this->relDirection; 687 } 682 688 } 683 689
Note: See TracChangeset
for help on using the changeset viewer.