UFO: Alien Invasion
Loading...
Searching...
No Matches
boxtrace_t Struct Reference

#include <tracing.h>

Collaboration diagram for boxtrace_t:
Collaboration graph

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

◆ init()

void boxtrace_t::init ( TR_TILE_TYPE * _tile,
const int contentmask,
const int brushreject,
const float fraction )

The Tile to check (normally 0 - except in assembled maps)

Referenced by CM_HintedTransformedBoxTrace(), and TR_TileBoxTrace().

◆ setLineAndBox()

void boxtrace_t::setLineAndBox ( const Line & line,
const AABB & box )

Field Documentation

◆ absmaxs

vec3_t boxtrace_t::absmaxs

Definition at line 97 of file tracing.h.

Referenced by TR_BoxLeafnums_r(), and TR_BoxTrace().

◆ absmins

vec3_t boxtrace_t::absmins

Definition at line 97 of file tracing.h.

Referenced by TR_BoxLeafnums_r(), and TR_BoxTrace().

◆ contents

uint32_t boxtrace_t::contents

content flags to match again - MASK_ALL to match everything

Definition at line 102 of file tracing.h.

Referenced by TR_TestInLeaf(), and TR_TraceToLeaf().

◆ end

vec3_t boxtrace_t::end

Definition at line 95 of file tracing.h.

Referenced by TR_BoxTrace(), and TR_ClipBoxToBrush().

◆ extents

vec3_t boxtrace_t::extents

Definition at line 98 of file tracing.h.

Referenced by TR_BoxTrace(), and TR_RecursiveHullCheck().

◆ ispoint

bool boxtrace_t::ispoint

Definition at line 104 of file tracing.h.

Referenced by TR_BoxTrace(), TR_ClipBoxToBrush(), and TR_RecursiveHullCheck().

◆ maxs

vec3_t boxtrace_t::maxs

Definition at line 96 of file tracing.h.

Referenced by TR_BoxTrace(), TR_ClipBoxToBrush(), and TR_TestBoxInBrush().

◆ mins

vec3_t boxtrace_t::mins

Definition at line 96 of file tracing.h.

Referenced by TR_BoxTrace(), TR_ClipBoxToBrush(), and TR_TestBoxInBrush().

◆ offset

vec3_t boxtrace_t::offset

Definition at line 99 of file tracing.h.

Referenced by TR_BoxTrace().

◆ rejects

uint32_t boxtrace_t::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 TR_TestInLeaf(), and TR_TraceToLeaf().

◆ start

vec3_t boxtrace_t::start

Definition at line 95 of file tracing.h.

Referenced by TR_BoxTrace(), TR_ClipBoxToBrush(), and TR_TestBoxInBrush().

◆ tile

TR_TILE_TYPE* boxtrace_t::tile

◆ trace


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