From 2f18e94d49a72f2492217e6a9af9f566098ed365 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 13 Feb 2007 04:59:18 +0000 Subject: [PATCH] remove unused --- stepmania/src/Sprite.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/stepmania/src/Sprite.cpp b/stepmania/src/Sprite.cpp index 6d0cf2ce5c..b441698348 100644 --- a/stepmania/src/Sprite.cpp +++ b/stepmania/src/Sprite.cpp @@ -538,16 +538,6 @@ void Sprite::DrawTexture( const TweenState *state ) } } -/* XXX: move to RageTypes.cpp */ -RageColor scale( float x, float l1, float h1, const RageColor &a, const RageColor &b ) -{ - return RageColor( - SCALE( x, l1, h1, a.r, b.r ), - SCALE( x, l1, h1, a.g, b.g ), - SCALE( x, l1, h1, a.b, b.b ), - SCALE( x, l1, h1, a.a, b.a ) ); -} - bool Sprite::EarlyAbortDraw() const { return m_pTexture == NULL && !m_bDrawIfTextureNull;