scale -> depth

release/4.3a0
dellaert 2015-02-21 09:35:27 +01:00
parent ead8349827
commit 90d2146f62
1 changed files with 2 additions and 2 deletions

View File

@ -56,8 +56,8 @@ Point2 PinholeBase::project_to_camera(const Point3& P,
/* ************************************************************************* */ /* ************************************************************************* */
Point3 PinholeBase::backproject_from_camera(const Point2& p, Point3 PinholeBase::backproject_from_camera(const Point2& p,
const double scale) { const double depth) {
return Point3(p.x() * scale, p.y() * scale, scale); return Point3(p.x() * depth, p.y() * depth, depth);
} }
/* ************************************************************************* */ /* ************************************************************************* */