UFO: Alien Invasion
|
#include <tracing.h>
Public Member Functions | |
void | init (TR_TILE_TYPE *_tile, const int contentmask, const int brushreject, const float fraction) |
void | setLineAndBox (const Line &line, const AABB &box) |
Data Fields | |
vec3_t | start |
vec3_t | end |
vec3_t | mins |
vec3_t | maxs |
vec3_t | absmins |
vec3_t | absmaxs |
vec3_t | extents |
vec3_t | offset |
trace_t | trace |
uint32_t | contents |
uint32_t | rejects |
bool | ispoint |
TR_TILE_TYPE * | tile |
void boxtrace_s::init | ( | TR_TILE_TYPE * | _tile, |
const int | contentmask, | ||
const int | brushreject, | ||
const float | fraction | ||
) |
The Tile to check (normally 0 - except in assembled maps)
Definition at line 46 of file tracing.cpp.
References contents, f, trace_s::fraction, trace_s::init(), rejects, trace_s::surface, tile, and trace.
Referenced by CM_HintedTransformedBoxTrace(), and TR_TileBoxTrace().
Definition at line 57 of file tracing.cpp.
References AABB::getCenter(), AABB::maxs, AABB::mins, Line::start, Line::stop, VectorAdd, and VectorSubtract.
Referenced by CM_HintedTransformedBoxTrace(), and TR_TileBoxTrace().
vec3_t boxtrace_s::absmaxs |
Definition at line 97 of file tracing.h.
Referenced by TR_BoxLeafnums_r(), and TR_BoxTrace().
vec3_t boxtrace_s::absmins |
Definition at line 97 of file tracing.h.
Referenced by TR_BoxLeafnums_r(), and TR_BoxTrace().
uint32_t boxtrace_s::contents |
content flags to match again - MASK_ALL to match everything
Definition at line 102 of file tracing.h.
Referenced by init(), TR_TestInLeaf(), and TR_TraceToLeaf().
vec3_t boxtrace_s::end |
Definition at line 95 of file tracing.h.
Referenced by TR_BoxTrace(), and TR_ClipBoxToBrush().
vec3_t boxtrace_s::extents |
Definition at line 98 of file tracing.h.
Referenced by TR_BoxTrace(), and TR_RecursiveHullCheck().
bool boxtrace_s::ispoint |
Definition at line 104 of file tracing.h.
Referenced by TR_BoxTrace(), TR_ClipBoxToBrush(), and TR_RecursiveHullCheck().
vec3_t boxtrace_s::maxs |
Definition at line 96 of file tracing.h.
Referenced by TR_BoxTrace(), TR_ClipBoxToBrush(), and TR_TestBoxInBrush().
vec3_t boxtrace_s::mins |
Definition at line 96 of file tracing.h.
Referenced by TR_BoxTrace(), TR_ClipBoxToBrush(), and TR_TestBoxInBrush().
vec3_t boxtrace_s::offset |
Definition at line 99 of file tracing.h.
Referenced by TR_BoxTrace().
uint32_t boxtrace_s::rejects |
content flags that should be rejected in a trace - ignored when MASK_ALL is given as content flags
Definition at line 103 of file tracing.h.
Referenced by init(), TR_TestInLeaf(), and TR_TraceToLeaf().
vec3_t boxtrace_s::start |
Definition at line 95 of file tracing.h.
Referenced by TR_BoxTrace(), TR_ClipBoxToBrush(), and TR_TestBoxInBrush().
TR_TILE_TYPE* boxtrace_s::tile |
Definition at line 106 of file tracing.h.
Referenced by init(), TR_BoxLeafnums_r(), TR_BoxTrace(), TR_ClipBoxToBrush(), TR_RecursiveHullCheck(), TR_TestBoxInBrush(), TR_TestInLeaf(), and TR_TraceToLeaf().
trace_t boxtrace_s::trace |
Definition at line 101 of file tracing.h.
Referenced by init(), TR_BoxTrace(), TR_ClipBoxToBrush(), TR_RecursiveHullCheck(), TR_TestBoxInBrush(), TR_TestInLeaf(), and TR_TraceToLeaf().