- fixed some double to float conversion warnings.

This commit is contained in:
Christoph Oelckers 2020-06-04 10:50:36 +02:00 committed by drfrag
parent f0fa3b3d27
commit af10281799

View file

@ -61,6 +61,11 @@ inline float RAD2DEG(float deg)
return deg * float(180. / M_PI);
}
inline double RAD2DEG(double deg)
{
return deg * (180. / M_PI);
}
enum SectorRenderFlags
{
// This is used to avoid creating too many drawinfos