diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-21 22:45:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-21 22:45:31 +0400 |
commit | d760a86927a45d31244603e7642ca87a5e23991f (patch) | |
tree | 2fd3d0d95a1778a1b29d2c8347124fb09eb4c6bf /source/blender/bmesh/intern | |
parent | 709a86a8d96825069820dca4b68da5739bcd791c (diff) |
code cleanup: minor changes, replace len_v3 with len_squared_v3 for comparison.
Diffstat (limited to 'source/blender/bmesh/intern')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_polygon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/intern/bmesh_polygon.c b/source/blender/bmesh/intern/bmesh_polygon.c index 62bd2649cd4..5c3d164c768 100644 --- a/source/blender/bmesh/intern/bmesh_polygon.c +++ b/source/blender/bmesh/intern/bmesh_polygon.c @@ -319,7 +319,7 @@ void poly_rotate_plane(const float normal[3], float (*verts)[3], const int nvert if (angle < FLT_EPSILON) return; - if (len_v3(axis) < FLT_EPSILON) { + if (len_squared_v3(axis) < FLT_EPSILON) { axis[0] = 0.0f; axis[1] = 1.0f; axis[2] = 0.0f; |