diff options
| author | raysan5 <[email protected]> | 2021-07-28 12:56:54 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2021-07-28 12:56:54 +0200 |
| commit | 5ccec1e542b3a1d52ecb5c409c003396cf75b59e (patch) | |
| tree | fa2948d236973d6c433e77959aa7eae46fd9c310 /examples | |
| parent | 2cde0cc2123fa33418042c89f47bf7e3853174d4 (diff) | |
| download | raylib.com-5ccec1e542b3a1d52ecb5c409c003396cf75b59e.tar.gz raylib.com-5ccec1e542b3a1d52ecb5c409c003396cf75b59e.zip | |
Replace TABS by 4 spaces
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/web/models/models_animation.c | 2 | ||||
| -rw-r--r-- | examples/web/models/models_skybox.c | 2 | ||||
| -rw-r--r-- | examples/web/text/text_input_box.c | 2 | ||||
| -rw-r--r-- | examples/web/text/text_rectangle_bounds.c | 2 | ||||
| -rw-r--r-- | examples/web/textures/textures_draw_tiled.c | 2 | ||||
| -rw-r--r-- | examples/web/textures/textures_image_processing.c | 4 | ||||
| -rw-r--r-- | examples/web/textures/textures_particles_blending.c | 2 | ||||
| -rw-r--r-- | examples/web/textures/textures_raw_data.c | 2 | ||||
| -rw-r--r-- | examples/web/textures/textures_sprite_explosion.c | 2 |
9 files changed, 10 insertions, 10 deletions
diff --git a/examples/web/models/models_animation.c b/examples/web/models/models_animation.c index 1c7bd02..89f01f7 100644 --- a/examples/web/models/models_animation.c +++ b/examples/web/models/models_animation.c @@ -84,7 +84,7 @@ int main(void) //-------------------------------------------------------------------------------------- UnloadTexture(texture); // Unload texture - // Unload model animations data + // Unload model animations data for (int i = 0; i < animsCount; i++) UnloadModelAnimation(anims[i]); RL_FREE(anims); diff --git a/examples/web/models/models_skybox.c b/examples/web/models/models_skybox.c index 8c6ac94..75699f4 100644 --- a/examples/web/models/models_skybox.c +++ b/examples/web/models/models_skybox.c @@ -112,7 +112,7 @@ void UpdateDrawFrame(void) // Update //---------------------------------------------------------------------------------- UpdateCamera(&camera); // Update camera - + // Load new cubemap texture on drag&drop if (IsFileDropped()) { diff --git a/examples/web/text/text_input_box.c b/examples/web/text/text_input_box.c index eda2de1..7a9537e 100644 --- a/examples/web/text/text_input_box.c +++ b/examples/web/text/text_input_box.c @@ -80,7 +80,7 @@ void UpdateDrawFrame(void) if (mouseOnText) { - // Set the window's cursor to the I-Beam + // Set the window's cursor to the I-Beam SetMouseCursor(MOUSE_CURSOR_IBEAM); // Get char pressed (unicode character) on the queue diff --git a/examples/web/text/text_rectangle_bounds.c b/examples/web/text/text_rectangle_bounds.c index a0f14f5..2392020 100644 --- a/examples/web/text/text_rectangle_bounds.c +++ b/examples/web/text/text_rectangle_bounds.c @@ -149,7 +149,7 @@ void UpdateDrawFrame(void) DrawText("Word Wrap: ", 313, screenHeight-115, 20, BLACK); if (wordWrap) DrawText("ON", 447, screenHeight - 115, 20, RED); else DrawText("OFF", 447, screenHeight - 115, 20, BLACK); - + DrawText("Press [SPACE] to toggle word wrap", 218, screenHeight - 86, 20, GRAY); DrawText("Click hold & drag the to resize the container", 155, screenHeight - 38, 20, RAYWHITE); diff --git a/examples/web/textures/textures_draw_tiled.c b/examples/web/textures/textures_draw_tiled.c index 893d9b8..7d8a3c4 100644 --- a/examples/web/textures/textures_draw_tiled.c +++ b/examples/web/textures/textures_draw_tiled.c @@ -160,6 +160,6 @@ int main(int argc, char **argv) CloseWindow(); // Close window and OpenGL context //-------------------------------------------------------------------------------------- - return 0; + return 0; } diff --git a/examples/web/textures/textures_image_processing.c b/examples/web/textures/textures_image_processing.c index 2c8c925..00282d0 100644 --- a/examples/web/textures/textures_image_processing.c +++ b/examples/web/textures/textures_image_processing.c @@ -132,8 +132,8 @@ void UpdateDrawFrame(void) } // Keyboard toggle group logic - - if (IsKeyPressed(KEY_DOWN)) + + if (IsKeyPressed(KEY_DOWN)) { currentProcess++; if (currentProcess > (NUM_PROCESSES - 1)) currentProcess = 0; diff --git a/examples/web/textures/textures_particles_blending.c b/examples/web/textures/textures_particles_blending.c index 22b56c8..16daa4e 100644 --- a/examples/web/textures/textures_particles_blending.c +++ b/examples/web/textures/textures_particles_blending.c @@ -119,7 +119,7 @@ void UpdateDrawFrame(void) if (mouseTail[i].active) { mouseTail[i].position.y += gravity/2; - mouseTail[i].alpha -= 0.005f; + mouseTail[i].alpha -= 0.005f; if (mouseTail[i].alpha <= 0.0f) mouseTail[i].active = false; diff --git a/examples/web/textures/textures_raw_data.c b/examples/web/textures/textures_raw_data.c index dded6c3..31f9fd0 100644 --- a/examples/web/textures/textures_raw_data.c +++ b/examples/web/textures/textures_raw_data.c @@ -71,7 +71,7 @@ int main(void) .format = PIXELFORMAT_UNCOMPRESSED_R8G8B8A8, .mipmaps = 1 }; - + checked = LoadTextureFromImage(checkedIm); UnloadImage(checkedIm); // Unload CPU (RAM) image data diff --git a/examples/web/textures/textures_sprite_explosion.c b/examples/web/textures/textures_sprite_explosion.c index 905fc3a..97131d9 100644 --- a/examples/web/textures/textures_sprite_explosion.c +++ b/examples/web/textures/textures_sprite_explosion.c @@ -68,7 +68,7 @@ int main(void) // Init variables for animation frameWidth = explosion.width/NUM_FRAMES_PER_LINE; // Sprite one frame rectangle width - frameHeight = explosion.height/NUM_LINES; // Sprite one frame rectangle height + frameHeight = explosion.height/NUM_LINES; // Sprite one frame rectangle height frameRec = (Rectangle){ 0, 0, frameWidth, frameHeight }; |
