diff options
author | TonyG <TonyG> | 2020-09-15 12:03:30 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-09-15 12:04:59 +0300 |
commit | 60fee7832342195ddeb7c7b712b5a080bfd80f21 (patch) | |
tree | cffecdeb8993444b013c925edb44bb5dc83b0a38 | |
parent | 6c2c89611c5dfc281861eb03fcb877c794dd4560 (diff) |
Cleanup: FCurve, comments should be sentences
No functional changes.
-rw-r--r-- | source/blender/blenkernel/intern/fcurve.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/fcurve.c b/source/blender/blenkernel/intern/fcurve.c index d5b54eb1cd1..8a5ad483ffd 100644 --- a/source/blender/blenkernel/intern/fcurve.c +++ b/source/blender/blenkernel/intern/fcurve.c @@ -1316,14 +1316,14 @@ void correct_bezpart(const float v1[2], float v2[2], float v3[2], const float v4 { float h1[2], h2[2], len1, len2, len, fac; - /* calculate handle deltas */ + /* Calculate handle deltas. */ h1[0] = v1[0] - v2[0]; h1[1] = v1[1] - v2[1]; h2[0] = v4[0] - v3[0]; h2[1] = v4[1] - v3[1]; - /* calculate distances: + /* Calculate distances: * - len = span of time between keyframes * - len1 = length of handle of start key * - len2 = length of handle of end key @@ -1332,7 +1332,7 @@ void correct_bezpart(const float v1[2], float v2[2], float v3[2], const float v4 len1 = fabsf(h1[0]); len2 = fabsf(h2[0]); - /* if the handles have no length, no need to do any corrections */ + /* If the handles have no length, no need to do any corrections. */ if ((len1 + len2) == 0.0f) { return; } |