This commit is contained in:
Glenn Maynard
2005-01-01 22:07:52 +00:00
parent b7487c02a4
commit 59ae043f2b
+1 -2
View File
@@ -243,8 +243,7 @@ void BitmapText::DrawChars()
if( FadeSize.left > 0.001f )
{
/* Add .5, so we fade wrt. the center of the vert, not the left side.
* TODO: fade all channels, not just alpha */
/* Add .5, so we fade wrt. the center of the vert, not the left side. */
float fPercent = SCALE( start+0.5f, fLeftFadeStartGlyph, fLeftFadeStopGlyph, 0.0f, 1.0f );
fPercent = clamp( fPercent, 0.0f, 1.0f );
fPercent *= LeftAlpha;