deg_to_rad
 
 
 

Returns the radian equivalent of a degree value. One radian equals roughly 57.29578 degrees.

float deg_to_rad( float degrees )

degrees is the degree angle you want to convert to radians.

Example

deg_to_rad(90)

Returns 1.571, which is the same as pi/2.