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:
Glenn Maynard
2003-07-03 18:54:22 +00:00
parent 091df30c4c
commit c56c8ab5a3
2 changed files with 0 additions and 6 deletions
-5
View File
@@ -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 )
{
-1
View File
@@ -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 );