UFO: Alien Invasion
|
The bounding box of a moving object. More...
#include <moveclip.h>
Inherited by MoveClipCL, and MoveClipSV.
Public Member Functions | |
void | calcBounds () |
Create the bounding box for the entire move. More... | |
Data Fields | |
AABB | clipBox |
AABB | objBox |
Line | moveLine |
int | contentmask |
The bounding box of a moving object.
Definition at line 33 of file moveclip.h.
|
inline |
Create the bounding box for the entire move.
Definition at line 48 of file moveclip.h.
References clipBox, AABB::expand(), moveLine, objBox, and AABB::set().
Referenced by CL_Trace(), and SV_Trace().
AABB MoveClip::clipBox |
enclose the test object along entire move
Definition at line 36 of file moveclip.h.
Referenced by calcBounds(), and SV_ClipMoveToEntities().
int MoveClip::contentmask |
search these in your trace - see MASK_*
Definition at line 39 of file moveclip.h.
Referenced by CL_ClipMoveToLEs(), CL_Trace(), SV_ClipMoveToEntities(), and SV_Trace().
Line MoveClip::moveLine |
the line along which the object moves
Definition at line 38 of file moveclip.h.
Referenced by calcBounds(), CL_ClipMoveToLEs(), CL_Trace(), SV_ClipMoveToEntities(), and SV_Trace().
AABB MoveClip::objBox |
size of the moving object
Definition at line 37 of file moveclip.h.
Referenced by calcBounds(), CL_ClipMoveToLEs(), CL_Trace(), SV_ClipMoveToEntities(), and SV_Trace().