thebookofshaders/glossary/float/README.md
2016-04-06 11:44:45 -04: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