tinygi

diff 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 diff
     1.1 --- a/src/tgi_impl.h	Mon Jul 20 04:38:53 2015 +0300
     1.2 +++ b/src/tgi_impl.h	Tue Jul 21 04:30:00 2015 +0300
     1.3 @@ -5,8 +5,14 @@
     1.4  #include "object.h"
     1.5  #include "logger.h"
     1.6  #include "vmath/vmath.h"
     1.7 +#include "image.h"
     1.8  
     1.9  struct tinygi {
    1.10 +	/* fb is a sample accumulator, needs to be divided by nsamples for fbfinal */
    1.11 +	struct image fb;
    1.12 +	struct image fbfinal;	/* result of tgi_expose */
    1.13 +	float *fb_nsamples;
    1.14 +
    1.15  	struct tgi_object **objects;	/* dynarr */
    1.16  };
    1.17