1c1 < void Sprite::ScaleToClipped( float fWidth, float fHeight ) --- > void Sprite::CropTo( float fWidth, float fHeight ) 9,11c9 < float fScaleFudgePercent = 0.15f; // scale up to this amount in one dimension to avoid clipping. < < // save the original X and Y. We're going to restore them later. --- > // save the original X&Y. We're going to restore them later. 25c23 < if( bXDimNeedsToBeCropped ) // crop X --- > if( bXDimNeedsToBeCropped ) // crop X 28d25 < fPercentageToCutOff = std::max( fPercentageToCutOff-fScaleFudgePercent, 0.f ); 39c36 < else // crop Y --- > else // crop Y 42d38 < fPercentageToCutOff = std::max( fPercentageToCutOff-fScaleFudgePercent, 0.f );