aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Sprite.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-02 18:51:47 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-02 18:51:47 +0100
commit135af8b0e0eaf8a5a5b7e1a42bfb20bb14ec97e5 (patch)
treec82dfadea7af5874f274ad105e94f05af19a9860 /src/crepe/api/Sprite.h
parent54ab44e3508d526be6275378e5979290ec188d6f (diff)
tmp commit
Diffstat (limited to 'src/crepe/api/Sprite.h')
-rw-r--r--src/crepe/api/Sprite.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/api/Sprite.h b/src/crepe/api/Sprite.h
index 96b57e1..354f663 100644
--- a/src/crepe/api/Sprite.h
+++ b/src/crepe/api/Sprite.h
@@ -74,10 +74,10 @@ public:
vec2 size;
//! independent sprite angle. rotating clockwise direction in degrees
- double angle_offset;
+ double angle_offset = 0;
//! independent sprite scale multiplier
- double scale;
+ double scale = 1;
/**
* \aspect_ratio ratio of the img so that scaling will not become weird