From d45a554faaf557b9e9a4b7a43b73b89f03800a96 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Thu, 12 Apr 2012 21:50:39 +0100 Subject: bird shadow --- gaunt01/src/bird.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'gaunt01/src/bird.h') diff --git a/gaunt01/src/bird.h b/gaunt01/src/bird.h index e4b7f65..140a102 100644 --- a/gaunt01/src/bird.h +++ b/gaunt01/src/bird.h @@ -37,23 +37,27 @@ class bird virtual ~bird(); void update(const vector& players); void draw(); + void drawShadow(); + + string currentseq; + morphmesh model; protected: private: ofVec3f position; - ofVec3f heading; + float heading; ofVec3f direction; float velocity; //per second - float turnAngle; //per second - float diveAngle; //per second + float turnRate; //per second + float diveRate; //per second float lastTime; - morphmesh model; + ofImage texture; - - string currentseq; + + }; #endif // BIRD_H -- cgit v1.2.3