SFML community forums
Help => Graphics => Topic started by: Tank on August 28, 2012, 08:48:34 am
-
Heya,
is there a specific reason why the getTransform() member of sf::View is flagged for internal use in the documentation? Had someone asking on IRC how to transform a mouse coordinate into sf::View space, and using the view's transform for that seems to be quite natural for me. ;)
-
Had someone asking on IRC how to transform a mouse coordinate into sf::View space, and using the view's transform for that seems to be quite natural for me. ;)
The function sf::RenderWindow::convertCoords() (http://www.sfml-dev.org/documentation/2.0/classsf_1_1RenderTarget.php#ae5e7ba65ef73df2778b29b7fdcdb20ee) should already cover that :)
-
Oops. Thanks. :)