mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 07:27:07 +00:00
noniso skies
This commit is contained in:
parent
839beabbc9
commit
33380fba89
@ -2456,7 +2456,7 @@ EX void drawqueue() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if MAXMDIM >= 4 && CAP_GL
|
#if MAXMDIM >= 4 && CAP_GL
|
||||||
if(embedded_plane && (hyperbolic || geom3::sph_in_euc()) && !vrhr::rendering()) make_air();
|
if(embedded_plane && (hyperbolic || geom3::sph_in_euc() || geom3::euc_in_noniso() || geom3::hyp_in_solnih()) && !vrhr::rendering()) make_air();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CAP_VR
|
#if CAP_VR
|
||||||
|
4
sky.cpp
4
sky.cpp
@ -69,7 +69,9 @@ EX void delete_sky() {
|
|||||||
void compute_skyvertices(const vector<sky_item>& sky) {
|
void compute_skyvertices(const vector<sky_item>& sky) {
|
||||||
skyvertices.clear();
|
skyvertices.clear();
|
||||||
if(!draw_sky) return;
|
if(!draw_sky) return;
|
||||||
if(vid.wall_height < 0 && geom3::euc_in_hyp()) return; /* just looks bad */
|
if(vid.wall_height < 0 && geom3::euc_in_hyp()) return; /* just looks bad, hollow horospheres should not have sky */
|
||||||
|
if(vid.wall_height < 0 && meuclid && geom3::ggclass() == gcNIH) return; /* same */
|
||||||
|
if(among(geom3::ggclass(), gcSol, gcSolN)) return; /* errors */
|
||||||
|
|
||||||
int sk = get_skybrightness();
|
int sk = get_skybrightness();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user