aboutsummaryrefslogtreecommitdiff
path: root/src/example
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-12 19:52:11 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-12 19:52:11 +0100
commitfabdc6e27bdb41042d7a530c5f2440ca5a330118 (patch)
treee825032e275e00961e509da828e835febaa63bce /src/example
parent0d88ba90c55c0df97e418ce36c435955481b2850 (diff)
Adjusted rendering so that now a gameobject can have multiple sprites with particles and another texture
Diffstat (limited to 'src/example')
-rw-r--r--src/example/rendering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/example/rendering.cpp b/src/example/rendering.cpp
index e02f6a3..a7cb5d6 100644
--- a/src/example/rendering.cpp
+++ b/src/example/rendering.cpp
@@ -35,6 +35,7 @@ int main() {
{
Color color(0, 0, 0, 0);
obj1.add_component<Sprite>(make_shared<Texture>("../asset/texture/second.png"), color, FlipSettings{true, true});
+ obj1.add_component<Sprite>(make_shared<Texture>("../asset/texture/second.png"), color, FlipSettings{true, true});
}
/*