intravenous

diff src/ship.h @ 3:94d4c60af435

some progress
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 22 Apr 2012 03:35:18 +0300
parents 3ea290d35984
children 2723dc026c4f
line diff
     1.1 --- a/src/ship.h	Sat Apr 21 23:03:36 2012 +0300
     1.2 +++ b/src/ship.h	Sun Apr 22 03:35:18 2012 +0300
     1.3 @@ -8,19 +8,20 @@
     1.4  private:
     1.5  	Vector3 pos, velocity;
     1.6  	Quaternion rot;
     1.7 -	//double theta, phi;
     1.8  	double friction;
     1.9  
    1.10  public:
    1.11  	Ship();
    1.12  
    1.13  	void accelerate(double a);
    1.14 +	void accelerate_side(double a);
    1.15  	void turn(double yaw, double pitch);
    1.16  
    1.17  	void update(time_sec_t dt);
    1.18  
    1.19  	const Vector3 &get_position() const;
    1.20  	Vector3 get_direction() const;
    1.21 +	Vector3 get_right() const;
    1.22  
    1.23  	Matrix4x4 get_matrix() const;
    1.24