aboutsummaryrefslogtreecommitdiff
path: root/src/example/rendering_particle.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-27 11:56:48 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-27 11:56:48 +0100
commit2b35e8f51a3536b62ea21dc82deec1e3b65568f6 (patch)
tree8245ca8f015634e0aca01e83822b02c869419b5c /src/example/rendering_particle.cpp
parent7f66cd4a9b609f6bf36d005f5e38ef2a57d1c0d3 (diff)
make format and offset for the cameara relative from the transform gameobject
Diffstat (limited to 'src/example/rendering_particle.cpp')
-rw-r--r--src/example/rendering_particle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/example/rendering_particle.cpp b/src/example/rendering_particle.cpp
index 3589cad..ec71260 100644
--- a/src/example/rendering_particle.cpp
+++ b/src/example/rendering_particle.cpp
@@ -32,8 +32,8 @@ int main(int argc, char * argv[]) {
Color color(255, 255, 255, 255);
auto img = Texture("asset/texture/test_ap43.png");
- Sprite & test_sprite = game_object.add_component<Sprite>(img, color,
- FlipSettings{true, true});
+ Sprite & test_sprite
+ = game_object.add_component<Sprite>(img, color, FlipSettings{true, true});
test_sprite.order_in_layer = 5;
test_sprite.height = 195;