mirror of
https://git.coom.tech/drummyfish/small3dlib.git
synced 2024-11-21 20:39:57 +01:00
Fix formatting
This commit is contained in:
parent
e4fa1a714f
commit
d72ca57d2a
1 changed files with 28 additions and 29 deletions
|
@ -2422,9 +2422,8 @@ void S3L_drawTriangle(
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if S3L_NEAR_CROSS_STRATEGY == 3
|
#if S3L_NEAR_CROSS_STRATEGY == 3
|
||||||
|
if (_S3L_projectedTriangleState != 0)
|
||||||
if (_S3L_projectedTriangleState != 0)
|
{
|
||||||
{
|
|
||||||
S3L_Unit newBarycentric[3];
|
S3L_Unit newBarycentric[3];
|
||||||
|
|
||||||
newBarycentric[0] = S3L_interpolateBarycentric(
|
newBarycentric[0] = S3L_interpolateBarycentric(
|
||||||
|
@ -2448,7 +2447,7 @@ if (_S3L_projectedTriangleState != 0)
|
||||||
p.barycentric[0] = newBarycentric[0];
|
p.barycentric[0] = newBarycentric[0];
|
||||||
p.barycentric[1] = newBarycentric[1];
|
p.barycentric[1] = newBarycentric[1];
|
||||||
p.barycentric[2] = newBarycentric[2];
|
p.barycentric[2] = newBarycentric[2];
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
S3L_PIXEL_FUNCTION(&p);
|
S3L_PIXEL_FUNCTION(&p);
|
||||||
} // tests passed
|
} // tests passed
|
||||||
|
|
Loading…
Reference in a new issue