From c70882b96fc126e13fa82bc60ead17bf803bec08 Mon Sep 17 00:00:00 2001 From: Aditya Date: Fri, 2 Sep 2022 00:14:44 -0700 Subject: [PATCH] Minor typo Signed-off-by: Aditya --- include/gz/rendering/base/BaseCamera.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gz/rendering/base/BaseCamera.hh b/include/gz/rendering/base/BaseCamera.hh index 08fc2c287..d475802fe 100644 --- a/include/gz/rendering/base/BaseCamera.hh +++ b/include/gz/rendering/base/BaseCamera.hh @@ -513,7 +513,7 @@ namespace gz const double height = static_cast(this->ImageHeight()); double fX = (projectionMat(0, 0) * width) / 2.0; double fY = (projectionMat(1, 1) * height) / 2.0; - double cX = (-1.0 * width * (projectionMat(0, 2) - 1.0) / 2.0; + double cX = (-1.0 * width * (projectionMat(0, 2) - 1.0)) / 2.0; double cY = height + (height * (projectionMat(1, 2) - 1)) / 2.0; return math::Matrix3d(fX, 0, cX,