doom3-gpl
Doom 3 GPL source release
|
#include <Winding2D.h>
Static Public Member Functions | |
static idVec3 | Plane2DFromPoints (const idVec2 &start, const idVec2 &end, const bool normalize=false) |
static idVec3 | Plane2DFromVecs (const idVec2 &start, const idVec2 &dir, const bool normalize=false) |
static bool | Plane2DIntersection (const idVec3 &plane1, const idVec3 &plane2, idVec2 &point) |
Private Attributes | |
int | numPoints |
idVec2 | p [MAX_POINTS_ON_WINDING_2D] |
Definition at line 43 of file Winding2D.h.
ID_INLINE idWinding2D::idWinding2D | ( | void | ) |
Definition at line 93 of file Winding2D.h.
Definition at line 119 of file Winding2D.h.
Definition at line 115 of file Winding2D.h.
bool idWinding2D::ClipInPlace | ( | const idVec3 & | plane, |
const float | epsilon = ON_EPSILON , |
||
const bool | keepOn = false |
||
) |
Definition at line 259 of file Winding2D.cpp.
idWinding2D * idWinding2D::Copy | ( | void | ) | const |
Definition at line 356 of file Winding2D.cpp.
Definition at line 119 of file Winding2D.cpp.
Definition at line 75 of file Winding2D.cpp.
Definition at line 387 of file Winding2D.cpp.
Definition at line 444 of file Winding2D.cpp.
Definition at line 406 of file Winding2D.cpp.
Definition at line 123 of file Winding2D.h.
Definition at line 423 of file Winding2D.cpp.
Definition at line 498 of file Winding2D.cpp.
Definition at line 474 of file Winding2D.cpp.
Definition at line 623 of file Winding2D.cpp.
ID_INLINE idWinding2D & idWinding2D::operator= | ( | const idWinding2D & | winding | ) |
Definition at line 97 of file Winding2D.h.
Definition at line 107 of file Winding2D.h.
Definition at line 111 of file Winding2D.h.
|
static |
Definition at line 127 of file Winding2D.h.
|
static |
Definition at line 138 of file Winding2D.h.
|
static |
Definition at line 149 of file Winding2D.h.
Definition at line 529 of file Winding2D.cpp.
Definition at line 564 of file Winding2D.cpp.
Definition at line 603 of file Winding2D.cpp.
Definition at line 516 of file Winding2D.cpp.
bool idWinding2D::RayIntersection | ( | const idVec2 & | start, |
const idVec2 & | dir, | ||
float & | scale1, | ||
float & | scale2, | ||
int * | edgeNums = NULL |
||
) | const |
Definition at line 685 of file Winding2D.cpp.
idWinding2D * idWinding2D::Reverse | ( | void | ) | const |
Definition at line 370 of file Winding2D.cpp.
int idWinding2D::Split | ( | const idVec3 & | plane, |
const float | epsilon, | ||
idWinding2D ** | front, | ||
idWinding2D ** | back | ||
) | const |
Definition at line 142 of file Winding2D.cpp.
|
private |
Definition at line 89 of file Winding2D.h.
|
private |
Definition at line 90 of file Winding2D.h.