Kaydet (Commit) 930127da authored tarafından Michael Stahl's avatar Michael Stahl

cppcanvas: try to make MSVC tinderbox happy

Change-Id: If4fd5a788d3907a986e27f5f53d5995c7035f685
üst ae0e295f
......@@ -1343,12 +1343,12 @@ namespace cppcanvas
B2DSize mappedSize( MapSize (dw/2, dh/2));
float endAngle = startAngle + sweepAngle;
startAngle = fmod (startAngle, M_PI*2);
startAngle = fmodf(startAngle, M_PI*2);
if (startAngle < 0)
startAngle += M_PI*2;
endAngle = fmod (endAngle, M_PI*2);
startAngle += static_cast<float>(M_PI*2);
endAngle = fmodf(endAngle, M_PI*2);
if (endAngle < 0)
endAngle += M_PI*2;
endAngle += static_cast<float>(M_PI*2);
if (sweepAngle < 0)
std::swap (endAngle, startAngle);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment