- fixed several incorrect uses of abs instead of fabs.
This commit is contained in:
parent
925305aa05
commit
ece10bb57f
2 changed files with 5 additions and 5 deletions
|
|
@ -731,7 +731,7 @@ void gl_RenderModel(GLSprite * spr, int cm)
|
|||
{
|
||||
if((x * cos(angle * M_PI / 180) + y * sin(angle * M_PI / 180)) / sqrt(x * x + y * y) < 0) pitch *= -1;
|
||||
}
|
||||
else pitch = abs(pitch);
|
||||
else pitch = fabs(pitch);
|
||||
}
|
||||
|
||||
if( smf->flags & MDL_ROTATING )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue