qvolray
annotate 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 |
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@8 | 9 unsigned int tex_vol, tex_grad; |
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_ */ |