Angle.cpp: fix gcc6 build
* Reindent source code, to fix gcc6 '-Werror=misleading-indentation' warnings. Signed-off-by: Augustin Cavalier <[email protected]>
This commit is contained in:
committed by
Augustin Cavalier
parent
f739df8e3c
commit
cc9bae8fb6
@@ -225,8 +225,8 @@ Angle::Constrain180()
|
||||
return Angle(fAngleValue);
|
||||
|
||||
float value = fmodf(fAngleValue, 180);;
|
||||
if (value < 0)
|
||||
value += 180;
|
||||
if (value < 0)
|
||||
value += 180;
|
||||
return Angle(value);
|
||||
}
|
||||
|
||||
@@ -242,8 +242,8 @@ Angle::Constrain90()
|
||||
return Angle(fAngleValue);
|
||||
|
||||
float value = fmodf(fAngleValue, 90);;
|
||||
if (value < 0)
|
||||
value += 90;
|
||||
if (value < 0)
|
||||
value += 90;
|
||||
return Angle(value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user