mirror of
https://gitlab.com/drummyfish/anarch.git
synced 2024-11-24 09:52:20 -05:00
Update raycastlib
This commit is contained in:
parent
fccc07a238
commit
1a50896685
@ -26,7 +26,7 @@
|
||||
|
||||
author: Miloslav "drummyfish" Ciz
|
||||
license: CC0 1.0
|
||||
version: 0.86
|
||||
version: 0.87
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
@ -1163,6 +1163,11 @@ static inline int16_t _RCL_drawWall(
|
||||
heightScaled - pixelInfo->texCoords.y;
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
// with floor wall, don't start under 0
|
||||
pixelInfo->texCoords.y = RCL_max(0,pixelInfo->texCoords.y);
|
||||
}
|
||||
|
||||
RCL_Unit textureCoordScaled = pixelInfo->texCoords.y;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user