mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-05 21:21:06 +00:00
560 B
560 B
Tan
Return the tangent of the parameter
float tan(float angle)
vec2 tan(vec2 angle)
vec3 tan(vec3 angle)
vec4 tan(vec4 angle)
Parameters
angle
Specify the quantity, in radians, of which to return the tangent.
Description
tan()
returns the trigonometric tangent of angle.