diff options
author | Marius Kintel <marius@kintel.net> | 2011-08-05 00:11:20 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-08-05 00:11:20 (GMT) |
commit | 80e526880a0b44361fe6793ac740a19e65df44b2 (patch) | |
tree | b2b209f24e5e8d582ea52e0d3edccb011d3b578a /src/csgterm.h | |
parent | a586a9650386abeb6588ee8216e9fb9659a8c56d (diff) |
Started on getBoundingBox functionality, refactored some vector code as part of this initiative
Diffstat (limited to 'src/csgterm.h')
-rw-r--r-- | src/csgterm.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/csgterm.h b/src/csgterm.h index 4ee6faa..c1dc0fd 100644 --- a/src/csgterm.h +++ b/src/csgterm.h @@ -3,6 +3,7 @@ #include <QString> #include <QVector> +#include "polyset.h" class CSGTerm { @@ -15,7 +16,7 @@ public: }; type_e type; - class PolySet *polyset; + PolySet *polyset; QString label; CSGTerm *left; CSGTerm *right; @@ -46,6 +47,8 @@ public: void add(PolySet *polyset, double *m, CSGTerm::type_e type, QString label); void import(CSGTerm *term, CSGTerm::type_e type = CSGTerm::TYPE_UNION); QString dump(); + + BoundingBox getBoundingBox() const; }; #endif |