Cycles:
[blender.git] / intern / cycles / bvh / bvh.cpp
index 983d6fbce3e8f97a821a92cfe53425500d472e86..82a444bda76662c87552706abf7d0426d11bcab4 100644 (file)
@@ -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(