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:
authorCampbell Barton <ideasman42@gmail.com>2019-11-21 15:25:59 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-11-21 15:30:51 +0300
commit2ec9aa3b71f4ebd9676326b690aaf3049849adee (patch)
tree4964840f39114912872bb6a6c5604928bc99db9b /source/blender/blenlib/intern/math_vector.c
parentcee94789850e99fc68dd398e7d1abd67f0e2b85d (diff)
Cleanup: spelling
One of the corrections from last cleanup was wrong.
Diffstat (limited to 'source/blender/blenlib/intern/math_vector.c')
-rw-r--r--source/blender/blenlib/intern/math_vector.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/math_vector.c b/source/blender/blenlib/intern/math_vector.c
index 961850d3a9a..55f21250659 100644
--- a/source/blender/blenlib/intern/math_vector.c
+++ b/source/blender/blenlib/intern/math_vector.c
@@ -122,7 +122,7 @@ bool interp_v2_v2v2_slerp(float target[2], const float a[2], const float b[2], c
void interp_v3_v3v3_slerp_safe(float target[3], const float a[3], const float b[3], const float t)
{
if (UNLIKELY(!interp_v3_v3v3_slerp(target, a, b, t))) {
- /* axis are aligned so any otho vector is acceptable */
+ /* Axis are aligned so any orthogonal vector is acceptable. */
float ab_ortho[3];
ortho_v3_v3(ab_ortho, a);
normalize_v3(ab_ortho);
@@ -143,7 +143,7 @@ void interp_v3_v3v3_slerp_safe(float target[3], const float a[3], const float b[
void interp_v2_v2v2_slerp_safe(float target[2], const float a[2], const float b[2], const float t)
{
if (UNLIKELY(!interp_v2_v2v2_slerp(target, a, b, t))) {
- /* axis are aligned so any otho vector is acceptable */
+ /* Axis are aligned so any orthogonal vector is acceptable. */
float ab_ortho[2];
ortho_v2_v2(ab_ortho, a);
// normalize_v2(ab_ortho);