diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-06-26 23:36:23 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-06-26 23:36:23 (GMT) |
commit | 9479f8e77ba5af4778b1efe417f6c4452811d459 (patch) | |
tree | dfbc63a91e60f3e597cfb78f76865b05855da23c /openscad.h | |
parent | 221ae1832702367047232bd0f12970f0422a0478 (diff) |
Clifford Wolf:
Transforms (scale, rotate, translate, multmatrix)
Various matrix related fixes
git-svn-id: http://svn.clifford.at/openscad/trunk@29 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'openscad.h')
-rw-r--r-- | openscad.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -301,6 +301,7 @@ public: }; typedef QList<Point> Polygon; QVector<Polygon> polygons; + double m[16]; PolySet(); @@ -308,6 +309,8 @@ public: void append_vertex(double x, double y, double z); void insert_vertex(double x, double y, double z); + void setmatrix(double m[16]); + enum colormode_e { COLOR_NONE, COLOR_MATERIAL, @@ -338,9 +341,8 @@ public: CSGTerm *left; CSGTerm *right; int refcounter; - double m[16]; - CSGTerm(PolySet *polyset, QString label, double m[16]); + CSGTerm(PolySet *polyset, QString label); CSGTerm(type_e type, CSGTerm *left, CSGTerm *right); CSGTerm *normalize(); |