Animation blending

- transition smoothly between idle and run animations
- use quaternions (versors) instead of yaw/pitch/roll
- hide mouse and enable free-look mode by default on startup
- rotate model 180 degrees in Blender so it faces away from the camera by default
- add some makefile commands
This commit is contained in:
var
2026-05-03 14:38:57 -05:00
parent 0f38e9b4a2
commit d1530525ca
12 changed files with 161 additions and 96 deletions

View File

@@ -22,6 +22,8 @@ typedef struct
typedef struct
{
bool running;
bool charIsMoving;
float animBlend;
uint64_t previousTicks;
InputState input;
SDL_Window *window;