thebookofshaders/glossary/radians
Kvmilos edb0e29f8a unified the singular/plural forms 2025-02-09 14:57:23 +01:00
..
README-ua.md add ukrainian translation 2023-08-06 20:36:42 +03:00
README-vi.md Translate the glossary section 2020-07-30 16:34:42 +07:00
README.md unified the singular/plural forms 2025-02-09 14:57:23 +01:00

README.md

Radians

Convert a quantity in degrees to radians

Declaration

float radians(float degrees)  
vec2 radians(vec2 degrees)  
vec3 radians(vec3 degrees)  
vec4 radians(vec4 degrees)

Parameters

degrees specifies 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 (PI * degrees)/180.

See Also

degrees