thebookofshaders/glossary/tan
2016-04-06 11:44:45 -04:00
..
README.md folder structure for glossary 2016-04-06 11:44:45 -04:00

Tan

Return the tangent of the parameter

Declaration

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.

See Also

cos, acos, sin, asin, atan, Chapter 05: Shaping Functions