mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-08 01:10:27 +00:00
586 B
586 B
Sin
Return the sine of the parameter
Declaration
float sin(float angle)
vec2 sin(vec2 angle)
vec3 sin(vec3 angle)
vec4 sin(vec4 angle)
Parameters
angle
specify the quantity, in radians, of which to return the sine.
Description
sin()
returns the trigonometric sine of angle.