doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
idScreenRect Class Reference

#include <tr_local.h>

Public Member Functions

void Clear ()
 
void AddPoint (float x, float y)
 
void Expand ()
 
void Intersect (const idScreenRect &rect)
 
void Union (const idScreenRect &rect)
 
bool Equals (const idScreenRect &rect) const
 
bool IsEmpty () const
 

Public Attributes

short x1
 
short y1
 
short x2
 
short y2
 
float zmin
 
float zmax
 

Detailed Description

Definition at line 53 of file tr_local.h.

Member Function Documentation

void idScreenRect::AddPoint ( float  x,
float  y 
)

Definition at line 58 of file tr_main.cpp.

void idScreenRect::Clear ( void  )

Definition at line 47 of file tr_main.cpp.

bool idScreenRect::Equals ( const idScreenRect rect) const

Definition at line 133 of file tr_main.cpp.

void idScreenRect::Expand ( void  )

Definition at line 81 of file tr_main.cpp.

void idScreenRect::Intersect ( const idScreenRect rect)

Definition at line 93 of file tr_main.cpp.

bool idScreenRect::IsEmpty ( void  ) const

Definition at line 142 of file tr_main.cpp.

void idScreenRect::Union ( const idScreenRect rect)

Definition at line 113 of file tr_main.cpp.

Member Data Documentation

short idScreenRect::x1

Definition at line 55 of file tr_local.h.

short idScreenRect::x2

Definition at line 55 of file tr_local.h.

short idScreenRect::y1

Definition at line 55 of file tr_local.h.

short idScreenRect::y2

Definition at line 55 of file tr_local.h.

float idScreenRect::zmax

Definition at line 56 of file tr_local.h.

float idScreenRect::zmin

Definition at line 56 of file tr_local.h.


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