thebookofshaders/glossary/float.md
Patricio Gonzalez Vivo 28d7613843 finishing matrix
2015-06-12 12:02:51 -04:00

15 lines
455 B
Markdown

## Float
Floating-point variable type
### Declaration
```glsl
float aFloat = 1.0;
float bFloat = float(aBool);
float cFloat = float(aInt);
```
### Description
```float``` is used for floating point values.
### See Also
[void](index.html#void.md), [bool](index.html#bool.md), [int](index.html#int.md), [float](index.html#float.md), [bvec2](index.html#bvec2.md), [bvec3](index.html#bvec3.md), [bvec4](index.html#bvec4.md), [struct](index.html#struct.md)