Changeset View
Changeset View
Standalone View
Standalone View
source/blender/bmesh/intern/bmesh_polygon.h
| Show All 21 Lines | |||||
| #ifndef __BMESH_POLYGON_H__ | #ifndef __BMESH_POLYGON_H__ | ||||
| #define __BMESH_POLYGON_H__ | #define __BMESH_POLYGON_H__ | ||||
| /** \file blender/bmesh/intern/bmesh_polygon.h | /** \file blender/bmesh/intern/bmesh_polygon.h | ||||
| * \ingroup bmesh | * \ingroup bmesh | ||||
| */ | */ | ||||
| struct EdgeHash; | |||||
| struct Heap; | |||||
| #include "BLI_compiler_attrs.h" | #include "BLI_compiler_attrs.h" | ||||
| void BM_bmesh_calc_tessellation(BMesh *bm, BMLoop *(*looptris)[3], int *r_looptris_tot); | void BM_bmesh_calc_tessellation(BMesh *bm, BMLoop *(*looptris)[3], int *r_looptris_tot); | ||||
| void BM_face_calc_tessellation(const BMFace *f, BMLoop **r_loops, unsigned int (*r_index)[3]); | void BM_face_calc_tessellation(const BMFace *f, BMLoop **r_loops, unsigned int (*r_index)[3]); | ||||
| float BM_face_calc_normal(const BMFace *f, float r_no[3]) ATTR_NONNULL(); | float BM_face_calc_normal(const BMFace *f, float r_no[3]) ATTR_NONNULL(); | ||||
| float BM_face_calc_normal_vcos(BMesh *bm, BMFace *f, float r_no[3], | float BM_face_calc_normal_vcos(BMesh *bm, BMFace *f, float r_no[3], | ||||
| float const (*vertexCos)[3]) ATTR_NONNULL(); | float const (*vertexCos)[3]) ATTR_NONNULL(); | ||||
| Show All 19 Lines | |||||
| bool BM_face_point_inside_test(BMFace *f, const float co[3]) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); | bool BM_face_point_inside_test(BMFace *f, const float co[3]) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); | ||||
| void BM_face_triangulate( | void BM_face_triangulate( | ||||
| BMesh *bm, BMFace *f, | BMesh *bm, BMFace *f, | ||||
| BMFace **r_faces_new, | BMFace **r_faces_new, | ||||
| int *r_faces_new_tot, | int *r_faces_new_tot, | ||||
| const int quad_method, const int ngon_method, | const int quad_method, const int ngon_method, | ||||
| const bool use_tag, | const bool use_tag, | ||||
| struct MemArena *pf_arena) ATTR_NONNULL(1, 2); | struct MemArena *pf_arena, | ||||
| struct Heap *pf_heap, struct EdgeHash *pf_ehash | |||||
| ) ATTR_NONNULL(1, 2); | |||||
| void BM_face_splits_check_legal(BMesh *bm, BMFace *f, BMLoop *(*loops)[2], int len) ATTR_NONNULL(); | void BM_face_splits_check_legal(BMesh *bm, BMFace *f, BMLoop *(*loops)[2], int len) ATTR_NONNULL(); | ||||
| void BM_face_splits_check_optimal(BMFace *f, BMLoop *(*loops)[2], int len) ATTR_NONNULL(); | void BM_face_splits_check_optimal(BMFace *f, BMLoop *(*loops)[2], int len) ATTR_NONNULL(); | ||||
| void BM_face_as_array_vert_tri(BMFace *f, BMVert *r_verts[3]) ATTR_NONNULL(); | void BM_face_as_array_vert_tri(BMFace *f, BMVert *r_verts[3]) ATTR_NONNULL(); | ||||
| void BM_face_as_array_vert_quad(BMFace *f, BMVert *r_verts[4]) ATTR_NONNULL(); | void BM_face_as_array_vert_quad(BMFace *f, BMVert *r_verts[4]) ATTR_NONNULL(); | ||||
| void BM_face_as_array_loop_tri(BMFace *f, BMLoop *r_loops[3]) ATTR_NONNULL(); | void BM_face_as_array_loop_tri(BMFace *f, BMLoop *r_loops[3]) ATTR_NONNULL(); | ||||
| void BM_face_as_array_loop_quad(BMFace *f, BMLoop *r_loops[4]) ATTR_NONNULL(); | void BM_face_as_array_loop_quad(BMFace *f, BMLoop *r_loops[4]) ATTR_NONNULL(); | ||||
| void BM_vert_tri_calc_plane(BMVert *verts[3], float r_plane[3]); | void BM_vert_tri_calc_plane(BMVert *verts[3], float r_plane[3]); | ||||
| #endif /* __BMESH_POLYGON_H__ */ | #endif /* __BMESH_POLYGON_H__ */ | ||||