From: srit Date: Tue, 20 Jul 2010 19:29:43 +0000 (+0000) Subject: Replaced round function with portable rint function X-Git-Tag: v1.2.0~525 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=ab845c0983615d676133821b1c3ae0613a7024e8;p=clitk.git Replaced round function with portable rint function --- diff --git a/vv/vvToolRigidReg.cxx b/vv/vvToolRigidReg.cxx index d1cc065..ec5d1ae 100644 --- a/vv/vvToolRigidReg.cxx +++ b/vv/vvToolRigidReg.cxx @@ -463,9 +463,9 @@ void vvToolRigidReg::ReadFile() //In the Order or Y X Z // //now postmultiply for the rotations - SetTransform(0,0,0,0,0,-round(orientations[2]),false); - SetTransform(0,0,0,-round(orientations[0]),0,0,false); - SetTransform(0,0,0,0,-round(orientations[1]),0,false); + SetTransform(0,0,0,0,0,-rint(orientations[2]),false); + SetTransform(0,0,0,-rint(orientations[0]),0,0,false); + SetTransform(0,0,0,0,-rint(orientations[1]),0,false); transform->GetPosition(translations); transform->Identity();