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-02-09 12:37:40 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-09 14:31:28 +0300
commita7b931e87f91a85dd18aef395d4796e8e5bc47c3 (patch)
tree99a6c2473596c6a6154fd1a0050a58ff904dc5ad /source/blender/editors/uvedit
parent62195fb5b37d3938e3878af149073f1b3ce945db (diff)
Cleanup: comments, replace German expression with English
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r--source/blender/editors/uvedit/uvedit_unwrap_ops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.c b/source/blender/editors/uvedit/uvedit_unwrap_ops.c
index be54df1ce9e..fc5f41e8ed5 100644
--- a/source/blender/editors/uvedit/uvedit_unwrap_ops.c
+++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.c
@@ -1336,9 +1336,9 @@ static void uv_map_rotation_matrix_ex(float result[4][4],
zero_m4(rotup);
zero_m4(rotside);
- /* compensate front/side.. against opengl x,y,z world definition */
- /* this is "kanonen gegen spatzen", a few plus minus 1 will do here */
- /* i wanted to keep the reason here, so we're rotating*/
+ /* Compensate front/side.. against opengl x,y,z world definition.
+ * This is "a sledgehammer to crack a nut" (overkill), a few plus minus 1 will do here.
+ * I wanted to keep the reason here, so we're rotating. */
sideangle = (float)M_PI * (sideangledeg + 180.0f) / 180.0f;
rotside[0][0] = cosf(sideangle);
rotside[0][1] = -sinf(sideangle);