diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-04-12 21:50:39 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-04-12 21:50:39 +0100 |
| commit | d45a554faaf557b9e9a4b7a43b73b89f03800a96 (patch) | |
| tree | 6825b969ccada08fa638d5f47ac15b5515e1f8ac /gaunt01/src/bird.h | |
| parent | 6ddd691156f1a3a24be9045056db39e78041b8d8 (diff) | |
bird shadow
Diffstat (limited to 'gaunt01/src/bird.h')
| -rw-r--r-- | gaunt01/src/bird.h | 16 |
1 files changed, 10 insertions, 6 deletions
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<ofVec3f>& 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 |
