diff --git a/arbitrile.cpp b/arbitrile.cpp index ac9acc52..b77f34fe 100644 --- a/arbitrile.cpp +++ b/arbitrile.cpp @@ -14,8 +14,6 @@ EX namespace arb { EX int affine_limit = 200; -EX bool legacy; /* angleofs command */ - #if HDR /** a type used to specify the connections between shapes */ @@ -205,16 +203,14 @@ void shape::build_from_angles_edges(bool is_comb) { int n = isize(angles); hyperpoint ctr = Hypc; vector matrices; - if(!legacy) for(auto& a: angles) a += M_PI; for(int i=0; i 2 * M_PI) result -= 2 * M_PI; if(result > M_PI) result = 2 * M_PI - result; - if(arb::legacy) { - res = M_PI - result; - if (auto *angleofs = hr::at_or_null(extra_params, "angleofs")) - res -= *angleofs; - } - else - res = result; + res = result; if (auto *angleunit = hr::at_or_null(extra_params, "angleunit")) res /= *angleunit;