summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-08 14:23:14 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-08 14:23:14 (GMT)
commita943518e6d777c8ead95d0df4d270567511e1c08 (patch)
treee2d3f4977d2f3daad5b1314ab3b2a690bc605e70
parenta6b676a75e7fd3194e15856d103e9219dc50940c (diff)
doc
git-svn-id: http://svn.clifford.at/openscad/trunk@238 b57f626f-c46c-0410-a088-ec61d464b74c
-rw-r--r--primitives.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/primitives.cc b/primitives.cc
index 9bf8ea4..80e26b2 100644
--- a/primitives.cc
+++ b/primitives.cc
@@ -184,6 +184,10 @@ void register_builtin_primitives()
builtin_modules["polygon"] = new PrimitiveModule(POLYGON);
}
+/*!
+ Returns the number of subdivision of a whole circle, given radius and
+ the three special variables $fn, $fs and $fa
+*/
int get_fragments_from_r(double r, double fn, double fs, double fa)
{
if (fn > 0.0)
contact: Jan Huwald // Impressum