mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-06 04:17:58 +00:00
Nil embedding
This commit is contained in:
2
sky.cpp
2
sky.cpp
@@ -323,7 +323,7 @@ void draw_star(const shiftmatrix& V, const hpcshape& sh, color_t col, ld rev = f
|
||||
|
||||
void celldrawer::draw_ceiling() {
|
||||
|
||||
if(pmodel != mdPerspective || sphere) return;
|
||||
if(!models::is_perspective(pmodel) || sphere) return;
|
||||
|
||||
auto add_to_sky = [this] (color_t col, color_t col2) {
|
||||
if(sky) sky->sky.emplace_back(c, V, col, col2);
|
||||
|
Reference in New Issue
Block a user