1
0
Fork 0
mirror of https://git.coom.tech/drummyfish/raycastlib.git synced 2024-12-26 01:56:19 +01:00

Fix floor really

This commit is contained in:
Miloslav Číž 2018-09-17 12:36:04 +02:00
parent d66750be79
commit 22e830b942

View file

@ -1220,7 +1220,7 @@ Unit coordStep = 1;
// draw floor
p.isWall = 0;
p.depth = (_middleRow - y) * _horizontalDepthStep;
p.depth = (_camera.resolution.y - y) * _horizontalDepthStep + 1;
while (y < _camera.resolution.y)
{