diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-31 06:40:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-31 06:40:15 +0400 |
commit | 827f9aa737e32cbb962864c25fa7ede88ccd99c5 (patch) | |
tree | f6d63bece35febff4345d1e2ad94779a5264b0d3 /source/blender/bmesh | |
parent | 1aebc0e790c4abe4bdb749fbaad051d1e6c53586 (diff) |
rename BM_edge_calc_squared_length -> BM_edge_calc_length_squared, matching len_v3, len_squared_v3
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_queries.c | 2 | ||||
-rw-r--r-- | source/blender/bmesh/intern/bmesh_queries.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/intern/bmesh_queries.c b/source/blender/bmesh/intern/bmesh_queries.c index d723e6464df..b5b6c69bd7e 100644 --- a/source/blender/bmesh/intern/bmesh_queries.c +++ b/source/blender/bmesh/intern/bmesh_queries.c @@ -478,7 +478,7 @@ float BM_edge_calc_length(BMEdge *e) /** * Returns edge length squared (for comparisons) */ -float BM_edge_calc_squared_length(BMEdge *e) +float BM_edge_calc_length_squared(BMEdge *e) { return len_squared_v3v3(e->v1->co, e->v2->co); } diff --git a/source/blender/bmesh/intern/bmesh_queries.h b/source/blender/bmesh/intern/bmesh_queries.h index 59c3fae8c5d..a9d6719c491 100644 --- a/source/blender/bmesh/intern/bmesh_queries.h +++ b/source/blender/bmesh/intern/bmesh_queries.h @@ -37,7 +37,7 @@ int BM_vert_in_edge(BMEdge *e, BMVert *v); int BM_verts_in_edge(BMVert *v1, BMVert *v2, BMEdge *e); float BM_edge_calc_length(BMEdge *e); -float BM_edge_calc_squared_length(BMEdge *e); +float BM_edge_calc_length_squared(BMEdge *e); int BM_edge_face_pair(BMEdge *e, BMFace **r_fa, BMFace **r_fb); int BM_edge_loop_pair(BMEdge *e, BMLoop **r_la, BMLoop **r_lb); BMVert *BM_edge_other_vert(BMEdge *e, BMVert *v); |