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/web/textures | |
| parent | 2cde0cc2123fa33418042c89f47bf7e3853174d4 (diff) | |
| download | raylib.com-5ccec1e542b3a1d52ecb5c409c003396cf75b59e.tar.gz raylib.com-5ccec1e542b3a1d52ecb5c409c003396cf75b59e.zip | |
Replace TABS by 4 spaces
Diffstat (limited to 'examples/web/textures')
| -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 |
5 files changed, 6 insertions, 6 deletions
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 }; |
