doom3-gpl
Doom 3 GPL source release
|
#include <Winding.h>
Static Public Member Functions | |
static float | TriangleArea (const idVec3 &a, const idVec3 &b, const idVec3 &c) |
Protected Member Functions | |
bool | EnsureAlloced (int n, bool keep=false) |
virtual bool | ReAllocate (int n, bool keep=false) |
Protected Attributes | |
int | numPoints |
idVec5 * | p |
int | allocedSize |
void idWinding::AddToConvexHull | ( | const idWinding * | winding, |
const idVec3 & | normal, | ||
const float | epsilon = ON_EPSILON |
||
) |
Definition at line 789 of file Winding.cpp.
void idWinding::AddToConvexHull | ( | const idVec3 & | point, |
const idVec3 & | normal, | ||
const float | epsilon = ON_EPSILON |
||
) |
Definition at line 881 of file Winding.cpp.
Definition at line 66 of file Winding.cpp.
Definition at line 511 of file Winding.cpp.
Reimplemented in idFixedWinding.
idWinding * idWinding::Clip | ( | const idPlane & | plane, |
const float | epsilon = ON_EPSILON , |
||
const bool | keepOn = false |
||
) |
Definition at line 234 of file Winding.cpp.
bool idWinding::ClipInPlace | ( | const idPlane & | plane, |
const float | epsilon = ON_EPSILON , |
||
const bool | keepOn = false |
||
) |
Definition at line 349 of file Winding.cpp.
Definition at line 464 of file Winding.cpp.
Definition at line 598 of file Winding.cpp.
Definition at line 700 of file Winding.cpp.
Definition at line 639 of file Winding.cpp.
Definition at line 656 of file Winding.cpp.
Definition at line 678 of file Winding.cpp.
Definition at line 618 of file Winding.cpp.
Definition at line 1121 of file Winding.cpp.
bool idWinding::InsertPointIfOnEdge | ( | const idVec3 & | point, |
const idPlane & | plane, | ||
const float | epsilon = ON_EPSILON |
||
) |
Definition at line 1145 of file Winding.cpp.
Definition at line 1226 of file Winding.cpp.
Definition at line 1202 of file Winding.cpp.
bool idWinding::LineIntersection | ( | const idPlane & | windingPlane, |
const idVec3 & | start, | ||
const idVec3 & | end, | ||
bool | backFaceCull = false |
||
) | const |
Definition at line 1379 of file Winding.cpp.
Definition at line 1257 of file Winding.cpp.
bool idWinding::PlanesConcave | ( | const idWinding & | w2, |
const idVec3 & | normal1, | ||
const idVec3 & | normal2, | ||
float | dist1, | ||
float | dist2 | ||
) | const |
Definition at line 1333 of file Winding.cpp.
Definition at line 1292 of file Winding.cpp.
bool idWinding::PointInside | ( | const idVec3 & | normal, |
const idVec3 & | point, | ||
const float | epsilon | ||
) | const |
Definition at line 1357 of file Winding.cpp.
Definition at line 1244 of file Winding.cpp.
bool idWinding::RayIntersection | ( | const idPlane & | windingPlane, |
const idVec3 & | start, | ||
const idVec3 & | dir, | ||
float & | scale, | ||
bool | backFaceCull = false |
||
) | const |
Definition at line 1419 of file Winding.cpp.
Reimplemented in idFixedWinding.
Definition at line 44 of file Winding.cpp.
Definition at line 753 of file Winding.cpp.
void idWinding::RemoveEqualPoints | ( | const float | epsilon = ON_EPSILON | ) |
Definition at line 733 of file Winding.cpp.
Definition at line 1106 of file Winding.cpp.
Definition at line 478 of file Winding.cpp.
Definition at line 495 of file Winding.cpp.
int idWinding::Split | ( | const idPlane & | plane, |
const float | epsilon, | ||
idWinding ** | front, | ||
idWinding ** | back | ||
) | const |
Definition at line 92 of file Winding.cpp.
Definition at line 1446 of file Winding.cpp.
idWinding * idWinding::TryMerge | ( | const idWinding & | w, |
const idVec3 & | normal, | ||
int | keep = false |
||
) | const |
Definition at line 998 of file Winding.cpp.