mirror of
https://github.com/SFML/SFML.git
synced 2024-11-24 20:31:05 +08:00
Fix out of date documentation code
This commit is contained in:
parent
7eab4606e0
commit
44b5237148
@ -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
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user