Light | Dark

radians

Name

radians — convert a quantity in degrees to radians

Declaration

genType radians( genType degrees);

Parameters

degrees

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

Description

radians converts a quantity, specified in degrees into radians. That is, the return value is πdegrees 180 .

Version Support

OpenGL Shading Language Version
Function Name 1.10 1.20 1.30 1.40 1.50 3.30 4.00 4.10 4.20 4.30 4.40 4.50
radians

See Also

degrees,

Think you can improve this page? Edit this page on GitHub.