]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
FIXME comment because falloffTolerance is checked in non-fast too for point lights...
authorRudolf Polzer <divverent@xonotic.org>
Thu, 9 Feb 2012 09:41:17 +0000 (10:41 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 9 Feb 2012 09:41:17 +0000 (10:41 +0100)
tools/quake3/q3map2/light_ydnar.c

index e08b12f585577bc2619979e7816832e293c6be2c..576b2d48b7d54cec461b01902b1be91652e30ca9 100644 (file)
@@ -3660,6 +3660,8 @@ void SetupEnvelopes( qboolean forGrid, qboolean fastFlag )
                                /* other calcs */
                                if( light->envelope <= 0.0f )
                                {
+                                       /* FIXME shouldn't we assume falloffTolerance == 0 when -fast is not used? */
+
                                        /* solve distance for non-distance lights */
                                        if( !(light->flags & LIGHT_ATTEN_DISTANCE) )
                                                light->envelope = MAX_WORLD_COORD * 8.0f;