- fixed some double to float conversion warnings.

This commit is contained in:
Christoph Oelckers 2020-06-04 08:05:38 +02:00
parent 8b91bf9b61
commit b441b649c4
1 changed files with 4 additions and 0 deletions

View File

@ -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.