UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boxtrace_s Struct Reference

#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
 

Detailed Description

Definition at line 94 of file tracing.h.

Member Function Documentation

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)

Note
all the above types are declared in typedefs.h

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

void boxtrace_s::setLineAndBox ( const Line line,
const AABB box 
)

Field Documentation

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

The documentation for this struct was generated from the following files: