mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-02-17 01:31:47 +00:00
Don't use long in CollisionModel_local.h
This commit is contained in:
parent
e8f047bcb6
commit
a0fb3cd699
1 changed files with 4 additions and 4 deletions
|
@ -82,16 +82,16 @@ Collision model
|
||||||
typedef struct cm_vertex_s {
|
typedef struct cm_vertex_s {
|
||||||
idVec3 p; // vertex point
|
idVec3 p; // vertex point
|
||||||
int checkcount; // for multi-check avoidance
|
int checkcount; // for multi-check avoidance
|
||||||
unsigned long side; // each bit tells at which side this vertex passes one of the trace model edges
|
unsigned int side; // each bit tells at which side this vertex passes one of the trace model edges
|
||||||
unsigned long sideSet; // each bit tells if sidedness for the trace model edge has been calculated yet
|
unsigned int sideSet; // each bit tells if sidedness for the trace model edge has been calculated yet
|
||||||
} cm_vertex_t;
|
} cm_vertex_t;
|
||||||
|
|
||||||
typedef struct cm_edge_s {
|
typedef struct cm_edge_s {
|
||||||
int checkcount; // for multi-check avoidance
|
int checkcount; // for multi-check avoidance
|
||||||
unsigned short internal; // a trace model can never collide with internal edges
|
unsigned short internal; // a trace model can never collide with internal edges
|
||||||
unsigned short numUsers; // number of polygons using this edge
|
unsigned short numUsers; // number of polygons using this edge
|
||||||
unsigned long side; // each bit tells at which side of this edge one of the trace model vertices passes
|
unsigned int side; // each bit tells at which side of this edge one of the trace model vertices passes
|
||||||
unsigned long sideSet; // each bit tells if sidedness for the trace model vertex has been calculated yet
|
unsigned int sideSet; // each bit tells if sidedness for the trace model vertex has been calculated yet
|
||||||
int vertexNum[2]; // start and end point of edge
|
int vertexNum[2]; // start and end point of edge
|
||||||
idVec3 normal; // edge normal
|
idVec3 normal; // edge normal
|
||||||
} cm_edge_t;
|
} cm_edge_t;
|
||||||
|
|
Loading…
Reference in a new issue