From c56c8ab5a3969bc32c24527294d66f2735a174ab Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 3 Jul 2003 18:54:22 +0000 Subject: [PATCH] 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. --- stepmania/src/Sprite.cpp | 5 ----- stepmania/src/Sprite.h | 1 - 2 files changed, 6 deletions(-) diff --git a/stepmania/src/Sprite.cpp b/stepmania/src/Sprite.cpp index 55e1cab88f..5c48d779fc 100644 --- a/stepmania/src/Sprite.cpp +++ b/stepmania/src/Sprite.cpp @@ -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 ) { diff --git a/stepmania/src/Sprite.h b/stepmania/src/Sprite.h index ad43641bb1..86f00e3143 100644 --- a/stepmania/src/Sprite.h +++ b/stepmania/src/Sprite.h @@ -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 );