Fixed typo in sf::Transformable documentation
This commit is contained in:
parent
b52da13a20
commit
d9629cfca7
@ -359,10 +359,10 @@ private :
|
|||||||
/// In addition to the position, rotation and scale, sf::Transformable
|
/// In addition to the position, rotation and scale, sf::Transformable
|
||||||
/// provides an "origin" component, which represents the local origin
|
/// provides an "origin" component, which represents the local origin
|
||||||
/// of the three other components. Let's take an example with a 10x10
|
/// of the three other components. Let's take an example with a 10x10
|
||||||
/// pixels sprite. By default, the sprite is positionned/rotated/scaled
|
/// pixels sprite. By default, the sprite is positioned/rotated/scaled
|
||||||
/// relatively to its top-left corner, because it is the local point
|
/// relatively to its top-left corner, because it is the local point
|
||||||
/// (0, 0). But if we change the origin to be (5, 5), the sprite will
|
/// (0, 0). But if we change the origin to be (5, 5), the sprite will
|
||||||
/// be positionned/rotated/scaled around its center instead. And if
|
/// be positioned/rotated/scaled around its center instead. And if
|
||||||
/// we set the origin to (10, 10), it will be transformed around its
|
/// we set the origin to (10, 10), it will be transformed around its
|
||||||
/// bottom-right corner.
|
/// bottom-right corner.
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user