summaryrefslogtreecommitdiffhomepage
path: root/examples/models/models_waving_cubes.c
diff options
context:
space:
mode:
authorRay <[email protected]>2021-04-22 18:55:24 +0200
committerRay <[email protected]>2021-04-22 18:55:24 +0200
commitdcf52c132fb0ca28f37dae9d957155e2541df812 (patch)
treeb6c263e59daba00fc33badd0a45fa6756d5df14c /examples/models/models_waving_cubes.c
parentf92ee46d86b5a0cfb05c10b0c31fb966a4784b44 (diff)
downloadraylib-dcf52c132fb0ca28f37dae9d957155e2541df812.tar.gz
raylib-dcf52c132fb0ca28f37dae9d957155e2541df812.zip
Remove trail spaces
Diffstat (limited to 'examples/models/models_waving_cubes.c')
-rw-r--r--examples/models/models_waving_cubes.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/models/models_waving_cubes.c b/examples/models/models_waving_cubes.c
index 2a3b142d..13f098b9 100644
--- a/examples/models/models_waving_cubes.c
+++ b/examples/models/models_waving_cubes.c
@@ -53,7 +53,7 @@ int main()
camera.position.x = (float)cos(cameraTime)*40.0f;
camera.position.z = (float)sin(cameraTime)*40.0f;
//----------------------------------------------------------------------------------
-
+
// Draw
//----------------------------------------------------------------------------------
BeginDrawing();
@@ -64,11 +64,11 @@ int main()
DrawGrid(10, 5.0f);
- for (int x = 0; x < numBlocks; x++)
+ for (int x = 0; x < numBlocks; x++)
{
- for (int y = 0; y < numBlocks; y++)
+ for (int y = 0; y < numBlocks; y++)
{
- for (int z = 0; z < numBlocks; z++)
+ for (int z = 0; z < numBlocks; z++)
{
// Scale of the blocks depends on x/y/z positions
float blockScale = (x + y + z)/30.0f;
@@ -94,9 +94,9 @@ int main()
}
}
}
-
+
EndMode3D();
-
+
DrawFPS(10, 10);
EndDrawing();