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

487 B

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