1
0
Fork 0
mirror of https://git.coom.tech/drummyfish/small3dlib.git synced 2024-11-23 20:59:58 +01:00

Remove unneeded confition

This commit is contained in:
Miloslav Číž 2019-06-29 18:08:36 +02:00
parent 1ae90ed9bb
commit 526dc5f60d

View file

@ -1762,12 +1762,6 @@ void S3L_drawTriangle(
p.triangleIndex = triangleIndex;
p.triangleID = (modelIndex << 16) | triangleIndex;
#if !S3L_STRICT_NEAR_CULLING
point0.z = point0.z >= S3L_NEAR ? point0.z : S3L_NEAR;
point1.z = point1.z >= S3L_NEAR ? point1.z : S3L_NEAR;
point2.z = point2.z >= S3L_NEAR ? point2.z : S3L_NEAR;
#endif
S3L_Vec4 *tPointSS, *lPointSS, *rPointSS; /* points in Screen Space (in
S3L_Units, normalized by
S3L_FRACTIONS_PER_UNIT) */