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:
Diffstat (limited to 'source/blender/render')
-rw-r--r--source/blender/render/intern/source/shadbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/shadbuf.c b/source/blender/render/intern/source/shadbuf.c
index 9010cf8917e..f534acd838d 100644
--- a/source/blender/render/intern/source/shadbuf.c
+++ b/source/blender/render/intern/source/shadbuf.c
@@ -1702,7 +1702,7 @@ static int point_behind_strand(const float p[3], BSPFace *face)
rc[0]= pt[0]-p[0];
rc[1]= pt[1]-p[1];
- dist= (float)sqrt(rc[0]*rc[0]+ rc[1]*rc[1]);
+ dist= sqrtf(rc[0]*rc[0]+ rc[1]*rc[1]);
if (dist < face->radline) {
float zval= face->vec1[2] + lambda*face->rc[2];