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

#include <line.h>

Public Member Functions

 Line ()
 
 Line (const vec3_t _start, const vec3_t _stop)
 
void set (const Line &other)
 Copies the values from the given Line. More...
 

Data Fields

vec3_t start
 
vec3_t stop
 

Detailed Description

Definition at line 31 of file line.h.

Constructor & Destructor Documentation

Line::Line ( )
inline

Definition at line 33 of file line.h.

References start, stop, vec3_origin, and VectorCopy.

Line::Line ( const vec3_t  _start,
const vec3_t  _stop 
)
inline

Definition at line 38 of file line.h.

References start, stop, and VectorCopy.

Member Function Documentation

void Line::set ( const Line other)
inline

Copies the values from the given Line.

Parameters
[in]otherThe other Line

Definition at line 47 of file line.h.

References start, stop, and VectorCopy.

Referenced by CL_Trace(), and SV_Trace().

Field Documentation

vec3_t Line::start

we explicitly don't make them private for now, because the goal of this class is to NOT handle them separately

Definition at line 54 of file line.h.

Referenced by AABB::AABB(), AABB::canBeHitBy(), CM_EntTestLine(), CM_EntTestLineDM(), CM_HintedTransformedBoxTrace(), G_TraceDraw(), Line(), set(), AABB::set(), boxtrace_s::setLineAndBox(), TR_BoxTrace(), and Weather::update().


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