diff options
| author | Anilforextra <anilforextra@gmail.com> | 2022-01-29 21:16:13 +0545 |
|---|---|---|
| committer | Anilforextra <anilforextra@gmail.com> | 2022-01-31 23:39:25 +0545 |
| commit | 3382e0304d87fd0b3c6c4da681a14a7cf68a05ea (patch) | |
| tree | 9cc777b72182eeae116ac6136fdb5b661c711a41 /thirdparty/thorvg/src/lib/tvgMath.h | |
| parent | 9467350f37089eb3f4ef7de683daba28b0c69dec (diff) | |
| download | redot-engine-3382e0304d87fd0b3c6c4da681a14a7cf68a05ea.tar.gz | |
ThorVG: Sync with upstream 0.7.1
Changes: https://github.com/Samsung/thorvg/releases/tag/v0.7.1
Diffstat (limited to 'thirdparty/thorvg/src/lib/tvgMath.h')
| -rw-r--r-- | thirdparty/thorvg/src/lib/tvgMath.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/thorvg/src/lib/tvgMath.h b/thirdparty/thorvg/src/lib/tvgMath.h index 94b4fe1cf1..423fb6eb1b 100644 --- a/thirdparty/thorvg/src/lib/tvgMath.h +++ b/thirdparty/thorvg/src/lib/tvgMath.h @@ -47,7 +47,7 @@ static inline bool mathEqual(float a, float b) static inline bool mathRightAngle(const Matrix* m) { - auto radian = fabsf(atan2(m->e21, m->e11)); + auto radian = fabsf(atan2f(m->e21, m->e11)); if (radian < FLT_EPSILON || mathEqual(radian, float(M_PI_2)) || mathEqual(radian, float(M_PI))) return true; return false; } |
