mirror of
https://git.coom.tech/drummyfish/raycastlib.git
synced 2024-11-21 20:29:59 +01:00
Fix drawing bug
This commit is contained in:
parent
6c8351f145
commit
41bcf97f36
1 changed files with 1 additions and 1 deletions
|
@ -869,7 +869,7 @@ void _columnFunction(HitResult *hits, uint16_t hitCount, uint16_t x, Ray ray)
|
|||
{
|
||||
iTo = y > zBottomCeil ? zBottomCeil : y;
|
||||
|
||||
for (int_maybe32_t i = z1ScreenCeil > y2 ? z1ScreenCeil : y2; i <= iTo;
|
||||
for (int_maybe32_t i = z1ScreenCeil > y2 ? z1ScreenCeil : y2; i < iTo;
|
||||
++i)
|
||||
{
|
||||
p.position.y = i;
|
||||
|
|
Loading…
Reference in a new issue