mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-07 11:58:13 +00:00
[Examples] Warning fixes (pt 1) (#1668)
* Fix some warnings in examples. * cleanups from review Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user