mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
test the right cs function (oops)
This commit is contained in:
parent
3193ffd9cc
commit
9bbf1a9110
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ main (int argc, const char **argv)
|
||||||
double start, end;
|
double start, end;
|
||||||
|
|
||||||
for (i = 0; i < num_tests; i ++) {
|
for (i = 0; i < num_tests; i ++) {
|
||||||
sphere = BoundingSphere (tests[i].points, tests[i].num_points);
|
CircumSphere (tests[i].points, tests[i].num_points, &sphere);
|
||||||
if (VectorDistance_fast (sphere.center, tests[i].expect.center) > 1e-4
|
if (VectorDistance_fast (sphere.center, tests[i].expect.center) > 1e-4
|
||||||
|| fabs (sphere.radius - tests[i].expect.radius) > 1e-4) {
|
|| fabs (sphere.radius - tests[i].expect.radius) > 1e-4) {
|
||||||
res = 1;
|
res = 1;
|
||||||
|
|
Loading…
Reference in a new issue