From ab845c0983615d676133821b1c3ae0613a7024e8 Mon Sep 17 00:00:00 2001 From: srit Date: Tue, 20 Jul 2010 19:29:43 +0000 Subject: [PATCH] Replaced round function with portable rint function --- vv/vvToolRigidReg.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); -- 2.45.1