deg2rad

From ZDoom Wiki
Jump to navigation Jump to search

This function converts degrees to radians.

 function int deg2rad (int deg)
 {
   return FixedMul(deg, 0.0174532925); 
 }