Skip to content

Commit

Permalink
sytle
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 committed Oct 30, 2021
1 parent 973beea commit 936af60
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ogre2/src/Ogre2Camera.cc
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ VisualPtr Ogre2Camera::VisualAt(const ignition::math::Vector2i &_mousePos)
}

float ratio = screenScalingFactor();

ignition::math::Vector2i mousePos(
static_cast<int>(std::rint(ratio * _mousePos.X())),
static_cast<int>(std::rint(ratio * _mousePos.Y())));
Expand Down

0 comments on commit 936af60

Please sign in to comment.