UFO: Alien Invasion
Loading...
Searching...
No Matches
MoveClip Class Reference

The bounding box of a moving object. More...

#include <moveclip.h>

Inheritance diagram for MoveClip:
Inheritance graph
Collaboration diagram for MoveClip:
Collaboration graph

Public Member Functions

void calcBounds ()
 Create the bounding box for the entire move.

Data Fields

AABB clipBox
AABB objBox
Line moveLine
int contentmask

Detailed Description

The bounding box of a moving object.

Definition at line 33 of file moveclip.h.

Member Function Documentation

◆ calcBounds()

void MoveClip::calcBounds ( )
inline

Create the bounding box for the entire move.

Note
Box is expanded by 1

Definition at line 48 of file moveclip.h.

References clipBox, moveLine, and objBox.

Referenced by CL_Trace(), and SV_Trace().

Field Documentation

◆ clipBox

AABB MoveClip::clipBox

enclose the test object along entire move

Definition at line 36 of file moveclip.h.

Referenced by calcBounds(), and SV_ClipMoveToEntities().

◆ contentmask

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().

◆ moveLine

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().

◆ objBox

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().


The documentation for this class was generated from the following file: