diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-12 19:52:11 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-12 19:52:11 +0100 |
commit | fabdc6e27bdb41042d7a530c5f2440ca5a330118 (patch) | |
tree | e825032e275e00961e509da828e835febaa63bce /src/example/rendering.cpp | |
parent | 0d88ba90c55c0df97e418ce36c435955481b2850 (diff) |
Adjusted rendering so that now a gameobject can have multiple sprites with particles and another texture
Diffstat (limited to 'src/example/rendering.cpp')
-rw-r--r-- | src/example/rendering.cpp | 1 |
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}); } /* |