diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-20 14:01:31 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-20 14:01:31 +0100 |
commit | 02845c3d25130e9473604cb2eeee42a7a7a8eadf (patch) | |
tree | 71969b17161d13d044d033d0ee7fd47deadb6575 /src/example/rendering.cpp | |
parent | d79148947bc43764b041687b7c6ad2d6c944f70b (diff) |
`make format`
Diffstat (limited to 'src/example/rendering.cpp')
-rw-r--r-- | src/example/rendering.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/example/rendering.cpp b/src/example/rendering.cpp index 522ec0f..01794f8 100644 --- a/src/example/rendering.cpp +++ b/src/example/rendering.cpp @@ -30,9 +30,8 @@ int main() { // Normal adding components { Color color(0, 0, 0, 0); - Sprite & sprite - = obj.add_component<Sprite>(make_shared<Texture>("asset/texture/img.png"), - color, FlipSettings{false, false}); + Sprite & sprite = obj.add_component<Sprite>( + make_shared<Texture>("asset/texture/img.png"), color, FlipSettings{false, false}); sprite.sorting_in_layer = 2; sprite.order_in_layer = 1; obj.add_component<Camera>(Color::RED); |