more debugging

This commit is contained in:
Glenn Maynard
2004-06-06 05:14:00 +00:00
parent b115a685d9
commit 6f7d0f5686
+2 -1
View File
@@ -117,7 +117,8 @@ void Actor::BeginDraw() // set the world matrix and calculate actor properties
bool bBlinkOn = fPercentThroughEffect > 0.5f;
float fPercentBetweenColors = sinf( (fPercentThroughEffect + 0.25f) * 2 * PI ) / 2 + 0.5f;
ASSERT_M( fPercentBetweenColors >= 0 && fPercentBetweenColors <= 1, ssprintf("%f",fPercentBetweenColors) );
ASSERT_M( fPercentBetweenColors >= 0 && fPercentBetweenColors <= 1,
ssprintf("%f, %f, %f, %f, %f, %f, %f", fPercentBetweenColors, fPercentThroughEffect, fSecsIntoPeriod, m_fEffectPeriodSeconds, m_fEffectDelay, m_fSecsIntoEffect, m_fEffectOffset ) );
float fOriginalAlpha = m_tempState.diffuse[0].a;
int i;