diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-14 10:23:04 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-14 10:23:04 +0100 |
commit | 5e6b80ba9fe18143b994a301ab0ba1ba54072b43 (patch) | |
tree | 2784b5bdb49dba729884af5d4fd80dd9e44776d1 /src/example | |
parent | 767f40a61952892d60d204ecaaffa07e7e396d28 (diff) |
Working color, fucked up git merge
Diffstat (limited to 'src/example')
-rw-r--r-- | src/example/rendering.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/example/rendering.cpp b/src/example/rendering.cpp index f481f03..827ad07 100644 --- a/src/example/rendering.cpp +++ b/src/example/rendering.cpp @@ -33,9 +33,10 @@ int main() { obj.add_component<Camera>(Color::get_red()); } { - Color color(255, 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}); + Color color(0, 0, 0, 0); + obj1.add_component<Sprite>( + make_shared<Texture>("../asset/texture/second.png"), color, + FlipSettings{true, true}); } /* |