summaryrefslogtreecommitdiff
path: root/csgops.cc
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-06 19:38:45 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-06 19:38:45 (GMT)
commit6fdfde289b2ac09ebbfc30b104f26cdd8af0d823 (patch)
treef792fda659e5d1bb9042b61bd32014c02069493b /csgops.cc
parenta96752e37812e7b2cf0d7e3a940186cafb912ac9 (diff)
Fixed typos in classnames
git-svn-id: http://svn.clifford.at/openscad/trunk@220 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'csgops.cc')
-rw-r--r--csgops.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/csgops.cc b/csgops.cc
index f4e945d..5e55ed1 100644
--- a/csgops.cc
+++ b/csgops.cc
@@ -34,14 +34,14 @@ class CsgModule : public AbstractModule
public:
csg_type_e type;
CsgModule(csg_type_e type) : type(type) { }
- virtual AbstractNode *evaluate(const Context *ctx, const ModuleInstanciation *inst) const;
+ virtual AbstractNode *evaluate(const Context *ctx, const ModuleInstantiation *inst) const;
};
class CsgNode : public AbstractNode
{
public:
csg_type_e type;
- CsgNode(const ModuleInstanciation *mi, csg_type_e type) : AbstractNode(mi), type(type) { }
+ CsgNode(const ModuleInstantiation *mi, csg_type_e type) : AbstractNode(mi), type(type) { }
#ifdef ENABLE_CGAL
virtual CGAL_Nef_polyhedron render_cgal_nef_polyhedron() const;
#endif
@@ -49,10 +49,10 @@ public:
virtual QString dump(QString indent) const;
};
-AbstractNode *CsgModule::evaluate(const Context*, const ModuleInstanciation *inst) const
+AbstractNode *CsgModule::evaluate(const Context*, const ModuleInstantiation *inst) const
{
CsgNode *node = new CsgNode(inst, type);
- foreach (ModuleInstanciation *v, inst->children) {
+ foreach (ModuleInstantiation *v, inst->children) {
AbstractNode *n = v->evaluate(inst->ctx);
if (n != NULL)
node->children.append(n);
contact: Jan Huwald // Impressum