1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 20:57:35 +00:00

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -41,9 +41,9 @@ private:
public:
struct Bug {
const float x { 50 };
const float radius { 16 };
const float starting_y { 200 };
float const x { 50 };
float const radius { 16 };
float const starting_y { 200 };
NonnullRefPtr<Gfx::Bitmap> falling_bitmap;
NonnullRefPtr<Gfx::Bitmap> flapping_bitmap;
float y {};
@ -81,13 +81,13 @@ public:
void flap()
{
const float flap_strength = 10.0f;
float const flap_strength = 10.0f;
velocity = -flap_strength;
}
void fall()
{
const float gravity = 1.0f;
float const gravity = 1.0f;
velocity += gravity;
}
@ -98,7 +98,7 @@ public:
};
struct Obstacle {
const float width { 20 };
float const width { 20 };
Color color { Color::DarkGray };
float x {};
float gap_top_y { 200 };