-RadSample()
-samples a fragment's lightmap or vertex color and returns an
-average color and a color gradient for the sample
-*/
-
-#define MAX_SAMPLES 150
-#define SAMPLE_GRANULARITY 6
-
-static void RadSample( int lightmapNum, bspDrawSurface_t *ds, rawLightmap_t *lm, shaderInfo_t *si, radWinding_t *rw, vec3_t average, vec3_t gradient, int *style )
-{
- int i, j, k, l, v, x, y, samples;
- vec3_t color, mins, maxs;
- vec4_t textureColor;
- float alpha, alphaI, bf;
- vec3_t blend;
- float st[ 2 ], lightmap[ 2 ], *radLuxel;
- radVert_t *rv[ 3 ];
-
-
+ RadSample()
+ samples a fragment's lightmap or vertex color and returns an
+ average color and a color gradient for the sample
+ */
+
+#define MAX_SAMPLES 150
+#define SAMPLE_GRANULARITY 6
+
+static void RadSample( int lightmapNum, bspDrawSurface_t *ds, rawLightmap_t *lm, shaderInfo_t *si, radWinding_t *rw, vec3_t average, vec3_t gradient, int *style ){
+ int i, j, k, l, v, x, y, samples;
+ vec3_t color, mins, maxs;
+ vec4_t textureColor;
+ float alpha, alphaI, bf;
+ vec3_t blend;
+ float st[ 2 ], lightmap[ 2 ], *radLuxel;
+ radVert_t *rv[ 3 ];
+
+ if (!bouncing)
+ Sys_Printf( "BUG: RadSample: !bouncing shouldn't happen\n" );
+