summaryrefslogtreecommitdiff
path: root/pattern.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-04-07 23:12:59 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-04-07 23:12:59 +0200
commit834a37d1975b5baa609e93839947430d554a7f5f (patch)
tree82595df4dce02056723ef468c7180d16fd8e25d3 /pattern.h
parentc887878893fb596a25cb6ccf1a7eef7b9bfc0543 (diff)
Inter-marker vectors.
Diffstat (limited to 'pattern.h')
-rw-r--r--pattern.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/pattern.h b/pattern.h
index 75c91e3..cc32ebc 100644
--- a/pattern.h
+++ b/pattern.h
@@ -7,15 +7,16 @@
class Pattern {
private:
- int patt_id;
protected:
+ int patt_id;
+
double patt_width;
double patt_center[2];
- double patt_trans_kake[3][4];
+ double patt_trans_kake[4][4];
public:
Pattern(std::string filename);
- void update(ARMarkerInfo* marker_info, int marker_num);
+ virtual void update(ARMarkerInfo* marker_info, int marker_num);
protected:
virtual void draw() = 0;