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>2021-10-22 02:28:56 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-10-22 02:28:56 +0300
commit05ab3356a719ca1991dc993e2a055962e24aa138 (patch)
tree7019a401b278517c54864ac9cdd22a7a03c7eb7d /source/blender/blenkernel/intern/armature.c
parent3e1baa7d539757b8e5fa870d4909354e0b5645b9 (diff)
Cleanup: spelling in comments, use C style comments
Diffstat (limited to 'source/blender/blenkernel/intern/armature.c')
-rw-r--r--source/blender/blenkernel/intern/armature.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/armature.c b/source/blender/blenkernel/intern/armature.c
index 65fdc9278e1..b64b050f4e7 100644
--- a/source/blender/blenkernel/intern/armature.c
+++ b/source/blender/blenkernel/intern/armature.c
@@ -2245,8 +2245,8 @@ void mat3_vec_to_roll(const float mat[3][3], const float vec[3], float *r_roll)
*/
void vec_roll_to_mat3_normalized(const float nor[3], const float roll, float r_mat[3][3])
{
- const float SAFE_THRESHOLD = 6.1e-3f; /* theta above this value has good enough precision. */
- const float CRITICAL_THRESHOLD = 2.5e-4f; /* true singularity if xz distance is below this. */
+ const float SAFE_THRESHOLD = 6.1e-3f; /* Theta above this value has good enough precision. */
+ const float CRITICAL_THRESHOLD = 2.5e-4f; /* True singularity if XZ distance is below this. */
const float THRESHOLD_SQUARED = CRITICAL_THRESHOLD * CRITICAL_THRESHOLD;
const float x = nor[0];