mirror of
https://git.coom.tech/drummyfish/small3dlib.git
synced 2024-11-21 20:39:57 +01:00
Add comment
This commit is contained in:
parent
b1c1650864
commit
be396b5c68
1 changed files with 3 additions and 1 deletions
4
s3l.h
4
s3l.h
|
@ -1111,7 +1111,9 @@ void _S3L_drawFilledTriangle(
|
||||||
|
|
||||||
if (currentY >= 0) /* clipping of pixels whose y < 0 (can't be easily done
|
if (currentY >= 0) /* clipping of pixels whose y < 0 (can't be easily done
|
||||||
outside the loop) */
|
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;
|
p->y = currentY;
|
||||||
|
|
||||||
// draw the horizontal line
|
// draw the horizontal line
|
||||||
|
|
Loading…
Reference in a new issue