Import .glb model file with animation
- improve movement controls - TODO: allow more than one model, instance, and animation
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "cglm/cglm.h"
|
||||
#include "camera.h"
|
||||
#include "shape.h"
|
||||
#include "model.h"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
@@ -24,9 +25,11 @@ typedef struct
|
||||
SDL_GLContext *glContext;
|
||||
GLuint textureId;
|
||||
int shaderProgramId;
|
||||
int modelShaderProgramId;
|
||||
Camera camera;
|
||||
Shape **shapes;
|
||||
int numShapes;
|
||||
Model testModel;
|
||||
mat4 projMatrix;
|
||||
mat4 viewMatrix;
|
||||
} GameState;
|
||||
|
||||
Reference in New Issue
Block a user