1
0
Fork 0
mirror of https://git.coom.tech/drummyfish/raycastlib.git synced 2024-11-23 20:49:57 +01:00

Fix horizon

This commit is contained in:
Miloslav Číž 2018-09-13 11:18:31 +02:00
parent 8cf9617abf
commit 8b1fbce362

View file

@ -838,7 +838,7 @@ void _columnFunction(HitResult *hits, uint16_t hitCount, uint16_t x, Ray ray)
pref##PosY = limit; pref##PosY = limit;
p.isWall = 0; p.isWall = 0;
p.isHorizon = 0; p.isHorizon = drawingHorizon;
// draw floor until wall // draw floor until wall
p.isFloor = 1; p.isFloor = 1;