summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-12-26 10:47:02 (GMT)
committerMarius Kintel <marius@kintel.net>2011-12-26 10:47:02 (GMT)
commit686781d57f4d771b1a25f05a799ebf316eb8a055 (patch)
tree880c921f356c5104c779b03914864f5af0f3319b /src
parent3e64e63b0113a99666ad68aa3e82bb7b80324d9b (diff)
Minor doc clarification
Diffstat (limited to 'src')
-rw-r--r--src/PolySetEvaluator.cc4
-rw-r--r--src/node.h4
2 files changed, 5 insertions, 3 deletions
diff --git a/src/PolySetEvaluator.cc b/src/PolySetEvaluator.cc
index b5075ba..fc68fb2 100644
--- a/src/PolySetEvaluator.cc
+++ b/src/PolySetEvaluator.cc
@@ -7,8 +7,8 @@
/*!
The task of PolySetEvaluator is to create, keep track of and cache PolySet instances.
- All instances of PolySet which are not strictly temporary should be requested through this
- class.
+ All instances of PolySet which are not strictly temporary should be
+ requested through this class.
*/
/*!
diff --git a/src/node.h b/src/node.h
index 9b075fc..42547db 100644
--- a/src/node.h
+++ b/src/node.h
@@ -35,7 +35,9 @@ public:
overloaded to provide specialization for e.g. CSG nodes, primitive nodes etc.
Used for human-readable output. */
virtual std::string name() const;
- /*! Should return a PolySet of the given geometry. Returns NULL if smth. goes wrong */
+ /*! Should return a PolySet of the given geometry. Returns NULL if smth. goes wrong.
+ This is only called by PolySetEvaluator, to make sure polysets are inserted into
+ the cache*/
virtual class PolySet *evaluate_polyset(class PolySetEvaluator *) const { return NULL; }
const std::vector<AbstractNode*> &getChildren() const {
contact: Jan Huwald // Impressum