raycasting in 2D

This commit is contained in:
Zeno Rogue committed 2020-06-03 15:11:20 +02:00
1 parent fad1c650c7
commit 2a0b0101fd
8 files changed
+94 -39

No files matched your search

+1
View File
@@ -34,6 +34,7 @@ EX void prepare_sky() {
sky = NULL;
if(euclid) {
if(WDIM == 3 || GDIM == 2) return;
if(no_wall_rendering) return;
transmatrix T = ggmatrix(currentmap->gamestart());
T = gpushxto0(tC0(T)) * T;
queuepoly(T, cgi.shEuclideanSky, 0x0044e4FF);