mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-30 15:39:54 +00:00
fixed a bug with arb spherical plain floors
This commit is contained in:
parent
12d28b43f5
commit
0af6ef46ab
@ -114,14 +114,17 @@ void load(const string& fname) {
|
|||||||
}
|
}
|
||||||
else if(ep.eat("e2.")) {
|
else if(ep.eat("e2.")) {
|
||||||
ginf[gArbitrary].g = giEuclid2;
|
ginf[gArbitrary].g = giEuclid2;
|
||||||
|
ginf[gArbitrary].sides = 7;
|
||||||
set_flag(ginf[gArbitrary].flags, qBOUNDED, false);
|
set_flag(ginf[gArbitrary].flags, qBOUNDED, false);
|
||||||
}
|
}
|
||||||
else if(ep.eat("h2.")) {
|
else if(ep.eat("h2.")) {
|
||||||
ginf[gArbitrary].g = giHyperb2;
|
ginf[gArbitrary].g = giHyperb2;
|
||||||
|
ginf[gArbitrary].sides = 7;
|
||||||
set_flag(ginf[gArbitrary].flags, qBOUNDED, false);
|
set_flag(ginf[gArbitrary].flags, qBOUNDED, false);
|
||||||
}
|
}
|
||||||
else if(ep.eat("s2.")) {
|
else if(ep.eat("s2.")) {
|
||||||
ginf[gArbitrary].g = giSphere2;
|
ginf[gArbitrary].g = giSphere2;
|
||||||
|
ginf[gArbitrary].sides = 5;
|
||||||
set_flag(ginf[gArbitrary].flags, qBOUNDED, false);
|
set_flag(ginf[gArbitrary].flags, qBOUNDED, false);
|
||||||
}
|
}
|
||||||
else if(ep.eat("angleunit(")) angleunit = real(ep.parsepar());
|
else if(ep.eat("angleunit(")) angleunit = real(ep.parsepar());
|
||||||
|
Loading…
Reference in New Issue
Block a user