mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-14 20:34:06 +00:00
added missing curvepoint_pretty
This commit is contained in:
parent
d391d671b0
commit
c7620068ed
10
drawing.cpp
10
drawing.cpp
@ -2790,6 +2790,16 @@ EX void curvepoint(const hyperpoint& H1) {
|
|||||||
curvedata.push_back(glhr::pointtogl(H1));
|
curvedata.push_back(glhr::pointtogl(H1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EX void curvepoint_pretty(const hyperpoint& h1, const hyperpoint& h2, int lev) {
|
||||||
|
if(lev >= 0 && pmodel != mdPixel) {
|
||||||
|
hyperpoint h3 = midz(h1, h2);
|
||||||
|
curvepoint_pretty(h1, h3, lev-1);
|
||||||
|
curvepoint_pretty(h3, h2, lev-1);
|
||||||
|
}
|
||||||
|
else curvepoint(h2);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
EX void curvepoint_first() {
|
EX void curvepoint_first() {
|
||||||
curvedata.push_back(curvedata[curvestart]);
|
curvedata.push_back(curvedata[curvestart]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user