Skip to content

Commit

Permalink
Minor typo
Browse files Browse the repository at this point in the history
Signed-off-by: Aditya <[email protected]>
  • Loading branch information
adityapande-1995 committed Sep 2, 2022
1 parent 083883f commit c70882b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/gz/rendering/base/BaseCamera.hh
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ namespace gz
const double height = static_cast<double>(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,
Expand Down

0 comments on commit c70882b

Please sign in to comment.