From 3411448d999ce36b5fcb14ca4829435308cbd70a Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Mon, 16 Apr 2012 18:35:55 +0100 Subject: player class --- gaunt01/src/player.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 gaunt01/src/player.h (limited to 'gaunt01/src/player.h') 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 -- cgit v1.2.3