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

Macros

#define num_tests   (sizeof (tests) / sizeof (tests[0]))
 

Functions

int main (int argc, const char **argv)
 

Variables

const vec3_t points []
 
struct {
   sphere_t   expect
 
   int   num_points
 
   const vec3_t *   points
 
tests []
 

Macro Definition Documentation

#define num_tests   (sizeof (tests) / sizeof (tests[0]))

Function Documentation

int main ( int  argc,
const char **  argv 
)

Variable Documentation

sphere_t expect
int num_points
const vec3_t* points
Initial value:
= {
{-1, -1, 1},
{ 1, 1, 1},
{-1, 1, -1},
{ 1, -1, -1},
{-1, -1, -1},
{ 1, 1, -1},
{-1, 1, 1},
{ 1, -1, 1},
{ 0, 0, 0},
}
struct { ... } tests[]
Initial value:
= {
{0, 0, {{ 0, 0, 0}, 0}},
{points, 1, {{-1, -1, 1}, 0}},
{points, 2, {{ 0, 0, 1}, 1.41421356}},
{points, 3, {{-0.333333343, 0.333333343, 0.333333343}, 1.63299322}},
{points, 4, {{0, 0, 0}, 1.73205081}},
}
const vec3_t points[]
Definition: test-seb.c:9