Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-12-04 02:23:29 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-12-04 02:24:38 +0400
commitf3d13bec6dbacbf2ddfba034776175cf78d628b0 (patch)
tree24023d6d26a126b353bf62da8acae091c1efdb9b /source/blender/render
parent239f0dbcd20a40642fc826ea6a90d2991f00febc (diff)
Code Cleanup: correct fabsf/fabs/abs use
Diffstat (limited to 'source/blender/render')
-rw-r--r--source/blender/render/intern/source/shadeoutput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/shadeoutput.c b/source/blender/render/intern/source/shadeoutput.c
index 40a5a5d9a05..6cb34a67f45 100644
--- a/source/blender/render/intern/source/shadeoutput.c
+++ b/source/blender/render/intern/source/shadeoutput.c
@@ -228,7 +228,7 @@ static void spothalo(struct LampRen *lar, ShadeInput *shi, float *intens)
maxz*= lar->sh_zfac;
maxy= lar->imat[0][1]*p1[0]+lar->imat[1][1]*p1[1]+lar->imat[2][1]*p1[2];
- if (fabsf(nray[2]) < FLT_EPSILON) {
+ if (fabs(nray[2]) < FLT_EPSILON) {
use_yco = TRUE;
}
}