thebookofshaders/glossary/tan
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

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 specifies 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