Skip to content

Commit

Permalink
add std::
Browse files Browse the repository at this point in the history
  • Loading branch information
skitaoka committed Apr 21, 2016
1 parent 610da19 commit 8016de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toonz/sources/tnztools/filltool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1722,7 +1722,7 @@ class NormalLineFillTool
/*--- 線分上にある全ての点でdoFillを行う ---*/
double dx = m_mousePosition.x - m_startPosition.x;
double dy = m_mousePosition.y - m_startPosition.y;
if (abs(dx) > abs(dy)) /*-- 横長の線分の場合 --*/
if (std::abs(dx) > std::abs(dy)) /*-- 横長の線分の場合 --*/
{
double k = dy / dx; /*-- 直線の傾き --*/
/*--- roundでは負値のときにうまく繋がらない ---*/
Expand Down

0 comments on commit 8016de0

Please sign in to comment.