mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-28 20:37:40 +00:00
fixed stranded boats in 3D
This commit is contained in:
@@ -802,8 +802,14 @@ void celldrawer::draw_boat() {
|
|||||||
}
|
}
|
||||||
if(wmspatial && GDIM == 2)
|
if(wmspatial && GDIM == 2)
|
||||||
queuepolyat(mscale(Vboat, (cgi.LAKE+1)/2), cgi.shBoatOuter, outcol, PPR::BOATLEV2);
|
queuepolyat(mscale(Vboat, (cgi.LAKE+1)/2), cgi.shBoatOuter, outcol, PPR::BOATLEV2);
|
||||||
queuepoly(Vboat, cgi.shBoatOuter, outcol);
|
if(GDIM == 3) {
|
||||||
queuepoly(Vboat, cgi.shBoatInner, incol);
|
queuepoly(mscale(Vboat, -0.004), cgi.shBoatOuter, outcol);
|
||||||
|
queuepoly(mscale(Vboat, -0.008), cgi.shBoatInner, incol);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
queuepoly(Vboat, cgi.shBoatOuter, outcol);
|
||||||
|
queuepoly(Vboat, cgi.shBoatInner, incol);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void celldrawer::draw_grid() {
|
void celldrawer::draw_grid() {
|
||||||
|
|||||||
Reference in New Issue
Block a user