From 2918a3a2a374d9ad98923e9f6824534d7872c83f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 7 Jun 2022 21:22:11 +1000 Subject: Cleanup: spelling in comments, minor formatting tweaks --- source/blender/blenlib/BLI_math_geom.h | 2 +- source/blender/blenlib/BLI_math_matrix.h | 2 +- source/blender/blenlib/BLI_utildefines_iter.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/blenlib') diff --git a/source/blender/blenlib/BLI_math_geom.h b/source/blender/blenlib/BLI_math_geom.h index 5c1b6c8d774..93b413ab755 100644 --- a/source/blender/blenlib/BLI_math_geom.h +++ b/source/blender/blenlib/BLI_math_geom.h @@ -136,7 +136,7 @@ bool is_quad_convex_v2(const float v1[2], const float v2[2], const float v3[2], bool is_poly_convex_v2(const float verts[][2], unsigned int nr); /** * Check if either of the diagonals along this quad create flipped triangles - * (normals pointing away from eachother). + * (normals pointing away from each other). * - (1 << 0): (v1-v3) is flipped. * - (1 << 1): (v2-v4) is flipped. */ diff --git a/source/blender/blenlib/BLI_math_matrix.h b/source/blender/blenlib/BLI_math_matrix.h index edfe53bc938..2cd2a299d53 100644 --- a/source/blender/blenlib/BLI_math_matrix.h +++ b/source/blender/blenlib/BLI_math_matrix.h @@ -374,7 +374,7 @@ void invert_m3_m3_safe_ortho(float Ainv[3][3], const float A[3][3]); * A safe version of invert that uses valid axes, calculating the zero'd axis * based on the non-zero ones. * - * This works well for transformation matrices, when a single axis is zerod. + * This works well for transformation matrices, when a single axis is zeroed. */ void invert_m4_m4_safe_ortho(float Ainv[4][4], const float A[4][4]); diff --git a/source/blender/blenlib/BLI_utildefines_iter.h b/source/blender/blenlib/BLI_utildefines_iter.h index 870e90bd971..03dc775a66b 100644 --- a/source/blender/blenlib/BLI_utildefines_iter.h +++ b/source/blender/blenlib/BLI_utildefines_iter.h @@ -21,7 +21,7 @@ * (100, 3) -> [16, 49, 83] * (100, 100) -> [0..99] * - * \note this is mainly useful for numbers that might not divide evenly into eachother. + * \note this is mainly useful for numbers that might not divide evenly into each other. */ #define BLI_FOREACH_SPARSE_RANGE(src, dst, i) \ for (int _src = (src), _src2 = _src * 2, _dst2 = (dst)*2, _error = _dst2 - _src, i = 0, _delta; \ -- cgit v1.2.3