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-07-23 09:56:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-07-23 10:03:51 +0300
commitced94bc11c84f3c997949c2a0ec2449054a8e417 (patch)
tree03a684ca483d2707905f001da29ad600c1eeb394 /source/blender/sequencer/intern/effects.c
parent7ce0d9d79166c281c161d124ee72dc448efd4325 (diff)
Cleanup: code comments punctuation / spacing
Diffstat (limited to 'source/blender/sequencer/intern/effects.c')
-rw-r--r--source/blender/sequencer/intern/effects.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/source/blender/sequencer/intern/effects.c b/source/blender/sequencer/intern/effects.c
index 9ccd55e3fbc..7757271a2e5 100644
--- a/source/blender/sequencer/intern/effects.c
+++ b/source/blender/sequencer/intern/effects.c
@@ -1428,10 +1428,9 @@ static void do_mul_effect_byte(float facf0,
fac1 = (int)(256.0f * facf0);
fac3 = (int)(256.0f * facf1);
- /* formula:
- * fac * (a * b) + (1 - fac) * a => fac * a * (b - 1) + axaux = c * px + py * s; //+centx
- * yaux = -s * px + c * py; //+centy
- */
+ /* Formula:
+ * `fac * (a * b) + (1 - fac) * a => fac * a * (b - 1) + axaux = c * px + py * s;` // + centx
+ * `yaux = -s * px + c * py;` // + centy */
while (y--) {
@@ -1483,9 +1482,8 @@ static void do_mul_effect_float(
fac1 = facf0;
fac3 = facf1;
- /* formula:
- * fac * (a * b) + (1 - fac) * a => fac * a * (b - 1) + a
- */
+ /* Formula:
+ * `fac * (a * b) + (1 - fac) * a => fac * a * (b - 1) + a`. */
while (y--) {
x = xo;