Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3401 in orxonox.OLD for orxonox/branches/dave/src/player.h


Ignore:
Timestamp:
Feb 11, 2005, 12:10:00 PM (20 years ago)
Author:
dave
Message:

branches/dave/src:Ok, diesmal ist die Rotation besser gelungen, schoener programmiert und vor allem nur im player.cc und player.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/dave/src/player.h

    r3365 r3401  
    3232  virtual void leftWorld();
    3333 
     34 
    3435 private:
    3536  bool bUp, bDown, bLeft, bRight, bAscend, bDescend;
    3637  bool bFire;
     38 
    3739  Vector velocity;
     40  Vector accelSlip;
     41  Vector accelSlipDirection;
    3842  float travelSpeed;
    3943  float acceleration;
     44  float angle;
    4045  GLuint objectList;
    4146 
    4247  void move(float time);
    43  
     48  void rotate(float time);
     49  void backRotate(float time);
     50  Vector slip (float time,Vector accel);
    4451};
    4552
Note: See TracChangeset for help on using the changeset viewer.