aboutsummaryrefslogtreecommitdiff
path: root/src/example
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-20 15:32:19 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-20 15:32:19 +0100
commit631975d4a03642271f80baeb4494dd01bda9c76e (patch)
tree027f94ed0ed86e156cf7885b35109cc8c5f47f11 /src/example
parentfd09501a1f010126bda5816f17e6e21e204e79cb (diff)
moved sdl hint to draw sprites and added another to text with 0 instead of 2 beacause otherwise its blurry
Diffstat (limited to 'src/example')
-rw-r--r--src/example/rendering_particle.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/example/rendering_particle.cpp b/src/example/rendering_particle.cpp
index c8db499..5eae00d 100644
--- a/src/example/rendering_particle.cpp
+++ b/src/example/rendering_particle.cpp
@@ -27,7 +27,6 @@ public:
Color color(255, 255, 255, 255);
- /*
Asset img{"asset/texture/square.png"};
Sprite & test_sprite = game_object.add_component<Sprite>(
@@ -50,7 +49,6 @@ public:
.position_offset = {0, -1},
.world_space = false,
});
- */
auto & cam = game_object.add_component<Camera>(ivec2{1280, 720}, vec2{5, 5},
Camera::Data{