diff options
-rw-r--r-- | csgops.cc | 4 | ||||
-rw-r--r-- | transform.cc | 8 |
2 files changed, 6 insertions, 6 deletions
@@ -42,10 +42,10 @@ public: csg_type_e type; CsgNode(const ModuleInstanciation *mi, csg_type_e type) : AbstractNode(mi), type(type) { } #ifdef ENABLE_CGAL - virtual CGAL_Nef_polyhedron render_cgal_nef_polyhedron() const; + virtual CGAL_Nef_polyhedron render_cgal_nef_polyhedron() const; #endif CSGTerm *render_csg_term(double m[16], QVector<CSGTerm*> *highlights, QVector<CSGTerm*> *background) const; - virtual QString dump(QString indent) const; + virtual QString dump(QString indent) const; }; AbstractNode *CsgModule::evaluate(const Context*, const ModuleInstanciation *inst) const diff --git a/transform.cc b/transform.cc index bc2e426..51b54dc 100644 --- a/transform.cc +++ b/transform.cc @@ -43,10 +43,10 @@ public: double m[16]; TransformNode(const ModuleInstanciation *mi) : AbstractNode(mi) { } #ifdef ENABLE_CGAL - virtual CGAL_Nef_polyhedron render_cgal_nef_polyhedron() const; + virtual CGAL_Nef_polyhedron render_cgal_nef_polyhedron() const; #endif virtual CSGTerm *render_csg_term(double m[16], QVector<CSGTerm*> *highlights, QVector<CSGTerm*> *background) const; - virtual QString dump(QString indent) const; + virtual QString dump(QString indent) const; }; AbstractNode *TransformModule::evaluate(const Context *ctx, const ModuleInstanciation *inst) const @@ -73,8 +73,8 @@ AbstractNode *TransformModule::evaluate(const Context *ctx, const ModuleInstanci argnames = QVector<QString>() << "m"; } - Context c(ctx); - c.args(argnames, argexpr, inst->argnames, inst->argvalues); + Context c(ctx); + c.args(argnames, argexpr, inst->argnames, inst->argvalues); if (type == SCALE) { |