/usr/include/tachyon/ring.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 21 | /*
* ring.h - This file contains the defines for rings etc.
*
* $Id: ring.h,v 1.11 2011/02/05 08:10:11 johns Exp $
*/
object * newring(void * tex, vector ctr, vector norm, flt in, flt out);
#ifdef RING_PRIVATE
typedef struct {
RT_OBJECT_HEAD
vector ctr; /**< center of ring */
vector norm; /**< surface normal */
flt inrad; /**< inner ring radius (0.0 for disk) */
flt outrad; /**< outer ring raidus */
} ring;
static int ring_bbox(void * obj, vector * min, vector * max);
static void ring_intersect(const ring *, ray *);
static void ring_normal(const ring *, const vector *, const ray * incident, vector *);
#endif
|