summaryrefslogtreecommitdiff
path: root/primitives.cc
diff options
context:
space:
mode:
Diffstat (limited to 'primitives.cc')
-rw-r--r--primitives.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/primitives.cc b/primitives.cc
index 90a22ba..8e9df2d 100644
--- a/primitives.cc
+++ b/primitives.cc
@@ -36,7 +36,7 @@ class PrimitiveModule : public AbstractModule
public:
primitive_type_e type;
PrimitiveModule(primitive_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 PrimitiveNode : public AbstractPolyNode
@@ -47,12 +47,12 @@ public:
double fn, fs, fa;
primitive_type_e type;
Value points, triangles;
- PrimitiveNode(const ModuleInstanciation *mi, primitive_type_e type) : AbstractPolyNode(mi), type(type) { }
+ PrimitiveNode(const ModuleInstantiation *mi, primitive_type_e type) : AbstractPolyNode(mi), type(type) { }
virtual PolySet *render_polyset(render_mode_e mode) const;
virtual QString dump(QString indent) const;
};
-AbstractNode *PrimitiveModule::evaluate(const Context *ctx, const ModuleInstanciation *inst) const
+AbstractNode *PrimitiveModule::evaluate(const Context *ctx, const ModuleInstantiation *inst) const
{
PrimitiveNode *node = new PrimitiveNode(inst, type);
contact: Jan Huwald // Impressum