diff options
author | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-06 19:38:45 (GMT) |
---|---|---|
committer | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-06 19:38:45 (GMT) |
commit | 6fdfde289b2ac09ebbfc30b104f26cdd8af0d823 (patch) | |
tree | f792fda659e5d1bb9042b61bd32014c02069493b /render.cc | |
parent | a96752e37812e7b2cf0d7e3a940186cafb912ac9 (diff) |
Fixed typos in classnames
git-svn-id: http://svn.clifford.at/openscad/trunk@220 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'render.cc')
-rw-r--r-- | render.cc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -31,14 +31,14 @@ class RenderModule : public AbstractModule { public: RenderModule() { } - virtual AbstractNode *evaluate(const Context *ctx, const ModuleInstanciation *inst) const; + virtual AbstractNode *evaluate(const Context *ctx, const ModuleInstantiation *inst) const; }; class RenderNode : public AbstractNode { public: int convexity; - RenderNode(const ModuleInstanciation *mi) : AbstractNode(mi), convexity(1) { } + RenderNode(const ModuleInstantiation *mi) : AbstractNode(mi), convexity(1) { } #ifdef ENABLE_CGAL virtual CGAL_Nef_polyhedron render_cgal_nef_polyhedron() const; #endif @@ -46,7 +46,7 @@ public: virtual QString dump(QString indent) const; }; -AbstractNode *RenderModule::evaluate(const Context *ctx, const ModuleInstanciation *inst) const +AbstractNode *RenderModule::evaluate(const Context *ctx, const ModuleInstantiation *inst) const { RenderNode *node = new RenderNode(inst); @@ -60,7 +60,7 @@ AbstractNode *RenderModule::evaluate(const Context *ctx, const ModuleInstanciati if (v.type == Value::NUMBER) node->convexity = (int)v.num; - foreach (ModuleInstanciation *v, inst->children) { + foreach (ModuleInstantiation *v, inst->children) { AbstractNode *n = v->evaluate(inst->ctx); if (n != NULL) node->children.append(n); |