thebookofshaders/glossary/float
2017-08-23 11:34:44 +02:00
..
README.md Remove trailing whitespaces 2017-08-23 11:34:44 +02:00

Float

Floating-point variable type

Declaration

float aFloat = 1.0;
float bFloat = float(aBool);
float cFloat = float(aInt);

Description

float is used for floating point values.

See Also

void, bool, int, float, bvec2, bvec3, bvec4, struct