summaryrefslogtreecommitdiff
path: root/gaunt01/src/bird.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2012-06-22 17:10:17 +0100
committerTim Redfern <tim@eclectronics.org>2012-06-22 17:10:17 +0100
commit8e22cdc4203dc04e7fdfdd607f27c6b2a61f458b (patch)
treec9c22ec106d20c6b13d2d184f141a2a3774c9ca1 /gaunt01/src/bird.h
parent5606e9f56d1333c32fd711a74f372669948bae8d (diff)
usable version
Diffstat (limited to 'gaunt01/src/bird.h')
-rw-r--r--gaunt01/src/bird.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/gaunt01/src/bird.h b/gaunt01/src/bird.h
index fdaf915..ba8f2cd 100644
--- a/gaunt01/src/bird.h
+++ b/gaunt01/src/bird.h
@@ -70,9 +70,10 @@ class bird
int state;
morphmesh model;
+ ofPlane* bounds;
+ ofVec2f centre;
ofRay pointer;
ofVec3f position;
- ofVec2f centrePoint; //2d coords of centre of screen
ofVec3f edgepoint; //point where the bird will hit the edge of the screen
float edgelength,edgeangle;
@@ -83,9 +84,6 @@ class bird
vector<float> playdist;
vector<ofVec3f> playpos;
- ofPlane* bounds;
- ofVec2f centre;
-
bool leaving;
float centrehead;
@@ -109,7 +107,7 @@ class bird
float lastTime;
ofSoundPlayer* aggressives;
- ofSoundPlayer* chirps;
+ ofSoundPlayer* whistles;
ofSoundPlayer* rattles;
ofImage texture;