Mercurial > hg > orthanc-stone
changeset 1974:446e0d3e9019
fix unit test GeometryToolbox.OrientationMarkers
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 28 Oct 2022 17:58:59 +0200 |
parents | 596f4752fa42 |
children | 5a434f5889f8 |
files | OrthancStone/Sources/Toolbox/CoordinateSystem3D.cpp |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancStone/Sources/Toolbox/CoordinateSystem3D.cpp Fri Oct 28 16:23:18 2022 +0200 +++ b/OrthancStone/Sources/Toolbox/CoordinateSystem3D.cpp Fri Oct 28 17:58:59 2022 +0200 @@ -398,9 +398,9 @@ const char orientationY = v[1] < 0 ? 'A' : 'P'; const char orientationZ = v[2] < 0 ? 'F' : 'H'; - double absX = abs(v[0]); - double absY = abs(v[1]); - double absZ = abs(v[2]); + double absX = std::abs(v[0]); + double absY = std::abs(v[1]); + double absZ = std::abs(v[2]); std::string result;