diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-30 15:22:17 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-30 15:22:17 +0100 |
commit | 4159c7187e17d6318e33d8a0c014ba042ae8261b (patch) | |
tree | 7653a3b933ee074eabeab8d47ebbd01c9da8ff12 /src/crepe/api | |
parent | 7ae597ac9268e031927f94dd89c20ab6c034f5de (diff) |
first version of new viewport floats without the use of sdl functions
Diffstat (limited to 'src/crepe/api')
-rw-r--r-- | src/crepe/api/Sprite.h | 2 |
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 |