[all] typo fixed, CCSprite::isTextureRectTotated -> CCSprite::isTextureRectRotated

This commit is contained in:
walzer 2011-03-25 09:48:43 +08:00
parent 4e1138fa7b
commit 0450048a41
1 changed files with 13 additions and 13 deletions

View File

@ -109,7 +109,7 @@ public:
inline ccV3F_C4B_T2F_Quad getQuad(void) { return m_sQuad; }
/** returns whether or not the texture rectangle is rotated */
inline bool isTextureRectTotated(void) { return m_bRectRotated; }
inline bool isTextureRectRotated(void) { return m_bRectRotated; }
/** Set the index used on the TextureAtlas. */
inline unsigned int getAtlasIndex(void) { return m_uAtlasIndex; }
@ -222,20 +222,20 @@ public:
virtual void setIsVisible(bool bVisible);
void setFlipX(bool bFlipX);
void setFlipY(bool bFlipY);
/** whether or not the sprite is flipped horizontally.
It only flips the texture of the sprite, and not the texture of the sprite's children.
Also, flipping the texture doesn't alter the anchorPoint.
If you want to flip the anchorPoint too, and/or to flip the children too use:
sprite->setScaleX(sprite->getScaleX() * -1);
/** whether or not the sprite is flipped horizontally.
It only flips the texture of the sprite, and not the texture of the sprite's children.
Also, flipping the texture doesn't alter the anchorPoint.
If you want to flip the anchorPoint too, and/or to flip the children too use:
sprite->setScaleX(sprite->getScaleX() * -1);
*/
bool isFlipX(void);
/** whether or not the sprite is flipped vertically.
It only flips the texture of the sprite, and not the texture of the sprite's children.
Also, flipping the texture doesn't alter the anchorPoint.
If you want to flip the anchorPoint too, and/or to flip the children too use:
sprite->setScaleY(sprite->getScaleY() * -1);
/** whether or not the sprite is flipped vertically.
It only flips the texture of the sprite, and not the texture of the sprite's children.
Also, flipping the texture doesn't alter the anchorPoint.
If you want to flip the anchorPoint too, and/or to flip the children too use:
sprite->setScaleY(sprite->getScaleY() * -1);
*/
bool isFlipY(void);