1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-06-20 07:14:07 +00:00

fixed a bug in regradius

This commit is contained in:
Zeno Rogue 2019-12-27 13:11:40 +01:00
parent ec6ffded34
commit 089115ee69

View File

@ -223,7 +223,7 @@ cld exp_parser::parse(int prio) {
force_eat(","); force_eat(",");
cld b = rparse(0); cld b = rparse(0);
force_eat(")"); force_eat(")");
return edge_of_triangle_with_angles(M_PI/2, M_PI/real(b), M_PI/real(b)); return edge_of_triangle_with_angles(M_PI/2, M_PI/real(a), M_PI/real(b));
} }
else if(eat("ifp(")) { else if(eat("ifp(")) {
cld cond = parse(0); cld cond = parse(0);