From 90d2146f62c5373a00c10e71cb91059fc9eed3bd Mon Sep 17 00:00:00 2001 From: dellaert Date: Sat, 21 Feb 2015 09:35:27 +0100 Subject: [PATCH] scale -> depth --- gtsam/geometry/CalibratedCamera.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtsam/geometry/CalibratedCamera.cpp b/gtsam/geometry/CalibratedCamera.cpp index 59d7e6abf..41ed3e331 100644 --- a/gtsam/geometry/CalibratedCamera.cpp +++ b/gtsam/geometry/CalibratedCamera.cpp @@ -56,8 +56,8 @@ Point2 PinholeBase::project_to_camera(const Point3& P, /* ************************************************************************* */ Point3 PinholeBase::backproject_from_camera(const Point2& p, - const double scale) { - return Point3(p.x() * scale, p.y() * scale, scale); + const double depth) { + return Point3(p.x() * depth, p.y() * depth, depth); } /* ************************************************************************* */