volray

diff src/volume.h @ 8:ae10631bb11b

cleaning up a bit to expand
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 07 Apr 2012 16:07:12 +0300
parents
children a6765984e057
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/volume.h	Sat Apr 07 16:07:12 2012 +0300
     1.3 @@ -0,0 +1,15 @@
     1.4 +#ifndef VOLUME_H_
     1.5 +#define VOLUME_H_
     1.6 +
     1.7 +#include <stdint.h>
     1.8 +
     1.9 +struct volume {
    1.10 +	int sz[3];
    1.11 +	float zaspect;
    1.12 +	unsigned int tex_vol, tex_grad;
    1.13 +};
    1.14 +
    1.15 +struct volume *load_volume(const char *fname);
    1.16 +void free_volume(struct volume *vol);
    1.17 +
    1.18 +#endif	/* VOLUME_H_ */