make input coordinates respect the viewport
This commit is contained in:
1 parent
190eb1f107
commit
dc2535358e
4 files changed
+34
-21
No files matched your search
@@ -30,6 +30,8 @@ typedef struct EngineContext {
|
||||
char *base_dir;
|
||||
|
||||
Vec2 window_dims;
|
||||
Rect viewport_rect;
|
||||
float viewport_scale;
|
||||
|
||||
/* configuration */
|
||||
toml_table_t *config_table;
|
||||
|
||||
Reference in new issue
Block a user