mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-08 10:14:08 +00:00
prettylinesub no longer tries to be pretty if flat
This commit is contained in:
parent
e628465eaa
commit
bc76bc472c
@ -1559,7 +1559,7 @@ EX void prettypoint(const hyperpoint& h) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
EX void prettylinesub(const hyperpoint& h1, const hyperpoint& h2, int lev) {
|
EX void prettylinesub(const hyperpoint& h1, const hyperpoint& h2, int lev) {
|
||||||
if(lev >= 0) {
|
if(lev >= 0 && pmodel != mdFlatten) {
|
||||||
hyperpoint h3 = midz(h1, h2);
|
hyperpoint h3 = midz(h1, h2);
|
||||||
prettylinesub(h1, h3, lev-1);
|
prettylinesub(h1, h3, lev-1);
|
||||||
prettylinesub(h3, h2, lev-1);
|
prettylinesub(h3, h2, lev-1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user