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:
authorCampbell Barton <ideasman42@gmail.com>2020-07-09 06:33:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-07-09 06:33:15 +0300
commit0b3bf69d3cf578dc84f1bbce15142137bdaac0b4 (patch)
tree19691fef4987570aac20b8f7910230cb2d7e4ede /source/blender/bmesh/intern/bmesh_query.c
parent754c5d6a14d411773fb253dc5b289985a8669eb6 (diff)
Cleanup: move BMesh UV queries into their own file
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_query.c')
-rw-r--r--source/blender/bmesh/intern/bmesh_query.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/source/blender/bmesh/intern/bmesh_query.c b/source/blender/bmesh/intern/bmesh_query.c
index 7cc745f248f..80634618f6f 100644
--- a/source/blender/bmesh/intern/bmesh_query.c
+++ b/source/blender/bmesh/intern/bmesh_query.c
@@ -34,8 +34,6 @@
#include "BKE_customdata.h"
-#include "DNA_meshdata_types.h"
-
#include "bmesh.h"
#include "intern/bmesh_private.h"
@@ -1816,20 +1814,6 @@ void BM_edge_calc_face_tangent(const BMEdge *e, const BMLoop *e_loop, float r_ta
normalize_v3(r_tangent);
}
-float BM_face_calc_uv_cross(const BMFace *f, const int cd_loop_uv_offset)
-{
- float(*uvs)[2] = BLI_array_alloca(uvs, f->len);
- const BMLoop *l_iter;
- const BMLoop *l_first;
- int i = 0;
- l_iter = l_first = BM_FACE_FIRST_LOOP(f);
- do {
- const MLoopUV *luv = BM_ELEM_CD_GET_VOID_P(l_iter, cd_loop_uv_offset);
- copy_v2_v2(uvs[i++], luv->uv);
- } while ((l_iter = l_iter->next) != l_first);
- return cross_poly_v2(uvs, f->len);
-}
-
/**
* \brief BMESH VERT/EDGE ANGLE
*