diff options
Diffstat (limited to 'intern/cycles/bvh/bvh.cpp')
-rw-r--r-- | intern/cycles/bvh/bvh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/bvh/bvh.cpp b/intern/cycles/bvh/bvh.cpp index 983d6fbce3e..82a444bda76 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 = length(d0); + float l = len(d0); /*Plan *Transform tfm = make_transform( |