trace_s Struct Reference

#include <tracing.h>

Collaboration diagram for trace_s:
Collaboration graph
[legend]

Data Fields

qboolean allsolid
qboolean startsolid
float fraction
vec3_t endpos
TR_PLANE_TYPE plane
cBspSurface_tsurface
int planenum
int contentFlags
int32_t leafnum
int mapTile
struct le_sle
struct edict_sent

Detailed Description

a trace is returned when a box is swept through the world

Definition at line 63 of file tracing.h.


Field Documentation

if true, plane is not valid

Definition at line 64 of file tracing.h.

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

contents on other side of surface hit

Definition at line 71 of file tracing.h.

Referenced by G_EventShoot(), G_ShootSingle(), G_SplashDamage(), SV_PointContents(), TR_ClipBoxToBrush(), and TR_TestBoxInBrush().

not set by CM_*() functions

Definition at line 75 of file tracing.h.

Referenced by G_EventShoot(), G_ShootGrenade(), G_ShootSingle(), SV_ClipMoveToEntities(), and SV_Trace().

struct le_s* trace_s::le

not set by CM_*() functions

Definition at line 74 of file tracing.h.

Referenced by CL_ClipMoveToLEs(), CL_TargetingStraight(), and CL_Trace().

Definition at line 72 of file tracing.h.

Referenced by TR_ClipBoxToBrush().

the map tile we hit something

Definition at line 73 of file tracing.h.

Referenced by CM_CompleteBoxTrace(), CM_HintedTransformedBoxTrace(), and R_Trace().

TR_PLANE_TYPE trace_s::plane

surface normal at impact

Definition at line 68 of file tracing.h.

Referenced by CM_HintedTransformedBoxTrace(), G_EventShoot(), G_ShootGrenade(), G_ShootSingle(), G_SplashDamage(), and TR_ClipBoxToBrush().

index of the plane hit, used for map debugging

Definition at line 70 of file tracing.h.

Referenced by TR_ClipBoxToBrush().

if true, the initial point was in a solid area

Definition at line 65 of file tracing.h.

Referenced by CL_ClipMoveToLEs(), CL_ParticleRun2(), CM_EntTestLine(), CM_EntTestLineDM(), G_ShootSingle(), SV_ClipMoveToEntities(), TR_ClipBoxToBrush(), and TR_TestBoxInBrush().


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

Generated by  doxygen 1.6.2