engine: common: make some simple functions inlined

This commit is contained in:
Alibek Omarov
2024-10-14 19:20:47 +03:00
parent f52c825bf5
commit 43e06ccd45
6 changed files with 100 additions and 117 deletions

View File

@@ -759,25 +759,6 @@ void GAME_EXPORT COM_FreeFile( void *buffer )
free( buffer );
}
/*
=============
COM_NormalizeAngles
=============
*/
void COM_NormalizeAngles( vec3_t angles )
{
int i;
for( i = 0; i < 3; i++ )
{
if( angles[i] > 180.0f )
angles[i] -= 360.0f;
else if( angles[i] < -180.0f )
angles[i] += 360.0f;
}
}
/*
=============
pfnGetModelType