diff options
Diffstat (limited to 'examples/models/models_waving_cubes.c')
| -rw-r--r-- | examples/models/models_waving_cubes.c | 12 |
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(); |
