lottie/vdasher: improve readability for lineTo function 47/187647/3
authorYoungbok Shin <youngb.shin@samsung.com>
Mon, 27 Aug 2018 07:18:46 +0000 (16:18 +0900)
committerYoungbok Shin <youngb.shin@samsung.com>
Mon, 27 Aug 2018 08:06:59 +0000 (17:06 +0900)
commit9de63f660f14abb25a02f68ad9f0535ce9e79502
treefdbf68654a053229a247b04b21735c12c5895039
parentf86f1bedd7a4df8a5ec82842783019b89a86d3ca
lottie/vdasher: improve readability for lineTo function

It creates two internal functions for duplicated code.
By replacing nested 'if' conditions with the functions,
it improves readability and manageability.

Change-Id: I303ba6849f776c5f02df6552f0a37acecb14a78b
src/vector/vdasher.cpp
src/vector/vdasher.h