diff options
| author | Jeffery Myers <[email protected]> | 2021-03-22 23:51:52 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-23 07:51:52 +0100 |
| commit | e48b9a6da1d3dd6163b1596e47c58e7026530dc1 (patch) | |
| tree | 9d1bca87d19ae07f7605c112c53971531b109dc2 /examples/shaders/shaders_simple_mask.c | |
| parent | c6dd41495b2c0d96cf4d1ca108729ec87c9a0b53 (diff) | |
| download | raylib-e48b9a6da1d3dd6163b1596e47c58e7026530dc1.tar.gz raylib-e48b9a6da1d3dd6163b1596e47c58e7026530dc1.zip | |
[Examples] Warning fixes (pt 1) (#1668)
* Fix some warnings in examples.
* cleanups from review
Co-authored-by: Jeffery Myers <[email protected]>
Diffstat (limited to 'examples/shaders/shaders_simple_mask.c')
| -rw-r--r-- | examples/shaders/shaders_simple_mask.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/shaders/shaders_simple_mask.c b/examples/shaders/shaders_simple_mask.c index 055afad7..b46b65c7 100644 --- a/examples/shaders/shaders_simple_mask.c +++ b/examples/shaders/shaders_simple_mask.c @@ -45,10 +45,10 @@ int main(void) camera.projection = CAMERA_PERSPECTIVE; // Define our three models to show the shader on - Mesh torus = GenMeshTorus(.3, 1, 16, 32); + Mesh torus = GenMeshTorus(0.3f, 1, 16, 32); Model model1 = LoadModelFromMesh(torus); - Mesh cube = GenMeshCube(.8,.8,.8); + Mesh cube = GenMeshCube(0.8f,0.8f,0.8f); Model model2 = LoadModelFromMesh(cube); // Generate model to be shaded just to see the gaps in the other two |
