1
0
Fork 0
mirror of https://git.coom.tech/drummyfish/small3dlib.git synced 2024-11-21 20:39:57 +01:00

DrawTriangle update

This commit is contained in:
Miloslav Číž 2019-06-29 18:15:14 +02:00
parent 526dc5f60d
commit cca1c2fcd4

View file

@ -2251,16 +2251,18 @@ void S3L_drawTriangle(
} // inner loop } // inner loop
} // y clipping } // y clipping
#if !S3L_FLAT
S3L_stepFastLerp(lSideFLS); S3L_stepFastLerp(lSideFLS);
S3L_stepFastLerp(rSideFLS); S3L_stepFastLerp(rSideFLS);
#if S3L_COMPUTE_LERP_DEPTH #if S3L_COMPUTE_LERP_DEPTH
S3L_stepFastLerp(lDepthFLS); S3L_stepFastLerp(lDepthFLS);
S3L_stepFastLerp(rDepthFLS); S3L_stepFastLerp(rDepthFLS);
#endif
#endif #endif
++currentY; ++currentY;
} } // row drawing
#undef manageSplit #undef manageSplit
#undef initPC #undef initPC