aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Sprite.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-22 17:09:40 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-22 17:09:40 +0100
commitaed904bdc2ddaf669940d922611229a171a1f220 (patch)
tree4067c75308b43f62bdcbd69af8d3c9a4e60abdc3 /src/crepe/api/Sprite.cpp
parent8513b2dad0ec43678f17cca0510db4d1a938279a (diff)
make format
Diffstat (limited to 'src/crepe/api/Sprite.cpp')
-rw-r--r--src/crepe/api/Sprite.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crepe/api/Sprite.cpp b/src/crepe/api/Sprite.cpp
index 3853aab..c219dd0 100644
--- a/src/crepe/api/Sprite.cpp
+++ b/src/crepe/api/Sprite.cpp
@@ -16,8 +16,7 @@ Sprite::Sprite(game_object_id_t id, const shared_ptr<Texture> image, const Color
color(color),
flip(flip),
sprite_image(image),
- aspect_ratio(sprite_image->get_width() / sprite_image->get_height())
-{
+ aspect_ratio(sprite_image->get_width() / sprite_image->get_height()) {
dbg_trace();
this->sprite_rect.w = sprite_image->get_width();