mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-14 12:04:29 +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
b001b46c49
commit
bbf182848f
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
||||||
#include "tvgMath.h"
|
#include "tvgMath.h"
|
||||||
#include "tvgLines.h"
|
#include "tvgLines.h"
|
||||||
|
|
||||||
#define BEZIER_EPSILON 1e-4f
|
#define BEZIER_EPSILON 1e-2f
|
||||||
|
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/* Internal Class Implementation */
|
/* Internal Class Implementation */
|
||||||
|
|
Loading…
Add table
Reference in a new issue