~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to source/blender/bmesh/intern/bmesh_polygon.h

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-02-19 11:24:23 UTC
  • mfrom: (14.2.23 sid)
  • Revision ID: package-import@ubuntu.com-20140219112423-rkmaz2m7ha06d4tk
Tags: 2.69-3ubuntu1
* Merge with Debian; remaining changes:
  - Configure without OpenImageIO on armhf, as it is not available on
    Ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 *  \ingroup bmesh
28
28
 */
29
29
 
30
 
int   BM_face_calc_tessellation(BMFace *f, BMLoop **r_loops, int (*r_index)[3])
31
 
#ifdef __GNUC__
32
 
        __attribute__((warn_unused_result))
33
 
        __attribute__((nonnull))
34
 
#endif
35
 
;
36
 
void  BM_face_calc_normal(BMFace *f, float r_no[3]);
37
 
float BM_face_calc_area(BMFace *f);
38
 
float BM_face_calc_perimeter(BMFace *f);
39
 
void  BM_face_calc_plane(BMFace *f, float r_plane[3]);
40
 
void  BM_face_calc_center_bounds(BMFace *f, float center[3]);
41
 
void  BM_face_calc_center_mean(BMFace *f, float center[3]);
42
 
void  BM_face_calc_center_mean_weighted(BMFace *f, float center[3]);
43
 
 
44
 
void  BM_face_normal_update(BMFace *f);
45
 
void  BM_face_normal_update_vcos(BMesh *bm, BMFace *f, float no[3],
46
 
                                 float const (*vertexCos)[3]);
47
 
 
48
 
void  BM_edge_normals_update(BMEdge *e);
49
 
 
50
 
void  BM_vert_normal_update(BMVert *v);
51
 
void  BM_vert_normal_update_all(BMVert *v);
52
 
 
53
 
void  BM_face_normal_flip(BMesh *bm, BMFace *f);
54
 
bool  BM_face_point_inside_test(BMFace *f, const float co[3]);
 
30
#include "BLI_compiler_attrs.h"
 
31
 
 
32
int   BM_face_calc_tessellation(const BMFace *f, BMLoop **r_loops, int (*r_index)[3]) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL();
 
33
void  BM_face_calc_normal(const BMFace *f, float r_no[3]) ATTR_NONNULL();
 
34
void  BM_face_calc_normal_vcos(BMesh *bm, BMFace *f, float r_no[3],
 
35
                               float const (*vertexCos)[3]) ATTR_NONNULL();
 
36
float BM_face_calc_area(BMFace *f) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL();
 
37
float BM_face_calc_perimeter(BMFace *f) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL();
 
38
void  BM_face_calc_plane(BMFace *f, float r_plane[3]) ATTR_NONNULL();
 
39
void  BM_face_calc_center_bounds(BMFace *f, float center[3]) ATTR_NONNULL();
 
40
void  BM_face_calc_center_mean(BMFace *f, float center[3]) ATTR_NONNULL();
 
41
void  BM_face_calc_center_mean_vcos(BMesh *bm, BMFace *f, float r_cent[3],
 
42
                                    float const (*vertexCos)[3]) ATTR_NONNULL();
 
43
void  BM_face_calc_center_mean_weighted(BMFace *f, float center[3]) ATTR_NONNULL();
 
44
 
 
45
void  BM_face_normal_update(BMFace *f) ATTR_NONNULL();
 
46
 
 
47
void  BM_edge_normals_update(BMEdge *e) ATTR_NONNULL();
 
48
 
 
49
void  BM_vert_normal_update(BMVert *v) ATTR_NONNULL();
 
50
void  BM_vert_normal_update_all(BMVert *v) ATTR_NONNULL();
 
51
 
 
52
void  BM_face_normal_flip(BMesh *bm, BMFace *f) ATTR_NONNULL();
 
53
bool  BM_face_point_inside_test(BMFace *f, const float co[3]) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL();
55
54
 
56
55
void  BM_face_triangulate(BMesh *bm, BMFace *f, BMFace **newfaces,
57
 
                          const bool use_beauty, const bool use_tag);
58
 
 
59
 
void  BM_face_legal_splits(BMFace *f, BMLoop *(*loops)[2], int len);
60
 
 
61
 
void BM_face_as_array_vert_tri(BMFace *f, BMVert *r_verts[3]);
62
 
void BM_face_as_array_vert_quad(BMFace *f, BMVert *r_verts[4]);
 
56
                          const bool use_beauty, const bool use_tag) ATTR_NONNULL(1, 2);
 
57
 
 
58
void  BM_face_legal_splits(BMFace *f, BMLoop *(*loops)[2], int len) ATTR_NONNULL();
 
59
 
 
60
void BM_face_as_array_vert_tri(BMFace *f, BMVert *r_verts[3]) ATTR_NONNULL();
 
61
void BM_face_as_array_vert_quad(BMFace *f, BMVert *r_verts[4]) ATTR_NONNULL();
 
62
 
 
63
void BM_face_as_array_loop_tri(BMFace *f, BMLoop *r_loops[3]) ATTR_NONNULL();
 
64
void BM_face_as_array_loop_quad(BMFace *f, BMLoop *r_loops[4]) ATTR_NONNULL();
63
65
 
64
66
#endif /* __BMESH_POLYGON_H__ */