Start reviewing IQM loader...

This commit is contained in:
Ray 2018-07-13 20:29:23 +02:00
parent cadcc05a84
commit 971a7419ec
2 changed files with 44 additions and 44 deletions

View file

@ -12,7 +12,6 @@
#include "raylib.h"
#define RIQM_IMPLEMENTATION
#define RAYMATH_IMPLEMENTATION
#include "riqm.h"
int main()
@ -34,7 +33,7 @@ int main()
// Load the animated model mesh and basic data
AnimatedModel model = LoadAnimatedModel("resources/guy.iqm");
printf("VER %i\n",rlGetVersion());
// Load model texture and set material
// NOTE: There is only 1 mesh and 1 material (both at index 0), thats what the 2 0's are
model = AnimatedModelAddTexture(model, "resources/guytex.png"); // REPLACE!