Mercurial > hg > orthanc-stone
diff Framework/Toolbox/FiniteProjectiveCamera.cpp @ 189:964118e7e6de wasm
unit test for AlignVectorsWithRotation
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 16 Mar 2018 13:19:23 +0100 |
parents | 45b03b04a777 |
children | 371da7fe2c0e |
line wrap: on
line diff
--- a/Framework/Toolbox/FiniteProjectiveCamera.cpp Fri Mar 16 13:02:17 2018 +0100 +++ b/Framework/Toolbox/FiniteProjectiveCamera.cpp Fri Mar 16 13:19:23 2018 +0100 @@ -253,8 +253,8 @@ } Matrix a; - LinearAlgebra::AlignVectorsWithRotation(a, camera - principalPoint, - LinearAlgebra::CreateVector(0, 0, -1)); + GeometryToolbox::AlignVectorsWithRotation(a, camera - principalPoint, + LinearAlgebra::CreateVector(0, 0, -1)); Matrix r = LinearAlgebra::Product(GeometryToolbox::CreateRotationMatrixAlongZ(angle), a);