[Bf-blender-cvs] [1cf45fe10f7] master: Cleanup: spelling

Campbell Barton noreply at git.blender.org
Mon Aug 2 07:23:41 CEST 2021


Commit: 1cf45fe10f7f99905343012798be6dbac51c3384
Author: Campbell Barton
Date:   Mon Aug 2 15:22:54 2021 +1000
Branches: master
https://developer.blender.org/rB1cf45fe10f7f99905343012798be6dbac51c3384

Cleanup: spelling

===================================================================

M	intern/ghost/intern/GHOST_ImeWin32.cpp
M	source/blender/blenkernel/intern/mesh_remesh_voxel.cc
M	source/blender/blenlib/intern/mesh_intersect.cc
M	source/blender/gpu/intern/gpu_material.c
M	source/blender/simulation/intern/implicit_blender.c

===================================================================

diff --git a/intern/ghost/intern/GHOST_ImeWin32.cpp b/intern/ghost/intern/GHOST_ImeWin32.cpp
index 412f7e4276c..8daa07b5003 100644
--- a/intern/ghost/intern/GHOST_ImeWin32.cpp
+++ b/intern/ghost/intern/GHOST_ImeWin32.cpp
@@ -94,7 +94,7 @@ bool GHOST_ImeWin32::IsEnglishMode()
 bool GHOST_ImeWin32::IsImeKeyEvent(char ascii)
 {
   if (!(IsEnglishMode())) {
-    /* In Chinese, Japanese, Korena, all alpha keys are processed by IME. */
+    /* In Chinese, Japanese, Korean, all alpha keys are processed by IME. */
     if ((ascii >= 'A' && ascii <= 'Z') || (ascii >= 'a' && ascii <= 'z')) {
       return true;
     }
diff --git a/source/blender/blenkernel/intern/mesh_remesh_voxel.cc b/source/blender/blenkernel/intern/mesh_remesh_voxel.cc
index 1ac6ec1b9c1..8364b0ec024 100644
--- a/source/blender/blenkernel/intern/mesh_remesh_voxel.cc
+++ b/source/blender/blenkernel/intern/mesh_remesh_voxel.cc
@@ -72,7 +72,7 @@ static Mesh *remesh_quadriflow(const Mesh *input_mesh,
   /* Ensure that the triangulated mesh data is up to data */
   const MLoopTri *looptri = BKE_mesh_runtime_looptri_ensure(input_mesh);
 
-  /* Gather the required data for export to the internal quadiflow mesh format */
+  /* Gather the required data for export to the internal quadriflow mesh format. */
   MVertTri *verttri = (MVertTri *)MEM_callocN(
       sizeof(*verttri) * BKE_mesh_runtime_looptri_len(input_mesh), "remesh_looptri");
   BKE_mesh_runtime_verttri_from_looptri(
diff --git a/source/blender/blenlib/intern/mesh_intersect.cc b/source/blender/blenlib/intern/mesh_intersect.cc
index dcd432a88d5..5651e52799e 100644
--- a/source/blender/blenlib/intern/mesh_intersect.cc
+++ b/source/blender/blenlib/intern/mesh_intersect.cc
@@ -1165,8 +1165,8 @@ static int filter_plane_side(const double3 &p,
  * interesect_tri_tri and helper functions.
  * This code uses the algorithm of Guigue and Devillers, as described
  * in "Faster Triangle-Triangle Intersection Tests".
- * Adapted from github code by Eric Haines:
- * github.com/erich666/jgt-code/tree/master/Volume_08/Number_1/Guigue2003
+ * Adapted from code by Eric Haines:
+ * https://github.com/erich666/jgt-code/tree/master/Volume_08/Number_1/Guigue2003
  */
 
 /**
diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c
index 675036b31c3..37089785e0e 100644
--- a/source/blender/gpu/intern/gpu_material.c
+++ b/source/blender/gpu/intern/gpu_material.c
@@ -452,8 +452,8 @@ static void compute_sss_translucence_kernel(const GPUSssKernelData *kd,
     /* Distance from surface. */
     float d = kd->max_radius * ((float)i + 0.00001f) / ((float)resolution);
 
-    /* For each distance d we compute the radiance incoming from an hypothetic parallel plane. */
-    /* Compute radius of the footprint on the hypothetic plane */
+    /* For each distance d we compute the radiance incoming from an hypothetical parallel plane. */
+    /* Compute radius of the footprint on the hypothetical plane. */
     float r_fp = sqrtf(kd->max_radius * kd->max_radius - d * d);
     float r_step = r_fp / INTEGRAL_RESOLUTION;
     float area_accum = 0.0f;
diff --git a/source/blender/simulation/intern/implicit_blender.c b/source/blender/simulation/intern/implicit_blender.c
index 10a5f153662..ad903e9da4a 100644
--- a/source/blender/simulation/intern/implicit_blender.c
+++ b/source/blender/simulation/intern/implicit_blender.c
@@ -2204,7 +2204,7 @@ bool SIM_mass_spring_force_spring_bending_hair(Implicit_Data *data,
   world_to_root_v3(data, j, goal, target);
 
   spring_hairbend_forces(data, i, j, k, goal, stiffness, damping, k, vecnull, vecnull, fk);
-  negate_v3_v3(fj, fk); /* counterforce */
+  negate_v3_v3(fj, fk); /* Counter-force. */
 
   spring_hairbend_estimate_dfdx(data, i, j, k, goal, stiffness, damping, i, dfk_dxi);
   spring_hairbend_estimate_dfdx(data, i, j, k, goal, stiffness, damping, j, dfk_dxj);



More information about the Bf-blender-cvs mailing list