tinygi
diff src/object.h @ 1:bc64090fe3d1
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 20 Jul 2015 04:38:53 +0300 |
parents | 16fdca2a1ef5 |
children | 72752a1b3dbe |
line diff
1.1 --- a/src/object.h Sun Jul 19 18:30:29 2015 +0300 1.2 +++ b/src/object.h Mon Jul 20 04:38:53 2015 +0300 1.3 @@ -2,10 +2,13 @@ 1.4 #define TGI_OBJECT_H_ 1.5 1.6 #include "tinygi.h" 1.7 +#include "vmath/vmath.h" 1.8 1.9 struct tgi_object { 1.10 char *name; 1.11 struct tgi_shape *shape; 1.12 + struct tgi_material *mtl; 1.13 + mat4_t xform, inv_xform; 1.14 1.15 struct tgi_object *next; /* for linking it into various lists */ 1.16 };