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:
parent
8cf9617abf
commit
8b1fbce362
1 changed files with 1 additions and 1 deletions
|
@ -838,7 +838,7 @@ void _columnFunction(HitResult *hits, uint16_t hitCount, uint16_t x, Ray ray)
|
|||
pref##PosY = limit;
|
||||
|
||||
p.isWall = 0;
|
||||
p.isHorizon = 0;
|
||||
p.isHorizon = drawingHorizon;
|
||||
|
||||
// draw floor until wall
|
||||
p.isFloor = 1;
|
||||
|
|
Loading…
Reference in a new issue