mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- fixed some double to float conversion warnings.
This commit is contained in:
parent
8b91bf9b61
commit
b441b649c4
1 changed files with 4 additions and 0 deletions
|
@ -88,6 +88,10 @@ inline float RAD2DEG(float deg)
|
|||
return deg * float(180. / M_PI);
|
||||
}
|
||||
|
||||
inline double RAD2DEG(double deg)
|
||||
{
|
||||
return deg * (180. / M_PI);
|
||||
}
|
||||
|
||||
// Auto-registration sections for GCC.
|
||||
// Apparently, you cannot do string concatenation inside section attributes.
|
||||
|
|
Loading…
Reference in a new issue