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 <campbell@blender.org>2022-03-23 09:16:37 +0300
committerCampbell Barton <campbell@blender.org>2022-03-23 09:18:42 +0300
commit94b2d83421b2d1fceff2b49d8784afec80dc65e6 (patch)
tree802a40fdbe77026a5f7c5097d887c092a26a33d8 /source/blender/blenkernel
parent56dba4df3c7b939a853139c09a2a4e71409e9680 (diff)
Cleanup: move documentation to headers, other minor corrections
Diffstat (limited to 'source/blender/blenkernel')
-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 5c2d77f20a8..0a6ef8f0f01 100644
--- a/source/blender/blenkernel/intern/armature.c
+++ b/source/blender/blenkernel/intern/armature.c
@@ -2164,8 +2164,8 @@ void vec_roll_to_mat3_normalized(const float nor[3], const float roll, float r_m
const float y = nor[1];
const float z = nor[2];
- float theta = 1.0f + y; /* remapping Y from [-1,+1] to [0,2]. */
- const float theta_alt = x * x + z * z; /* squared distance from origin in x,z plane. */
+ float theta = 1.0f + y; /* Remapping Y from [-1,+1] to [0,2]. */
+ const float theta_alt = x * x + z * z; /* Squared distance from origin in x,z plane. */
float rMatrix[3][3], bMatrix[3][3];
BLI_ASSERT_UNIT_V3(nor);