Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3811 in orxonox.OLD for orxonox/trunk/src/lib/coord


Ignore:
Timestamp:
Apr 13, 2005, 10:48:49 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: finished work on pnode interface

Location:
orxonox/trunk/src/lib/coord
Files:
2 edited

Legend:

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

    r3810 r3811  
    217217
    218218*/
     219/*
    219220void PNode::shiftCoor (Vector* shift)
    220221{
    221 
    222222  __UNLIKELY_IF( this->bAbsCoorChanged)
    223223    {
     
    230230    }
    231231}
    232 
     232*/
    233233
    234234
     
    492492   \return the mode of the bind-type.
    493493*/
    494 int PNode::getMode()
     494int PNode::getMode() const
    495495{
    496496  return this->mode;
    497497}
     498
    498499
    499500/**
  • orxonox/trunk/src/lib/coord/p_node.h

    r3810 r3811  
    6161  inline Vector getAbsCoor () const { return *this->absCoordinate; }
    6262  void setAbsCoor (const Vector& absCoord);
    63   void shiftCoor (Vector* shift);
    6463  void shiftCoor (const Vector& shift);
    6564
    6665  inline Quaternion getRelDir () const { return *this->relDirection; }
    67   //void setRelDir (Quaternion* relDir);
    6866  void setRelDir (const Quaternion& relDir);
    6967  inline Quaternion getAbsDir () const { return *this->absDirection; }
    70   //void setAbsDir (Quaternion* absDir);
    7168  void setAbsDir (const Quaternion& absDir);
    72   //void shiftDir (Quaternion* shift);
    7369  void shiftDir (const Quaternion& shift);
    7470
     
    8480  void parentDirChanged ();
    8581  void setMode (int parentingMode);
    86   int getMode();
     82  int getMode() const;
    8783
    8884  virtual void update (float dt);
Note: See TracChangeset for help on using the changeset viewer.