diff options
| -rw-r--r-- | primitives.cc | 4 | 
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) | 
