Remove unused SetCroppedSize.
By the way, be careful when adding prototypes: don't add them between another prototype and a comment about it, or you'll cause confusion later on.
This commit is contained in:
@@ -489,11 +489,6 @@ void Sprite::StopUsingCustomCoords()
|
||||
m_bUsingCustomTexCoords = false;
|
||||
}
|
||||
|
||||
void Sprite::SetCroppedSize( float fWidth, float fHeight )
|
||||
{
|
||||
m_fRememberedClipWidth = fWidth;
|
||||
m_fRememberedClipHeight = fHeight;
|
||||
}
|
||||
|
||||
void Sprite::ScaleToClipped( float fWidth, float fHeight )
|
||||
{
|
||||
|
||||
@@ -53,7 +53,6 @@ public:
|
||||
void SetTexCoordVelocity(float fVelX, float fVelY) { m_fTexCoordVelocityX = fVelX; m_fTexCoordVelocityY = fVelY; }
|
||||
// Scale the Sprite maintaining the aspect ratio so that it fits
|
||||
// within (fWidth,fHeight) and is clipped to (fWidth,fHeight).
|
||||
void SetCroppedSize( float fWidth, float fHeight );
|
||||
void ScaleToClipped( float fWidth, float fHeight );
|
||||
static bool IsDiagonalBanner( int iWidth, int iHeight );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user