From 44b523714889097ee933baeb4973d7f89f311c12 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Mon, 9 Sep 2024 19:28:26 -0600 Subject: [PATCH] Fix out of date documentation code --- include/SFML/Graphics/Transform.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SFML/Graphics/Transform.hpp b/include/SFML/Graphics/Transform.hpp index 57e9d48bd..c20177cf3 100644 --- a/include/SFML/Graphics/Transform.hpp +++ b/include/SFML/Graphics/Transform.hpp @@ -384,7 +384,7 @@ constexpr Transform& operator*=(Transform& left, const Transform& right); /// sf::Transform transform = translation * rotation; /// /// // use the result to transform stuff... -/// sf::Vector2f point = transform.transformPoint(10, 20); +/// sf::Vector2f point = transform.transformPoint({10, 20}); /// sf::FloatRect rect = transform.transformRect(sf::FloatRect({0, 0}, {10, 100})); /// \endcode ///