[PATCH] qbsp: Collect all epsilons together in qbsp.h
Signed-off-by: Tyrann <tyrann@disenchant.net>
This commit is contained in:
parent
c221cc2f08
commit
b7f84130de
|
|
@ -121,9 +121,6 @@ AddToBounds(vec3_t v)
|
|||
|
||||
//===========================================================================
|
||||
|
||||
#define DISTEPSILON 0.01
|
||||
#define ANGLEEPSILON 0.00001
|
||||
|
||||
static void
|
||||
NormalizePlane(plane_t *dp)
|
||||
{
|
||||
|
|
@ -277,7 +274,6 @@ FixRotateOrigin(int iEntity, vec3_t offset)
|
|||
CreateBrushFaces
|
||||
=================
|
||||
*/
|
||||
#define ZERO_EPSILON 0.001
|
||||
static face_t *
|
||||
CreateBrushFaces(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -22,8 +22,6 @@
|
|||
|
||||
#include "qbsp.h"
|
||||
|
||||
#define CONTINUOUS_EPSILON 0.001
|
||||
|
||||
#ifdef PARANOID
|
||||
static void
|
||||
CheckColinear(face_t *f)
|
||||
|
|
|
|||
11
qbsp/qbsp.h
11
qbsp/qbsp.h
|
|
@ -101,9 +101,16 @@
|
|||
#define NUM_AMBIENTS 4 // automatic ambient sounds
|
||||
|
||||
// Misc values
|
||||
#define ON_EPSILON 0.05
|
||||
#define ANGLEEPSILON 0.00001
|
||||
#define EQUAL_EPSILON 0.001
|
||||
#define ZERO_EPSILON 0.001
|
||||
#define CONTINUOUS_EPSILON 0.001
|
||||
#define DISTEPSILON 0.01
|
||||
#define POINT_EPSILON 0.01
|
||||
#define T_EPSILON 0.01
|
||||
#define ON_EPSILON 0.05
|
||||
|
||||
#define BOGUS_RANGE 18000
|
||||
#define EQUAL_EPSILON 0.001
|
||||
|
||||
// the exact bounding box of the brushes is expanded some for the headnode
|
||||
// volume. is this still needed?
|
||||
|
|
|
|||
|
|
@ -144,8 +144,6 @@ GatherNodeFaces(node_t *headnode)
|
|||
|
||||
//===========================================================================
|
||||
|
||||
#define POINT_EPSILON 0.01
|
||||
|
||||
static hashvert_t *hvert_p;
|
||||
|
||||
// This is a kludge. Should be pEdgeFaces[2].
|
||||
|
|
|
|||
|
|
@ -179,8 +179,6 @@ AddVert
|
|||
|
||||
===============
|
||||
*/
|
||||
#define T_EPSILON 0.01
|
||||
|
||||
static void
|
||||
AddVert(wedge_t *w, vec_t t)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue