radians

From OpenGL Reference
Jump to navigation Jump to search

Convert a quantity in degrees to radians.

Declaration[edit]

genType radians( genType degrees );


Parameters[edit]

degrees - Specify the quantity, in degrees, to be converted to radians.


Description[edit]

 radians converts a quantity specified in degrees into radians. The return value is ${ \pi \times degrees } \over 180$.


Version Support[edit]

radians 1.1+

See Also[edit]

 degrees ,


Copyright[edit]

Copyright© 2011-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.