mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:37:35 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -24,8 +24,8 @@
|
|||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
const int WIDTH = 200;
|
||||
const int HEIGHT = 200;
|
||||
int const WIDTH = 200;
|
||||
int const HEIGHT = 200;
|
||||
|
||||
static bool flag_hide_window_frame = false;
|
||||
|
||||
|
@ -97,7 +97,7 @@ void Cube::timer_event(Core::TimerEvent&)
|
|||
|
||||
#define QUAD(a, b, c, d) a, b, c, c, d, a
|
||||
|
||||
const int indices[] {
|
||||
int const indices[] {
|
||||
QUAD(0, 1, 2, 3),
|
||||
QUAD(7, 6, 5, 4),
|
||||
QUAD(4, 5, 1, 0),
|
||||
|
@ -141,7 +141,7 @@ void Cube::timer_event(Core::TimerEvent&)
|
|||
else
|
||||
painter.clear_rect(m_bitmap->rect(), Gfx::Color::Transparent);
|
||||
|
||||
auto to_point = [](const FloatVector3& v) {
|
||||
auto to_point = [](FloatVector3 const& v) {
|
||||
return Gfx::IntPoint(v.x(), v.y());
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue