perf: added tAtLength(len, totalLength) api to Bezier.
authorSubhransu Mohanty <sub.mohanty@samsung.com>
Fri, 7 Aug 2020 02:08:09 +0000 (11:08 +0900)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 9 Aug 2020 21:37:12 +0000 (06:37 +0900)
commite246e6c9c1bb286046967d7ebf354dc4ba843741
treefe7f3f058d5eba7f62e1a691ac270548af3bc422
parentb6bd5e7b192ebb6190b0c298ef9178e1cd9c6ba6
perf: added tAtLength(len, totalLength) api to Bezier.

When length of the bezier is known , then pass it to tAtLength function
to avoid doing expensive length() operation again.
src/lottie/lottiemodel.h
src/vector/vbezier.cpp
src/vector/vbezier.h