GetMouseOffset and GetMouseScale.

This commit is contained in:
jussi
2024-07-02 20:49:25 +03:00
parent fd18b5526e
commit 61c932f260
16 changed files with 121 additions and 56 deletions

View File

@@ -19,6 +19,8 @@ bool stateInit( int argn, const char** argc, const char* basePath ) {
state->logLevelInvalid = LOG_ERROR;
state->gcUnload = true;
state->lineSpacing = 15;
state->mouseOffset = (Vector2){ 0, 0 };
state->mouseScale = (Vector2){ 1, 1 };
InitWindow( state->resolution.x, state->resolution.y, "ReiLua" );