mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-14 05:57:37 +00:00
fixed a bug in regradius
This commit is contained in:
2
util.cpp
2
util.cpp
@@ -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);
|
||||||
|
Reference in New Issue
Block a user