aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Sprite.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-30 15:22:17 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-30 15:22:17 +0100
commit4159c7187e17d6318e33d8a0c014ba042ae8261b (patch)
tree7653a3b933ee074eabeab8d47ebbd01c9da8ff12 /src/crepe/api/Sprite.h
parent7ae597ac9268e031927f94dd89c20ab6c034f5de (diff)
first version of new viewport floats without the use of sdl functions
Diffstat (limited to 'src/crepe/api/Sprite.h')
-rw-r--r--src/crepe/api/Sprite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/Sprite.h b/src/crepe/api/Sprite.h
index 5a7a1d9..7d9c14b 100644
--- a/src/crepe/api/Sprite.h
+++ b/src/crepe/api/Sprite.h
@@ -71,7 +71,7 @@ public:
* cannot be const because if Animator component is addded then ratio becomes scuffed and
* does it need to be calculated again in the Animator
*/
- double aspect_ratio;
+ float aspect_ratio;
private:
//! Reads the mask of sprite