diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-01 04:09:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-01 04:13:14 +0300 |
commit | 909665a0d4ed23620afc537c583a6e84cdee50b9 (patch) | |
tree | ada49fe1ae8d78bc5e0c7a79fcccbc2ceaa8a8b8 /source/blender/blenlib | |
parent | f70470b540b78c220f9679c6de2efb4bafc80648 (diff) |
ClangFormat: run with ReflowComments on source/
Prepare for enabling ReflowComments.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_listbase.h | 4 | ||||
-rw-r--r-- | source/blender/blenlib/BLI_rect.h | 2 | ||||
-rw-r--r-- | source/blender/blenlib/intern/DLRB_tree.c | 2 | ||||
-rw-r--r-- | source/blender/blenlib/intern/freetypefont.c | 4 | ||||
-rw-r--r-- | source/blender/blenlib/intern/math_geom.c | 2 | ||||
-rw-r--r-- | source/blender/blenlib/intern/noise.c | 4 |
6 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/blenlib/BLI_listbase.h b/source/blender/blenlib/BLI_listbase.h index 5d7fc5eeee3..aa3d7520506 100644 --- a/source/blender/blenlib/BLI_listbase.h +++ b/source/blender/blenlib/BLI_listbase.h @@ -27,8 +27,8 @@ #include "BLI_compiler_attrs.h" #include "BLI_utildefines.h" #include "DNA_listBase.h" -//struct ListBase; -//struct LinkData; +// struct ListBase; +// struct LinkData; #ifdef __cplusplus extern "C" { diff --git a/source/blender/blenlib/BLI_rect.h b/source/blender/blenlib/BLI_rect.h index f73f2e6706e..f23580916b1 100644 --- a/source/blender/blenlib/BLI_rect.h +++ b/source/blender/blenlib/BLI_rect.h @@ -66,7 +66,7 @@ void BLI_rctf_interp(struct rctf *rect, const struct rctf *rect_a, const struct rctf *rect_b, const float fac); -//void BLI_rcti_interp(struct rctf *rect, struct rctf *rect_a, struct rctf *rect_b, float fac); +// void BLI_rcti_interp(struct rctf *rect, struct rctf *rect_a, struct rctf *rect_b, float fac); bool BLI_rctf_clamp_pt_v(const struct rctf *rect, float xy[2]); bool BLI_rcti_clamp_pt_v(const struct rcti *rect, int xy[2]); bool BLI_rctf_clamp(struct rctf *rect, const struct rctf *rect_bounds, float r_xy[2]); diff --git a/source/blender/blenlib/intern/DLRB_tree.c b/source/blender/blenlib/intern/DLRB_tree.c index 59d80b45a84..7917730cd6a 100644 --- a/source/blender/blenlib/intern/DLRB_tree.c +++ b/source/blender/blenlib/intern/DLRB_tree.c @@ -515,7 +515,7 @@ static void insert_check_3(DLRBT_Tree *tree, DLRBT_Node *node) if ((node == node->parent->left) && (node->parent == gp->left)) { rotate_right(tree, gp); } - else { //if ((node == node->parent->right) && (node->parent == gp->right)) + else { // if ((node == node->parent->right) && (node->parent == gp->right)) rotate_left(tree, gp); } } diff --git a/source/blender/blenlib/intern/freetypefont.c b/source/blender/blenlib/intern/freetypefont.c index 92553ae89a9..7be7674069c 100644 --- a/source/blender/blenlib/intern/freetypefont.c +++ b/source/blender/blenlib/intern/freetypefont.c @@ -386,7 +386,7 @@ static int check_freetypefont(PackedFile *pf) err = FT_New_Memory_Face(library, pf->data, pf->size, 0, &face); if (err) { success = 0; - //XXX error("This is not a valid font"); + // XXX error("This is not a valid font"); } else { glyph_index = FT_Get_Char_Index(face, 'A'); @@ -400,7 +400,7 @@ static int check_freetypefont(PackedFile *pf) success = 1; } else { - //XXX error("Selected Font has no outline data"); + // XXX error("Selected Font has no outline data"); success = 0; } } diff --git a/source/blender/blenlib/intern/math_geom.c b/source/blender/blenlib/intern/math_geom.c index fa018cca642..898e97613c1 100644 --- a/source/blender/blenlib/intern/math_geom.c +++ b/source/blender/blenlib/intern/math_geom.c @@ -2856,7 +2856,7 @@ bool isect_ray_aabb_v3(const struct IsectRayAABB_Precalc *data, /* Note: tmax does not need to be updated since we don't use it * keeping this here for future reference - jwilkins */ - //if (tzmax < tmax) tmax = tzmax; + // if (tzmax < tmax) tmax = tzmax; if (tmin_out) { (*tmin_out) = tmin; diff --git a/source/blender/blenlib/intern/noise.c b/source/blender/blenlib/intern/noise.c index 2fbf64e1200..e388cc06295 100644 --- a/source/blender/blenlib/intern/noise.c +++ b/source/blender/blenlib/intern/noise.c @@ -27,8 +27,8 @@ /* local */ static float noise3_perlin(float vec[3]); -//static float turbulence_perlin(const float point[3], float lofreq, float hifreq); -//static float turbulencep(float noisesize, float x, float y, float z, int nr); +// static float turbulence_perlin(const float point[3], float lofreq, float hifreq); +// static float turbulencep(float noisesize, float x, float y, float z, int nr); /* UNUSED */ // #define HASHVEC(x, y, z) hashvectf + 3 * hash[(hash[(hash[(z) & 255] + (y)) & 255] + (x)) & 255] |