mobiground/torad.c

6 lines
114 B
C

float toRad ( float deg )
{
/* 180 deg = pi */
/* "deg" deg = x */
return deg * 3.141593f / 180.0f;
}