diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-04-20 03:36:39 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-04-20 03:36:39 +0100 |
| commit | de766399e2442fbc438123c1c8763e0ae90e6158 (patch) | |
| tree | 1456a1882ead58c9ac99a74c99bde3cd11de7813 /gaunt01/src/bird.h | |
| parent | eaaa8f65e00d6c094206b55c06425715d80aa014 (diff) | |
numerous problems
Diffstat (limited to 'gaunt01/src/bird.h')
| -rw-r--r-- | gaunt01/src/bird.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gaunt01/src/bird.h b/gaunt01/src/bird.h index 026da72..3ab0da9 100644 --- a/gaunt01/src/bird.h +++ b/gaunt01/src/bird.h @@ -42,6 +42,7 @@ #include "morphmesh.h" #include "normBindTexture.h" #include "player.h" +#include "outsidePolygon.h" #include "ofxRay.h" @@ -50,7 +51,7 @@ class bird public: bird(); virtual ~bird(); - void update(map<int,player>& players,float angle); + void update(map<int,player>& players,float angle,vector<ofPoint> border); void draw(); void drawShadow(); void drawDebug(); @@ -60,6 +61,7 @@ class bird ofRay pointer; ofVec3f position; + ofVec2f centrePoint; //2d coords of centre of screen vector<float> playang; vector<float> playhead; @@ -67,6 +69,9 @@ class bird vector<float> playdist; vector<ofVec3f> playpos; + bool leaving; + float centrehead; + float heading; protected: |
