summaryrefslogtreecommitdiff
path: root/src/util/screen.h
diff options
context:
space:
mode:
authoraura <nw@moneybot.cc>2026-08-11 19:10:16 +0200
committeraura <nw@moneybot.cc>2026-08-11 19:10:16 +0200
commit17c07b5f884453130d8be3a6d91d730d80d4f8ae (patch)
tree6ec11e5e5f7f0be9ed899196c2897aa76a907de2 /src/util/screen.h
parent1aa17de9188790f049c0edc4281597cb4e535627 (diff)
parent0a9d7ce6a0764a87766ebb23cc1ece4c26c8c678 (diff)
Merge remote-tracking branch 'origin/day'
Diffstat (limited to 'src/util/screen.h')
-rw-r--r--src/util/screen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/screen.h b/src/util/screen.h
index 34effb3..6d30231 100644
--- a/src/util/screen.h
+++ b/src/util/screen.h
@@ -25,7 +25,7 @@ inline VEC2 s_c( VEC2 offset = { 0.f, 0.f } ) {
}
inline VEC2 s_tc( VEC2 offset = { 0.f, 0.f } ) {
- return { offset.x + (F32)canvas[0] / 2, 0 };
+ return { offset.x + (F32)canvas[0] / 2, 0.0f };
}
inline VEC2 s_bc( VEC2 offset = { 0.f, 0.f } ) {
@@ -33,7 +33,7 @@ inline VEC2 s_bc( VEC2 offset = { 0.f, 0.f } ) {
}
inline VEC2 s_cl( VEC2 offset = { 0.f, 0.f } ) {
- return { 0, offset.y + (F32)canvas[1] / 2 };
+ return { 0.0f, offset.y + (F32)canvas[1] / 2 };
}
inline VEC2 s_cr( VEC2 offset = { 0.f, 0.f } ) {