diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-05 15:36:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-05 15:36:15 +0400 |
commit | 37026b12ec1047dd5f4637ad281f108a7963af83 (patch) | |
tree | b45d0b945f84dff6181fe26a464ddbfe0d127f6a /source/blender/bmesh/operators/bmo_smooth_laplacian.c | |
parent | 36fc4e15f69f4150812408b32a9052017590eb8b (diff) |
Code cleanup: use bool for static methods
Diffstat (limited to 'source/blender/bmesh/operators/bmo_smooth_laplacian.c')
-rw-r--r-- | source/blender/bmesh/operators/bmo_smooth_laplacian.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/operators/bmo_smooth_laplacian.c b/source/blender/bmesh/operators/bmo_smooth_laplacian.c index c36c7467b89..e6321341950 100644 --- a/source/blender/bmesh/operators/bmo_smooth_laplacian.c +++ b/source/blender/bmesh/operators/bmo_smooth_laplacian.c @@ -67,7 +67,7 @@ struct BLaplacianSystem { typedef struct BLaplacianSystem LaplacianSystem; static float cotan_weight(float *v1, float *v2, float *v3); -static int vert_is_boundary(BMVert *v); +static bool vert_is_boundary(BMVert *v); static LaplacianSystem *init_laplacian_system(int a_numEdges, int a_numFaces, int a_numVerts); static void init_laplacian_matrix(LaplacianSystem *sys); static void delete_laplacian_system(LaplacianSystem *sys); @@ -392,7 +392,7 @@ static float cotan_weight(float *v1, float *v2, float *v3) return dot_v3v3(a, b) / clen; } -static int vert_is_boundary(BMVert *v) +static bool vert_is_boundary(BMVert *v) { BMEdge *ed; BMFace *f; |