mirror of
https://git.coom.tech/drummyfish/raycastlib.git
synced 2024-11-21 20:29:59 +01:00
Small update
This commit is contained in:
parent
1373f5e2e4
commit
5fc4d1402c
1 changed files with 0 additions and 2 deletions
|
@ -955,8 +955,6 @@ void _columnFunctionSimple(HitResult *hits, uint16_t hitCount, uint16_t x,
|
||||||
coordHelper = -1 * wallStart;
|
coordHelper = -1 * wallStart;
|
||||||
coordHelper = coordHelper >= 0 ? coordHelper : 0;
|
coordHelper = coordHelper >= 0 ? coordHelper : 0;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
wallStart = clamp(wallStart,0,_camResYLimit);
|
wallStart = clamp(wallStart,0,_camResYLimit);
|
||||||
wallEnd = clamp(wallStart + wallScreenHeight,0,_camResYLimit);
|
wallEnd = clamp(wallStart + wallScreenHeight,0,_camResYLimit);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue