From 526dc5f60d030eaf761a0e751cf3a77d8404e4a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Sat, 29 Jun 2019 18:08:36 +0200 Subject: [PATCH] Remove unneeded confition --- small3dlib.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/small3dlib.h b/small3dlib.h index aa64575..f030b45 100644 --- a/small3dlib.h +++ b/small3dlib.h @@ -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) */