/usr/include/tachyon/quadric.h is in libtachyon-dev 0.99~b2+dfsg-0.3.
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 22 23 | /*
* quadric.h - This file contains the defines for quadrics.
*
* $Id: quadric.h,v 1.12 2011/02/05 08:10:11 johns Exp $
*/
typedef struct {
flt a; flt b; flt c;
flt d; flt e; flt f;
flt g; flt h; flt i; flt j;
} quadmatrix;
typedef struct {
RT_OBJECT_HEAD
vector ctr; /**< center of quadric object */
quadmatrix mat; /**< quadric function coefficient matrix */
} quadric;
quadric * newquadric(void);
void quadric_intersect(const quadric *, ray *);
void quadric_normal(const quadric *, const vector *, const ray *, vector *);
|