/usr/include/tachyon/extvol.h is in libtachyon-dev 0.99~b2+dfsg-0.4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | /*
* vol.h - Volume rendering definitions etc.
*
* $Id: extvol.h,v 1.12 2011/02/05 08:10:11 johns Exp $
*/
typedef struct {
RT_OBJECT_HEAD
vector min; /**< minimum box vertex coordinate */
vector max; /**< maximum box vertex coordinate */
flt ambient; /**< ambient lighting coefficient */
flt diffuse; /**< diffuse lighting coefficient */
flt opacity; /**< surface transmission factor */
int samples; /**< number of samples to take through volume */
flt (* evaluator)(flt, flt, flt); /**< user-defined sample fctn ptr */
} extvol;
extvol * newextvol(void * voidtex, vector min, vector max,
int samples, flt (* evaluator)(flt, flt, flt));
color ext_volume_texture(const vector *, const texture *, ray *);
|