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:
authorJacques Lucke <jacques@blender.org>2020-09-09 11:44:46 +0300
committerJacques Lucke <jacques@blender.org>2020-09-09 11:44:46 +0300
commit916497627ce07318bb9bc82aabcb42af9561c560 (patch)
treeb9fe6b958087d04c870881a85c33bf7081e02235 /source/blender/blenkernel/intern/CCGSubSurf_inline.h
parent095142eae65820c8daf246def0866ac6accc9c87 (diff)
Cleanup: use bool instead of int
Diffstat (limited to 'source/blender/blenkernel/intern/CCGSubSurf_inline.h')
-rw-r--r--source/blender/blenkernel/intern/CCGSubSurf_inline.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/CCGSubSurf_inline.h b/source/blender/blenkernel/intern/CCGSubSurf_inline.h
index 8aa1fede57d..91a7129b433 100644
--- a/source/blender/blenkernel/intern/CCGSubSurf_inline.h
+++ b/source/blender/blenkernel/intern/CCGSubSurf_inline.h
@@ -213,15 +213,15 @@ BLI_INLINE void Normalize(float no[3])
/* Data layers mathematics. */
-BLI_INLINE int VertDataEqual(const float a[], const float b[], const CCGSubSurf *ss)
+BLI_INLINE bool VertDataEqual(const float a[], const float b[], const CCGSubSurf *ss)
{
int i;
for (i = 0; i < ss->meshIFC.numLayers; i++) {
if (a[i] != b[i]) {
- return 0;
+ return false;
}
}
- return 1;
+ return true;
}
BLI_INLINE void VertDataZero(float v[], const CCGSubSurf *ss)