STYLE: use degToRad() instead of pi/180

This commit is contained in:
Mark Olesen
2019-04-26 11:48:27 +02:00
committed by Andrew Heather
parent 5f40a738d3
commit e1609d16d1
16 changed files with 60 additions and 79 deletions

View File

@ -199,13 +199,13 @@ int main(int argc, char *argv[])
<< Ra
(
axisAngle.first() / mag(axisAngle.first()),
axisAngle.second() * constant::mathematical::pi/180.0
degToRad(axisAngle.second())
) << nl;
Info<< "-ve Ra = "
<< Ra
(
axisAngle.first() / mag(axisAngle.first()),
-axisAngle.second() * constant::mathematical::pi/180.0
degToRad(-axisAngle.second())
) << nl;
}