mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +00:00
Rename mplane_t to plane_t and clean up the mess.
I got rather tired of there being multiple definitions of mostly compatible plane types (and I need a common type anyway). dplane_t still exists for now because I want to be careful when messing with the actual bsp format.
This commit is contained in:
parent
2f23cfa4d0
commit
91e65b6c80
28 changed files with 72 additions and 89 deletions
|
@ -48,8 +48,8 @@ static __attribute__ ((used)) const char rcsid[] =
|
|||
#include "QF/sys.h"
|
||||
|
||||
VISIBLE int nanmask = 255 << 23;
|
||||
static mplane_t _frustum[4];
|
||||
VISIBLE mplane_t *const frustum = _frustum;
|
||||
static plane_t _frustum[4];
|
||||
VISIBLE plane_t *const frustum = _frustum;
|
||||
static vec3_t _vec3_origin = { 0, 0, 0 };
|
||||
VISIBLE const vec_t * const vec3_origin = _vec3_origin;
|
||||
static vec3_t _quat_origin = { 0, 0, 0 };
|
||||
|
@ -269,7 +269,7 @@ BOPS_Error (void)
|
|||
Returns 1, 2, or 1 + 2
|
||||
*/
|
||||
VISIBLE int
|
||||
BoxOnPlaneSide (const vec3_t emins, const vec3_t emaxs, mplane_t *p)
|
||||
BoxOnPlaneSide (const vec3_t emins, const vec3_t emaxs, plane_t *p)
|
||||
{
|
||||
float dist1, dist2;
|
||||
int sides;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue