From 1d80eaa59b3c08f1779863b312d9e7438f864635 Mon Sep 17 00:00:00 2001 From: Marco Antognini Date: Thu, 23 Aug 2012 17:15:03 +0200 Subject: [PATCH] Revert Transformable documentation I was a bit too enthusiastic on this one. (see http://en.sfml-dev.org/forums/index.php?topic=8943.msg60213#msg60213) --- include/SFML/Graphics/Transformable.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 ///