summaryrefslogtreecommitdiff
path: root/pattern.h
diff options
context:
space:
mode:
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;