diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-11 02:51:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-11 02:51:25 +0300 |
commit | ffd0fee97c364866d387718a9ee172466054133b (patch) | |
tree | 3a057118eb8fd09e857853ae16277853cecd286a /source/blender/blenlib/intern | |
parent | 9ca6fc41ae7cc9d8e5ce89b10d1237c035ce5d63 (diff) |
Cleanup: comment indentation & spelling
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/BLI_kdopbvh.c | 2 | ||||
-rw-r--r-- | source/blender/blenlib/intern/math_geom.c | 2 | ||||
-rw-r--r-- | source/blender/blenlib/intern/path_util.c | 4 | ||||
-rw-r--r-- | source/blender/blenlib/intern/threads.c | 14 |
4 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/blenlib/intern/BLI_kdopbvh.c b/source/blender/blenlib/intern/BLI_kdopbvh.c index 3d73e95ad08..8f92f00c6d9 100644 --- a/source/blender/blenlib/intern/BLI_kdopbvh.c +++ b/source/blender/blenlib/intern/BLI_kdopbvh.c @@ -1793,7 +1793,7 @@ int BLI_bvhtree_range_query( /* -------------------------------------------------------------------- */ /** \name BLI_bvhtree_nearest_projected -* \{ */ + * \{ */ static void bvhtree_nearest_projected_dfs_recursive( BVHNearestProjectedData *__restrict data, const BVHNode *node) diff --git a/source/blender/blenlib/intern/math_geom.c b/source/blender/blenlib/intern/math_geom.c index f661ac01023..0b861a1b47a 100644 --- a/source/blender/blenlib/intern/math_geom.c +++ b/source/blender/blenlib/intern/math_geom.c @@ -774,7 +774,7 @@ float dist_squared_ray_to_aabb_v3_simple( /* -------------------------------------------------------------------- */ /** \name dist_squared_to_projected_aabb and helpers -* \{ */ + * \{ */ /** * \param projmat: Projection Matrix (usually perspective diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c index a41f524ecda..a80b4ea9263 100644 --- a/source/blender/blenlib/intern/path_util.c +++ b/source/blender/blenlib/intern/path_util.c @@ -1259,8 +1259,8 @@ void BLI_setenv_if_new(const char *env, const char *val) } /** -* get an env var, result has to be used immediately -*/ + * Get an env var, result has to be used immediately. + */ const char *BLI_getenv(const char *env) { #ifdef _MSC_VER diff --git a/source/blender/blenlib/intern/threads.c b/source/blender/blenlib/intern/threads.c index 20e332bcc29..8a9e9f1a1eb 100644 --- a/source/blender/blenlib/intern/threads.c +++ b/source/blender/blenlib/intern/threads.c @@ -857,13 +857,13 @@ static bool check_is_threadripper2_alike_topology(void) } if (strstr(cpu_brand, "Threadripper")) { /* NOTE: We consinder all Threadrippers having similar topology to - * the second one. This is because we are trying to utilize NUMA node - * 0 as much as possible. This node does exist on earlier versions of - * threadripper and setting affinity to it should not have negative - * effect. - * This allows us to avoid per-model check, making the code more - * reliable for the CPUs which are not yet released. - */ + * the second one. This is because we are trying to utilize NUMA node + * 0 as much as possible. This node does exist on earlier versions of + * threadripper and setting affinity to it should not have negative + * effect. + * This allows us to avoid per-model check, making the code more + * reliable for the CPUs which are not yet released. + */ if (strstr(cpu_brand, "2990WX") || strstr(cpu_brand, "2950X")) { is_threadripper2 = true; } |