1
0
Fork 0
mirror of https://git.coom.tech/drummyfish/raycastlib.git synced 2024-11-21 20:29:59 +01:00

Remove unused vars

This commit is contained in:
Miloslav Číž 2018-09-23 18:03:59 +02:00
parent f6e282c12b
commit f75b7b7201

View file

@ -1127,8 +1127,6 @@ void _RCL_columnFunctionComplex(RCL_HitResult *hits, uint16_t hitCount, uint16_t
p.texCoords.x = 0; p.texCoords.x = 0;
p.texCoords.y = 0; p.texCoords.y = 0;
RCL_Unit i;
// we'll be simulatenously drawing the floor and the ceiling now // we'll be simulatenously drawing the floor and the ceiling now
for (RCL_Unit j = 0; j <= hitCount; ++j) for (RCL_Unit j = 0; j <= hitCount; ++j)
{ // ^ = add extra iteration for horizon plane { // ^ = add extra iteration for horizon plane
@ -1275,7 +1273,6 @@ void _RCL_columnFunctionSimple(RCL_HitResult *hits, uint16_t hitCount, uint16_t
RCL_Unit y = 0; RCL_Unit y = 0;
RCL_Unit wallHeightScreen = 0; RCL_Unit wallHeightScreen = 0;
RCL_Unit wallStart = _RCL_middleRow; RCL_Unit wallStart = _RCL_middleRow;
RCL_Unit wallEnd = _RCL_middleRow;
RCL_Unit heightOffset = 0; RCL_Unit heightOffset = 0;
RCL_Unit dist = 1; RCL_Unit dist = 1;