Adjust some stuff

This commit is contained in:
Miloslav Ciz 2024-09-20 15:22:18 +02:00
parent 4b9b6ad8ae
commit b181256e58
8 changed files with 595 additions and 578 deletions

View file

@ -7,7 +7,7 @@
#define S3L_RESOLUTION_X LCR_SETTING_RESOLUTION_X
#define S3L_RESOLUTION_Y LCR_SETTING_RESOLUTION_Y
#define S3L_PIXEL_FUNCTION _LCR_pixelFuncc3D
#define S3L_PIXEL_FUNCTION _LCR_pixelFunc3D
#define S3L_PERSPECTIVE_CORRECTION 2
#define S3L_NEAR_CROSS_STRATEGY 1
@ -128,7 +128,7 @@ _LCR_smoothRotation(LCR_renderer.carModel->transform.rotation.z,
*/
}
void _LCR_pixelFuncc3D(S3L_PixelInfo *pixel)
void _LCR_pixelFunc3D(S3L_PixelInfo *pixel)
{
// once we get a new triangle, we precompute things for it:
if (pixel->triangleID != LCR_renderer.previousTriID)