diff options
| author | Tomasz Kramkowski <tk@the-tk.com> | 2018-05-02 21:22:03 +0100 |
|---|---|---|
| committer | Tomasz Kramkowski <tk@the-tk.com> | 2018-05-02 21:22:03 +0100 |
| commit | b659c412263f6dd7df962f7d42f4f51b7c3d5609 (patch) | |
| tree | e2495e0b1446527b909a9c9fa2776797c7c28221 /model.h | |
| parent | ec93a8eddf70adef2b1439a511d990021ad25d99 (diff) | |
| download | faqe-b659c412263f6dd7df962f7d42f4f51b7c3d5609.tar.gz faqe-b659c412263f6dd7df962f7d42f4f51b7c3d5609.tar.xz faqe-b659c412263f6dd7df962f7d42f4f51b7c3d5609.zip | |
Implement diffuse texture loading and basic material support
Diffstat (limited to 'model.h')
| -rw-r--r-- | model.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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; |
