thebookofshaders/glossary/float
2020-07-30 16:34:42 +07:00
..
README-vi.md Translate the glossary section 2020-07-30 16:34:42 +07: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