qvolray

annotate src/volume.h @ 9:a6765984e057

moved the volume loading to volume.c
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 08 Apr 2012 07:11:54 +0300
parents ae10631bb11b
children 8990b5d2c7fe
rev   line source
nuclear@8 1 #ifndef VOLUME_H_
nuclear@8 2 #define VOLUME_H_
nuclear@8 3
nuclear@8 4 #include <stdint.h>
nuclear@8 5
nuclear@8 6 struct volume {
nuclear@8 7 int sz[3];
nuclear@8 8 float zaspect;
nuclear@9 9 unsigned int tex_vol;
nuclear@8 10 };
nuclear@8 11
nuclear@8 12 struct volume *load_volume(const char *fname);
nuclear@8 13 void free_volume(struct volume *vol);
nuclear@8 14
nuclear@8 15 #endif /* VOLUME_H_ */