mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 21:53:41 +00:00
svg_loader: fix wasm data type compile error.
This commit is contained in:
parent
3e5d3b06c3
commit
a4b828c556
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ void _pathAppendArcTo(vector<PathCommand>* cmds, vector<Point>* pts, Point* cur,
|
|||
//(smaller than 90 degrees)
|
||||
//We add one extra segment because we want something
|
||||
//Smaller than 90deg (i.e. not 90 itself)
|
||||
segments = (int)(fabsf(deltaTheta / M_PI_2)) + 1.0f;
|
||||
segments = (int)(fabsf(deltaTheta / float(M_PI_2))) + 1.0f;
|
||||
delta = deltaTheta / segments;
|
||||
|
||||
//http://www.stillhq.com/ctpfaq/2001/comp.text.pdf-faq-2001-04.txt (section 2.13)
|
||||
|
|
Loading…
Add table
Reference in a new issue