diff --git a/whirl.cpp b/whirl.cpp index 724bb583..9274ff58 100644 --- a/whirl.cpp +++ b/whirl.cpp @@ -267,6 +267,8 @@ namespace whirl { // ispin = rspintox(next); alpha = -atan2(next[1], next[0]); base_distlimit = (base_distlimit + log(scale) / log(2.618)) / scale; + if(base_distlimit > 30) + base_distlimit = 30; } else { scale = 1;