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

#include <line.h>

Collaboration diagram for Line:
Collaboration graph

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.

Data Fields

vec3_t start
vec3_t stop

Detailed Description

Definition at line 31 of file line.h.

Constructor & Destructor Documentation

◆ Line() [1/2]

Line::Line ( )
inline

Definition at line 33 of file line.h.

References start, stop, vec3_origin, and VectorCopy.

Referenced by set().

◆ Line() [2/2]

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

◆ set()

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 Line(), start, stop, and VectorCopy.

Referenced by CL_Trace(), and SV_Trace().

Field Documentation

◆ start

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(), Line(), AABB::set(), set(), TR_BoxTrace(), and Weather::update().

◆ stop


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