Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5113 in orxonox.OLD for trunk/src/lib/graphics/render2D/element_2d.h


Ignore:
Timestamp:
Aug 23, 2005, 11:18:39 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk:restoring the trunk…

File:
1 edited

Legend:

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

    r5111 r5113  
    108108    /** @returns the relative position */
    109109    inline const Vector& getRelCoor2D () const { return this->prevRelCoordinate; };
     110    /** @returns the Relative Coordinate Destination */
     111    inline const Vector& getRelCoorSoft2D() const { return (this->toCoordinate)?*this->toCoordinate:this->relCoordinate; };
    110112    const Vector& getRelCoor2Dpx() const;
    111113    void setAbsCoor2D (const Vector& absCoord);
     
    123125    /** @returns the relative Direction */
    124126    inline float getRelDir2D () const { return this->prevRelDirection; };
     127    /** @returns the Relative Directional Destination */
     128    inline float getRelDirSoft2D() const { return (this->toDirection)?*this->toDirection:this->relDirection; };
    125129    void setAbsDir2D (float absDir);
    126130    /** @returns the absolute Direction */
Note: See TracChangeset for help on using the changeset viewer.