Switched to Raylib vertion 4.5. Removed some functions and added others. Main changes to camera3D.

This commit is contained in:
jussi
2023-04-06 19:19:44 +03:00
parent 2526c9732e
commit fe15e836bd
25 changed files with 744 additions and 957 deletions

View File

@@ -2,6 +2,7 @@
#include "state.h"
#include "lua_core.h"
#include "textures.h"
#include "models.h"
State *state;
@@ -167,7 +168,9 @@ void stateFree() {
}
for ( int i = 0; i < state->modelCount; ++i ) {
if ( state->models[i] != NULL ) {
//TODO Test if UnloadModel causes segfaults on exit.
UnloadModelKeepMeshes( *state->models[i] );
// UnloadModel( *state->models[i] );
free( state->models[i] );
}
}