diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-20 02:16:24 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-20 03:41:31 +0300 |
commit | 16afff2ddc4580cfe3a952c3e60e0950ae0487b6 (patch) | |
tree | 436e2b7c1d265f8d110cc2a52d0cadf926794db2 /source/blender/blenkernel/intern/object.cc | |
parent | 42717596d0c8638bd672966c0f1198db8344dcd5 (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/blenkernel/intern/object.cc')
-rw-r--r-- | source/blender/blenkernel/intern/object.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/source/blender/blenkernel/intern/object.cc b/source/blender/blenkernel/intern/object.cc index 5ff1f6b950f..cc68337e570 100644 --- a/source/blender/blenkernel/intern/object.cc +++ b/source/blender/blenkernel/intern/object.cc @@ -3564,19 +3564,19 @@ void BKE_object_apply_parent_inverse(struct Object *ob) * Use parent's world transform as the child's origin. * * Let: - * local = identity - * world = orthonormalized(parent) + * `local = identity` + * `world = orthonormalized(parent)` * * Then: - * world = parent @ parentinv @ local - * inv(parent) @ world = parentinv - * parentinv = inv(parent) @ world + * `world = parent @ parentinv @ local` + * `inv(parent) @ world = parentinv` + * `parentinv = inv(parent) @ world` * - * NOTE: If ob->obmat has shear, then this `parentinv` is insufficient because - * parent @ parentinv => shearless result + * NOTE: If `ob->obmat` has shear, then this `parentinv` is insufficient because + * `parent @ parentinv => shearless result` * * Thus, local will have shear which cannot be decomposed into TRS: - * local = inv(parent @ parentinv) @ world + * `local = inv(parent @ parentinv) @ world` * * This is currently not supported for consistency in the handling of shear during the other * parenting ops: Parent (Keep Transform), Clear [Parent] and Keep Transform. @@ -3591,11 +3591,11 @@ void BKE_object_apply_parent_inverse(struct Object *ob) /* Now, preserve `world` given the new `parentinv`. * - * world = parent @ parentinv @ local - * inv(parent) @ world = parentinv @ local - * inv(parentinv) @ inv(parent) @ world = local + * `world = parent @ parentinv @ local` + * `inv(parent) @ world = parentinv @ local` + * `inv(parentinv) @ inv(parent) @ world = local` * - * local = inv(parentinv) @ inv(parent) @ world + * `local = inv(parentinv) @ inv(parent) @ world` */ float ob_local[4][4]; copy_m4_m4(ob_local, ob->parentinv); |