qbsp, common: raise BOGUS_RANGE to 65536

This commit is contained in:
Eric Wasylishen 2016-06-09 01:18:35 -06:00
parent 7c3aa545bb
commit afbc17d1ea
3 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
#include <common/mathlib.h>
#include <common/polylib.h>
#define BOGUS_RANGE 8192
#define BOGUS_RANGE 65536
/*
* =============

View File

@ -144,7 +144,7 @@ extern "C" {
#define T_EPSILON 0.0002
#define CONTINUOUS_EPSILON 0.0005
#define BOGUS_RANGE 18000
#define BOGUS_RANGE 65536
// the exact bounding box of the brushes is expanded some for the headnode
// volume. is this still needed?

View File

@ -69,8 +69,8 @@ BaseWindingForPlane(const plane_t *p)
CrossProduct(vup, p->normal, vright);
VectorScale(vup, 8192, vup);
VectorScale(vright, 8192, vright);
VectorScale(vup, BOGUS_RANGE, vup);
VectorScale(vright, BOGUS_RANGE, vright);
// project a really big axis aligned box onto the plane
w = (winding_t *)AllocMem(WINDING, 4, true);