Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5414 in orxonox.OLD for trunk/src/lib/coord/p_node.h


Ignore:
Timestamp:
Oct 21, 2005, 9:45:54 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: new functionality in PNode and Element2D
they now support setAbsCoordSofy*
and setAbsDirSoft*

these functions are used in the new Turret, for smooth iteration, so it does not just snap to place

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/coord/p_node.h

    r5406 r5414  
    8383  void setAbsDir (const Quaternion& absDir);
    8484  void setAbsDir (float x, float y, float z);
     85  void setAbsDirSoft(const Quaternion& absDirSoft, float bias = 1.0);
     86  void setAbsDirSoft(float x, float y, float z, float bias = 1.0);
    8587  /** @returns the absolute Direction */
    8688  inline const Quaternion& getAbsDir () const { return this->absDirection; };
Note: See TracChangeset for help on using the changeset viewer.