From b659c412263f6dd7df962f7d42f4f51b7c3d5609 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Wed, 2 May 2018 21:22:03 +0100 Subject: Implement diffuse texture loading and basic material support --- model.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'model.h') diff --git a/model.h b/model.h index 33db3b4..182faea 100644 --- a/model.h +++ b/model.h @@ -7,11 +7,10 @@ #include "gl.h" #include "fmd.h" +#include "mtl.h" struct mesh { - struct material { - GLuint diffuse; - } *mtl; + mtlidx mtl; struct { GLuint idx; GLuint cnt; -- cgit v1.2.3-54-g00ecf