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:
authorSybren A. Stüvel <sybren@blender.org>2020-05-01 16:33:19 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-05-01 16:38:45 +0300
commitb83a8d6fc43adc6d842f096ce8eaff0a95cd7e29 (patch)
treeea226962b497ccf43a9b19a7f44cc9e7c1d5bed3 /source/blender/blenlib/BLI_math_vector.h
parentf651548c2e15f0e7f0ec9a7ab6b94c7e3cd08d1c (diff)
Cleanup: Animation, unify FCurve extrapolation
Previously there were two functions for FCurve extrapolation, one for before the first keyframe, and the other for after the last. After the previous cleanup made the variable names consistent, it was clear that the code was almost identical. The biggest difference was in the sign of many of the calculations, which was cancelled out by swapping `B-A` to `A-B`. This showed that the computations are actually the same, and the only remaining difference was which neighbouring handle to use in case of Bézier curves. No functional changes. # Conflicts: # source/blender/blenkernel/intern/fcurve.c
Diffstat (limited to 'source/blender/blenlib/BLI_math_vector.h')
0 files changed, 0 insertions, 0 deletions