summaryrefslogtreecommitdiff
path: root/gaunt01/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'gaunt01/src/player.h')
-rw-r--r--gaunt01/src/player.h24
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