mirror of
https://git.coom.tech/drummyfish/raycastlib.git
synced 2024-12-23 01:26:19 +01:00
Change data types
This commit is contained in:
parent
4fdef47f61
commit
b8a1826e76
1 changed files with 5 additions and 5 deletions
10
raycastlib.h
10
raycastlib.h
|
@ -1239,11 +1239,11 @@ void _RCL_columnFunctionComplex(RCL_HitResult *hits, uint16_t hitCount, uint16_t
|
|||
void _RCL_columnFunctionSimple(RCL_HitResult *hits, uint16_t hitCount, uint16_t x,
|
||||
RCL_Ray ray)
|
||||
{
|
||||
int16_t y = 0;
|
||||
int16_t wallHeightScreen = 0;
|
||||
int16_t wallStart = _RCL_middleRow;
|
||||
int16_t wallEnd = _RCL_middleRow;
|
||||
int16_t heightOffset = 0;
|
||||
RCL_Unit y = 0;
|
||||
RCL_Unit wallHeightScreen = 0;
|
||||
RCL_Unit wallStart = _RCL_middleRow;
|
||||
RCL_Unit wallEnd = _RCL_middleRow;
|
||||
RCL_Unit heightOffset = 0;
|
||||
|
||||
RCL_Unit dist = 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue