1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-06 22:05:06 +00:00

2d3d:: shapes such as shFloor are now full

This commit is contained in:
Zeno Rogue 2019-05-09 01:40:29 +02:00
parent 450739b133
commit 757a154399
2 changed files with 7 additions and 7 deletions

View File

@ -176,15 +176,15 @@ void precalc() {
zhexf = BITRUNCATED ? hexf : crossf* .55; zhexf = BITRUNCATED ? hexf : crossf* .55;
if(WDIM == 3) zhexf *= geom3::creature_scale; if(WDIM == 3) zhexf *= geom3::creature_scale;
floorrad0 = hexvdist* 0.92; floorrad0 = hexvdist* (GDIM == 3 ? 1 : 0.92);
floorrad1 = rhexf * 0.94; floorrad1 = rhexf * (GDIM == 3 ? 1 : 0.94);
if(euclid4) { if(euclid4) {
if(!BITRUNCATED) if(!BITRUNCATED)
floorrad0 = floorrad1 = rhexf * .94; floorrad0 = floorrad1 = rhexf * (GDIM == 3 ? 1 : .94);
else else
floorrad0 = hexvdist * .9, floorrad0 = hexvdist * (GDIM == 3 ? 1 : .9),
floorrad1 = rhexf * .8; floorrad1 = rhexf * (GDIM == 3 ? 1 : .8);
} }
set_sibling_limit(); set_sibling_limit();

View File

@ -2653,10 +2653,10 @@ void configure_floorshapes() {
shMFloor4.configure(floorrad0*4/8, floorrad1*4/8); shMFloor4.configure(floorrad0*4/8, floorrad1*4/8);
{ {
shBigTriangle.configure(hcrossf * .94, 0); shBigTriangle.prio = PPR::FLOOR_TOWER; shBigTriangle.configure(hcrossf * (GDIM == 3 ? 1 : .94), 0); shBigTriangle.prio = PPR::FLOOR_TOWER;
} }
shBigHepta.configure(0, crossf * .97); shBigHepta.configure(0, crossf * (GDIM == 3 ? 1 : .97));
{ {
double p = -.006; double p = -.006;