tinygi
annotate 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 |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef TGI_OBJECT_H_ |
nuclear@0 | 2 #define TGI_OBJECT_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 #include "tinygi.h" |
nuclear@1 | 5 #include "vmath/vmath.h" |
nuclear@0 | 6 |
nuclear@0 | 7 struct tgi_object { |
nuclear@0 | 8 char *name; |
nuclear@0 | 9 struct tgi_shape *shape; |
nuclear@1 | 10 struct tgi_material *mtl; |
nuclear@1 | 11 mat4_t xform, inv_xform; |
nuclear@0 | 12 |
nuclear@0 | 13 struct tgi_object *next; /* for linking it into various lists */ |
nuclear@0 | 14 }; |
nuclear@0 | 15 |
nuclear@0 | 16 #endif /* TGI_OBJECT_H_ */ |