Experiment with huge coordinate support

This commit is contained in:
Eric Wasylishen 2016-01-03 23:17:57 -07:00
parent 998c9d3acb
commit 79cb3379cf
2 changed files with 3 additions and 3 deletions

View File

@ -132,7 +132,7 @@
#define T_EPSILON 0.0002
#define CONTINUOUS_EPSILON 0.0005
#define BOGUS_RANGE 18000
#define BOGUS_RANGE (1000*1000)
// 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 = AllocMem(WINDING, 4, true);