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.
David Broder-Rodgers fd4f51100f Fix typo in documentation for min function 7 years ago
..
README.md Fix typo in documentation for min function 7 years ago

README.md

Min

Return the lesser of two values

Declaration

float min(float x, float y)  
vec2 min(vec2 x, vec2 y)  
vec3 min(vec3 x, vec3 y)  
vec4 min(vec4 x, vec4 y)

vec2 min(vec2 x, float y)  
vec3 min(vec3 x, float y)  
vec4 min(vec4 x, float y)

Parameters

x specify the first value to compare.

y specify the second value to compare.

Description

min() returns the minimum of the two parameters. It returns y if y is less than x, otherwise it returns x.

See Also

max, abs, clamp, Chapter 05: Shaping Functions