1
0
Fork 0
mirror of https://git.coom.tech/drummyfish/small3dlib.git synced 2024-12-23 01:26:19 +01:00

Add comment

This commit is contained in:
Miloslav Číž 2019-05-19 08:26:41 +02:00
parent b1c1650864
commit be396b5c68

4
s3l.h
View file

@ -1111,7 +1111,9 @@ void _S3L_drawFilledTriangle(
if (currentY >= 0) /* clipping of pixels whose y < 0 (can't be easily done
outside the loop) */
{
{ /* TODO: ^ This is bad though, a single large
triangle outside he top of the screen will trigger
a long loop. Try to FIX THIS! */
p->y = currentY;
// draw the horizontal line