doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Typedefs | Variables
CollisionModel_local.h File Reference
#include "CollisionModel.h"

Go to the source code of this file.

Classes

struct  cm_windingList_s
 
struct  cm_vertex_s
 
struct  cm_edge_s
 
struct  cm_polygonBlock_s
 
struct  cm_polygon_s
 
struct  cm_polygonRef_s
 
struct  cm_polygonRefBlock_s
 
struct  cm_brushBlock_s
 
struct  cm_brush_s
 
struct  cm_brushRef_s
 
struct  cm_brushRefBlock_s
 
struct  cm_node_s
 
struct  cm_nodeBlock_s
 
struct  cm_model_s
 
struct  cm_trmVertex_s
 
struct  cm_trmEdge_s
 
struct  cm_trmPolygon_s
 
struct  cm_traceWork_s
 
struct  cm_procNode_s
 
class  idCollisionModelManagerLocal
 

Macros

#define MIN_NODE_SIZE   64.0f
 
#define MAX_NODE_POLYGONS   128
 
#define CM_MAX_POLYGON_EDGES   64
 
#define CIRCLE_APPROXIMATION_LENGTH   64.0f
 
#define MAX_SUBMODELS   2048
 
#define TRACE_MODEL_HANDLE   MAX_SUBMODELS
 
#define VERTEX_HASH_BOXSIZE   (1<<6)
 
#define VERTEX_HASH_SIZE   (VERTEX_HASH_BOXSIZE*VERTEX_HASH_BOXSIZE)
 
#define EDGE_HASH_SIZE   (1<<14)
 
#define NODE_BLOCK_SIZE_SMALL   8
 
#define NODE_BLOCK_SIZE_LARGE   256
 
#define REFERENCE_BLOCK_SIZE_SMALL   8
 
#define REFERENCE_BLOCK_SIZE_LARGE   256
 
#define MAX_WINDING_LIST   128
 
#define INTEGRAL_EPSILON   0.01f
 
#define VERTEX_EPSILON   0.1f
 
#define CHOP_EPSILON   0.1f
 

Typedefs

typedef struct cm_windingList_s cm_windingList_t
 
typedef struct cm_vertex_s cm_vertex_t
 
typedef struct cm_edge_s cm_edge_t
 
typedef struct cm_polygonBlock_s cm_polygonBlock_t
 
typedef struct cm_polygon_s cm_polygon_t
 
typedef struct cm_polygonRef_s cm_polygonRef_t
 
typedef struct cm_polygonRefBlock_s cm_polygonRefBlock_t
 
typedef struct cm_brushBlock_s cm_brushBlock_t
 
typedef struct cm_brush_s cm_brush_t
 
typedef struct cm_brushRef_s cm_brushRef_t
 
typedef struct cm_brushRefBlock_s cm_brushRefBlock_t
 
typedef struct cm_node_s cm_node_t
 
typedef struct cm_nodeBlock_s cm_nodeBlock_t
 
typedef struct cm_model_s cm_model_t
 
typedef struct cm_trmVertex_s cm_trmVertex_t
 
typedef struct cm_trmEdge_s cm_trmEdge_t
 
typedef struct cm_trmPolygon_s cm_trmPolygon_t
 
typedef struct cm_traceWork_s cm_traceWork_t
 
typedef struct cm_procNode_s cm_procNode_t
 

Variables

idCVar cm_debugCollision
 

Macro Definition Documentation

#define CHOP_EPSILON   0.1f

Definition at line 59 of file CollisionModel_local.h.

#define CIRCLE_APPROXIMATION_LENGTH   64.0f

Definition at line 42 of file CollisionModel_local.h.

#define CM_MAX_POLYGON_EDGES   64

Definition at line 41 of file CollisionModel_local.h.

#define EDGE_HASH_SIZE   (1<<14)

Definition at line 49 of file CollisionModel_local.h.

#define INTEGRAL_EPSILON   0.01f

Definition at line 57 of file CollisionModel_local.h.

#define MAX_NODE_POLYGONS   128

Definition at line 40 of file CollisionModel_local.h.

#define MAX_SUBMODELS   2048

Definition at line 44 of file CollisionModel_local.h.

#define MAX_WINDING_LIST   128

Definition at line 56 of file CollisionModel_local.h.

#define MIN_NODE_SIZE   64.0f

Definition at line 39 of file CollisionModel_local.h.

#define NODE_BLOCK_SIZE_LARGE   256

Definition at line 52 of file CollisionModel_local.h.

#define NODE_BLOCK_SIZE_SMALL   8

Definition at line 51 of file CollisionModel_local.h.

#define REFERENCE_BLOCK_SIZE_LARGE   256

Definition at line 54 of file CollisionModel_local.h.

#define REFERENCE_BLOCK_SIZE_SMALL   8

Definition at line 53 of file CollisionModel_local.h.

#define TRACE_MODEL_HANDLE   MAX_SUBMODELS

Definition at line 45 of file CollisionModel_local.h.

#define VERTEX_EPSILON   0.1f

Definition at line 58 of file CollisionModel_local.h.

#define VERTEX_HASH_BOXSIZE   (1<<6)

Definition at line 47 of file CollisionModel_local.h.

#define VERTEX_HASH_SIZE   (VERTEX_HASH_BOXSIZE*VERTEX_HASH_BOXSIZE)

Definition at line 48 of file CollisionModel_local.h.

Typedef Documentation

typedef struct cm_brush_s cm_brush_t
typedef struct cm_brushRef_s cm_brushRef_t
typedef struct cm_edge_s cm_edge_t
typedef struct cm_model_s cm_model_t
typedef struct cm_node_s cm_node_t
typedef struct cm_polygon_s cm_polygon_t
typedef struct cm_procNode_s cm_procNode_t
typedef struct cm_trmEdge_s cm_trmEdge_t
typedef struct cm_vertex_s cm_vertex_t

Variable Documentation

idCVar cm_debugCollision