degrees

From OpenGL Reference
Jump to navigation Jump to search

Convert a quantity in radians to degrees.

Declaration[edit]

genType degrees( genType radians );


Parameters[edit]

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


Description[edit]

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

Version Support[edit]

degrees 1.1+

See Also[edit]

 radians 


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/.