summaryrefslogtreecommitdiff
path: root/editor/dependency_editor.cpp
diff options
context:
space:
mode:
authorJihyun Yu <yjh0502@gmail.com>2021-08-21 16:57:59 +0900
committerJihyun Yu <yjh0502@gmail.com>2021-08-21 16:57:59 +0900
commit8a6fc54ccdba233b2951b8933798c03915739afd (patch)
tree13fd3f6d9c7c45df212ac440f8992427f880f64e /editor/dependency_editor.cpp
parente599f1bdf0ca63b43350115941b6fba9b5333a5c (diff)
Curve2D/Curve3D: exact linear interpolation
While calculating interpolated points, intervals between two baked points has been assummed to be `baked_interval`. The assumption could cause significant error in some extreme cases (for example #7088). To improve accuracy, `baked_dist_cache` is introduced, which stores distance from starting point for each baked points. `interpolate_baked` now returns exact linear-interpolated position along baked points.
Diffstat (limited to 'editor/dependency_editor.cpp')
0 files changed, 0 insertions, 0 deletions