mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-20 11:54:48 +00:00
2d3d:: shapes such as shFloor are now full
This commit is contained in:
parent
450739b133
commit
757a154399
10
geometry.cpp
10
geometry.cpp
@ -176,15 +176,15 @@ void precalc() {
|
||||
zhexf = BITRUNCATED ? hexf : crossf* .55;
|
||||
if(WDIM == 3) zhexf *= geom3::creature_scale;
|
||||
|
||||
floorrad0 = hexvdist* 0.92;
|
||||
floorrad1 = rhexf * 0.94;
|
||||
floorrad0 = hexvdist* (GDIM == 3 ? 1 : 0.92);
|
||||
floorrad1 = rhexf * (GDIM == 3 ? 1 : 0.94);
|
||||
|
||||
if(euclid4) {
|
||||
if(!BITRUNCATED)
|
||||
floorrad0 = floorrad1 = rhexf * .94;
|
||||
floorrad0 = floorrad1 = rhexf * (GDIM == 3 ? 1 : .94);
|
||||
else
|
||||
floorrad0 = hexvdist * .9,
|
||||
floorrad1 = rhexf * .8;
|
||||
floorrad0 = hexvdist * (GDIM == 3 ? 1 : .9),
|
||||
floorrad1 = rhexf * (GDIM == 3 ? 1 : .8);
|
||||
}
|
||||
|
||||
set_sibling_limit();
|
||||
|
@ -2653,10 +2653,10 @@ void configure_floorshapes() {
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user