aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Animator.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-11 14:38:08 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-11 14:38:08 +0100
commit68c6e53f195677a3f91deb1526275fd38e00341d (patch)
tree2c310c8fa699dc88d2e609f3bd38bc9681aaca83 /src/crepe/api/Animator.cpp
parent2bcd6ece912ab0a140f9d925718e8787879d1ed7 (diff)
make format
Diffstat (limited to 'src/crepe/api/Animator.cpp')
-rw-r--r--src/crepe/api/Animator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crepe/api/Animator.cpp b/src/crepe/api/Animator.cpp
index 123f0e7..644363e 100644
--- a/src/crepe/api/Animator.cpp
+++ b/src/crepe/api/Animator.cpp
@@ -20,7 +20,8 @@ Animator::Animator(game_object_id_t id, Sprite & spritesheet, const ivec2 & sing
this->spritesheet.mask.x = 0;
this->spritesheet.mask.y = 0;
- this->spritesheet.aspect_ratio = static_cast<float>(single_frame_size.x) / single_frame_size.y;
+ this->spritesheet.aspect_ratio
+ = static_cast<float>(single_frame_size.x) / single_frame_size.y;
}
Animator::~Animator() { dbg_trace(); }