/usr/include/tachyon/macros.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 24 25 26 27 28 29 | /*
* macros.h - This file contains macro versions of functions that would be best
* used as inlined code rather than function calls.
*
* $Id: macros.h,v 1.6 1995/07/04 00:47:32 johns Exp $
*/
#define MYMAX(a , b) ((a) > (b) ? (a) : (b))
#define MYMIN(a , b) ((a) < (b) ? (a) : (b))
#define VDOT(return, a, b) \
return=(a.x * b.x + a.y * b.y + a.z * b.z); \
#define RAYPNT(c, a, b) \
c.x = a.o.x + ( a.d.x * b ); \
c.y = a.o.y + ( a.d.y * b ); \
c.z = a.o.z + ( a.d.z * b ); \
#define VSUB(a, b, c) \
c.x = (a.x - b.x); \
c.y = (a.y - b.y); \
c.z = (a.z - b.z); \
#define VCROSS(a, b, c) \
c->x = (a->y * b->z) - (a->z * b->y); \
c->y = (a->z * b->x) - (a->x * b->z); \
c->z = (a->x * b->y) - (a->y * b->x); \
|