Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3302 in orxonox.OLD for orxonox/branches/parenting/src/p_node.h


Ignore:
Timestamp:
Dec 27, 2004, 9:31:52 PM (21 years ago)
Author:
patrick
Message:

orxonox/branches/parenting: implemented parenting and added to framework. sill got some problems with how to pass events through the new entity list (now part of the parenting-framework). changed to a more accurate way of coordinat-ing, the openGL coord-orientation. therefore the world is realy strange because it flies into the wrong direction.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/parenting/src/p_node.h

    r3277 r3302  
    2929#define DEFAULT_MODE ALL
    3030
    31 class PNode {
     31class PNode : public BaseObject {
    3232
    3333 public:
     
    4545  Vector getRelCoor ();
    4646  void setRelCoor (Vector* relCoord);
     47  //void setRelCoor (Vector relCoord);
    4748  Vector getAbsCoor ();
    4849  void setAbsCoor (Vector* absCoord);
     50  //void setAbsCoor (Vector absCoord);
    4951  void shiftCoor (Vector* shift);
     52  //void shiftCoor (Vector shift);
    5053
    5154  Quaternion getRelDir ();
     
    6265  void parentDirChanged ();
    6366  void setMode (parentingMode mode);
    64   virtual void update (long timeStamp);
     67
     68  virtual void update (float timeStamp);
     69  void processTick (float dt);
     70  virtual void tick (float dt);
     71
     72  void setName (char* newName);
     73  char* getName ();
     74
    6575
    6676  void debug ();
    6777
    68   long timeStamp;   //! this the timeStamp of when the abs{Coordinat, Direction} has been calculated
     78  float timeStamp;   //! this the timeStamp of when the abs{Coordinat, Direction} has been calculated
     79  char* objectName;
    6980  bool bAbsCoorChanged;
    7081  bool bRelCoorChanged;
Note: See TracChangeset for help on using the changeset viewer.