summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--csgops.cc4
-rw-r--r--transform.cc8
2 files changed, 6 insertions, 6 deletions
diff --git a/csgops.cc b/csgops.cc
index 777dc8d..a266ab1 100644
--- a/csgops.cc
+++ b/csgops.cc
@@ -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)
{
contact: Jan Huwald // Impressum