tinygi

view src/tgi_impl.h @ 2:72752a1b3dbe

images and shapes
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 21 Jul 2015 04:30:00 +0300
parents bc64090fe3d1
children
line source
1 #ifndef TGI_IMPL_H_
2 #define TGI_IMPL_H_
4 #include "tinygi.h"
5 #include "object.h"
6 #include "logger.h"
7 #include "vmath/vmath.h"
8 #include "image.h"
10 struct tinygi {
11 /* fb is a sample accumulator, needs to be divided by nsamples for fbfinal */
12 struct image fb;
13 struct image fbfinal; /* result of tgi_expose */
14 float *fb_nsamples;
16 struct tgi_object **objects; /* dynarr */
17 };
19 #endif /* TGI_IMPL_H_ */