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-05 08:23:34 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-05 08:23:34 +0300
commit17e1e2bfd8dfbd6f6fc42cc305e93393342020f7 (patch)
tree8a164422f7eb7d3aa9f7473c19c80da535c29a05 /source/blender/editors/object/object_warp.c
parentb62b923f544fa1df0aecd56f3568dd5185601306 (diff)
Cleanup: correct spelling in comments
Diffstat (limited to 'source/blender/editors/object/object_warp.c')
-rw-r--r--source/blender/editors/object/object_warp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/object/object_warp.c b/source/blender/editors/object/object_warp.c
index b36a8543d67..8f5a60ace2e 100644
--- a/source/blender/editors/object/object_warp.c
+++ b/source/blender/editors/object/object_warp.c
@@ -75,7 +75,7 @@ static void object_warp_transverts_minmax_x(TransVertStore *tvs,
for (int i = 0; i < tvs->transverts_tot; i++, tv++) {
float val;
- /* convert objectspace->viewspace */
+ /* Convert object-space to view-space. */
val = dot_m4_v3_row_x(mat_view, tv->loc);
min = min_ff(min, val);
@@ -123,7 +123,7 @@ static void object_warp_transverts(TransVertStore *tvs,
float co[3], co_add[2];
float val, phi;
- /* convert objectspace->viewspace */
+ /* Convert object-space to view-space. */
mul_v3_m4v3(co, mat_view, tv->loc);
sub_v2_v2(co, center_view);
@@ -158,7 +158,7 @@ static void object_warp_transverts(TransVertStore *tvs,
add_v2_v2(co, co_add);
- /* convert viewspace->objectspace */
+ /* Convert view-space to object-space. */
add_v2_v2(co, center_view);
mul_v3_m4v3(tv->loc, imat_view, co);
}
@@ -187,7 +187,7 @@ static int object_warp_verts_exec(bContext *C, wmOperator *op)
return OPERATOR_CANCELLED;
}
- /* get viewmatrix */
+ /* Get view-matrix. */
{
PropertyRNA *prop_viewmat = RNA_struct_find_property(op->ptr, "viewmat");
if (RNA_property_is_set(op->ptr, prop_viewmat)) {