mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-13 19:44:28 +00:00
common: tweaking bezier computation for perf.
It will sacrifice precision that is not noticeable and instead try to improve performance. Approximately 5% has beeen improved at Lottie example
This commit is contained in:
parent
63705d9f04
commit
362faa3c9a
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
#include "tvgMath.h"
|
||||
#include "tvgLines.h"
|
||||
|
||||
#define BEZIER_EPSILON 1e-4f
|
||||
#define BEZIER_EPSILON 1e-2f
|
||||
|
||||
/************************************************************************/
|
||||
/* Internal Class Implementation */
|
||||
|
|
Loading…
Add table
Reference in a new issue