diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-04-16 18:35:55 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-04-16 18:35:55 +0100 |
| commit | 3411448d999ce36b5fcb14ca4829435308cbd70a (patch) | |
| tree | d102c6c3cea107f365328343c7b8d2258e3bf527 /gaunt01/src/player.h | |
| parent | 5c0480c311760f800ccdff4868e8fe0746d8f2b5 (diff) | |
player class
Diffstat (limited to 'gaunt01/src/player.h')
| -rw-r--r-- | gaunt01/src/player.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gaunt01/src/player.h b/gaunt01/src/player.h new file mode 100644 index 0000000..e89c5b8 --- /dev/null +++ b/gaunt01/src/player.h @@ -0,0 +1,24 @@ +#ifndef PLAYER_H
+#define PLAYER_H
+
+#include "ofMain.h"
+#include "ofxOpenCv.h"
+
+class player : public ofTessellator
+{
+ public:
+ player();
+ virtual ~player();
+ void setPosition(ofVec3f _pos);
+ ofVec3f getPosition();
+ void update(ofxCvBlob blob);
+ void draw();
+ protected:
+ private:
+ ofMesh billboard;
+ ofPolyline outline;
+ ofVec3f position;
+
+};
+
+#endif // PLAYER_H
|
