Moved to raylib 4.2.0. Renamed some directory functions to raylib 4.2.0 conventions. Removed GenMeshBinormals and GetRayCollisionModel. Sound and music pan.

This commit is contained in:
jussi
2022-08-19 13:38:09 +03:00
parent 4f54a0a499
commit 49f1dad6b9
13 changed files with 665 additions and 352 deletions

View File

@@ -13,7 +13,7 @@ bool stateInit( const char *exePath ) {
state->hasWindow = true;
state->run = true;
state->resolution = (Vector2){ 1024, 720 };
state->resolution = (Vector2){ 800, 600 };
state->luaState = NULL;
state->textureSource = TEXTURE_SOURCE_TEXTURE;
/* Images. */
@@ -93,7 +93,7 @@ bool stateInit( const char *exePath ) {
state->materials[i] = NULL;
}
}
InitWindow( state->resolution.x, state->resolution.y, "ReiLua" );
/* Has to be after InitWindod where opengl context is created. */
state->materials[0] = malloc( sizeof( Material ) );