mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 12:51:05 +08:00
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)
This commit is contained in:
parent
f970a6441f
commit
1d80eaa59b
@ -397,18 +397,18 @@ private :
|
|||||||
/// class MyEntity
|
/// class MyEntity
|
||||||
/// {
|
/// {
|
||||||
/// public :
|
/// 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 :
|
/// private :
|
||||||
/// sf::Transformable m_transform;
|
/// sf::Transformable myTransform;
|
||||||
/// };
|
/// };
|
||||||
/// \endcode
|
/// \endcode
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user