diff --git a/include/SFML/Graphics/Transformable.hpp b/include/SFML/Graphics/Transformable.hpp index 47d165bd5..d6664c5e8 100644 --- a/include/SFML/Graphics/Transformable.hpp +++ b/include/SFML/Graphics/Transformable.hpp @@ -397,18 +397,18 @@ private : /// class MyEntity /// { /// public : -/// void setPosition(const MyVector& v) +/// void SetPosition(const MyVector& v) /// { -/// m_transform.setPosition(v.x(), v.y()); +/// myTransform.setPosition(v.x(), v.y()); /// } /// -/// void draw(sf::RenderTarget& target) const +/// void Draw(sf::RenderTarget& target) const /// { -/// target.draw(..., m_transform.getTransform()); +/// target.draw(..., myTransform.getTransform()); /// } /// /// private : -/// sf::Transformable m_transform; +/// sf::Transformable myTransform; /// }; /// \endcode ///