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 'intern/cycles/bvh/bvh.cpp')
-rw-r--r--intern/cycles/bvh/bvh.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/bvh/bvh.cpp b/intern/cycles/bvh/bvh.cpp
index 82a444bda76..983d6fbce3e 100644
--- a/intern/cycles/bvh/bvh.cpp
+++ b/intern/cycles/bvh/bvh.cpp
@@ -287,7 +287,7 @@ void BVH::pack_curve_segment(int idx, float4 woop[3])
float3 v1 = mesh->curve_keys[k1].co;
float3 d0 = v1 - v0;
- float l = len(d0);
+ float l = length(d0);
/*Plan
*Transform tfm = make_transform(