diff options
| author | 2lag <96544487+2lag@users.noreply.github.com> | 2026-08-08 17:33:36 +0200 |
|---|---|---|
| committer | 2lag <96544487+2lag@users.noreply.github.com> | 2026-08-08 17:33:36 +0200 |
| commit | 2973df584978d9aae6f164ce0204179c8a28b3ae (patch) | |
| tree | c1b793c8e0d17aeb66c5197bc28acca84b2c98ab /src/util/screen.h | |
| parent | e540910745aad31378452eec25aacfb3f346191a (diff) | |
console, textbox changes, some other shit
Diffstat (limited to 'src/util/screen.h')
| -rw-r--r-- | src/util/screen.h | 4 |
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 } ) { |
