better output
This commit is contained in:
@@ -41,7 +41,7 @@ int RandomGen::operator() ( int maximum )
|
|||||||
|
|
||||||
void fapproach( float& val, float other_val, float to_move )
|
void fapproach( float& val, float other_val, float to_move )
|
||||||
{
|
{
|
||||||
ASSERT( to_move >= 0 );
|
RAGE_ASSERT_M( to_move >= 0, ssprintf("to_move: %f", to_move) );
|
||||||
if( val == other_val )
|
if( val == other_val )
|
||||||
return;
|
return;
|
||||||
float fDelta = other_val - val;
|
float fDelta = other_val - val;
|
||||||
|
|||||||
Reference in New Issue
Block a user