You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Manoylov Andriy eb8d3c5f80 add ukrainian translation 10 months ago
..
README-ua.md add ukrainian translation 10 months ago
README-vi.md Translate glossary section (partly) and swap all/any page 4 years ago
README.md Remove trailing whitespaces 7 years ago

README.md

Abs

Return the absolute value of the parameter.

Declaration

float abs(float x)  
vec2 abs(vec2 x)  
vec3 abs(vec3 x)  
vec4 abs(vec4 x)

Parameters

x specify the value of which to return the absolute.

Description

abs() returns the absolute value of x.

See Also

sign(), min(), max(), Chapter 05: Shaping Functions