QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
testclip.c File Reference

Macros

#define DIST_EPSILON   0
 
#define FloatCompare(a, b)   (fabs (a - b) < 1e-5)
 
#define num_tests   (sizeof (tests) / sizeof (tests[0]))
 
#define VectorCompare(x, y)
 

Typedefs

typedef struct portlist_s portlist_t
 

Variables

box_t bigbox = { { 8, 8, 24} }
 
box_t box = { { 8, 8, 8} }
 
box_t player = { {16, 16, 28} }
 
box_t point = { { 0, 0, 0} }
 
test_t tests []
 
int verbose = 0
 

Macro Definition Documentation

#define DIST_EPSILON   0
#define FloatCompare (   a,
 
)    (fabs (a - b) < 1e-5)
#define num_tests   (sizeof (tests) / sizeof (tests[0]))
#define VectorCompare (   x,
 
)
Value:
(FloatCompare (x[0], y[0]) && FloatCompare (x[1], y[1]) \
&& FloatCompare (x[2], y[2]))
vec_t * x
Definition: test-bary.c:27
#define FloatCompare(a, b)
Definition: testclip.c:20

Typedef Documentation

typedef struct portlist_s portlist_t

Variable Documentation

box_t bigbox = { { 8, 8, 24} }
box_t box = { { 8, 8, 8} }
box_t player = { {16, 16, 28} }
box_t point = { { 0, 0, 0} }
test_t tests[]
int verbose = 0