fixed wrong tap darking w/ reverse
working on course Ranking
This commit is contained in:
@@ -182,9 +182,9 @@ float ArrowGetGlow( PlayerNumber pn, float fYPos, float fPercentFadeToFail )
|
||||
return SCALE( fDistFromHalf, 0, 0.5f, 1.3f, 0 );
|
||||
}
|
||||
|
||||
float ArrowGetBrightness( PlayerNumber pn, float fYPos )
|
||||
float ArrowGetBrightness( PlayerNumber pn, float fYOffset )
|
||||
{
|
||||
float fBrightness = SCALE( fYPos, 0, -ARROW_SIZE, 1.f, 0.f );
|
||||
float fBrightness = SCALE( fYOffset, 0, -ARROW_SIZE, 1.f, 0.f );
|
||||
CLAMP( fBrightness, 0, 1 );
|
||||
printf( "fBrightness = %f\n", fBrightness );
|
||||
return fBrightness;
|
||||
|
||||
Reference in New Issue
Block a user