Nil embedding

This commit is contained in:
Zeno Rogue committed 2022-12-13 19:04:43 +01:00
1 parent 63b17a605c
commit f61adc2865
11 files changed
+205 -116

No files matched your search

+1 -1
View File
@@ -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);