doom3-gpl
Doom 3 GPL source release
|
#include <Surface_Patch.h>
Protected Attributes | |
int | width |
int | height |
int | maxWidth |
int | maxHeight |
bool | expanded |
Protected Attributes inherited from idSurface | |
idList< idDrawVert > | verts |
idList< int > | indexes |
idList< surfaceEdge_t > | edges |
idList< int > | edgeIndexes |
Private Member Functions | |
void | PutOnCurve (void) |
void | RemoveLinearColumnsRows (void) |
void | ResizeExpanded (int height, int width) |
void | Expand (void) |
void | Collapse (void) |
void | ProjectPointOntoVector (const idVec3 &point, const idVec3 &vStart, const idVec3 &vEnd, idVec3 &vProj) |
void | GenerateNormals (void) |
void | GenerateIndexes (void) |
void | LerpVert (const idDrawVert &a, const idDrawVert &b, idDrawVert &out) const |
void | SampleSinglePatchPoint (const idDrawVert ctrl[3][3], float u, float v, idDrawVert *out) const |
void | SampleSinglePatch (const idDrawVert ctrl[3][3], int baseCol, int baseRow, int width, int horzSub, int vertSub, idDrawVert *outVerts) const |
Additional Inherited Members | |
Protected Member Functions inherited from idSurface | |
void | GenerateEdgeIndexes (void) |
int | FindEdge (int v1, int v2) const |
Definition at line 40 of file Surface_Patch.h.
ID_INLINE idSurface_Patch::idSurface_Patch | ( | void | ) |
Definition at line 93 of file Surface_Patch.h.
Definition at line 103 of file Surface_Patch.h.
ID_INLINE idSurface_Patch::idSurface_Patch | ( | const idSurface_Patch & | patch | ) |
Definition at line 116 of file Surface_Patch.h.
ID_INLINE idSurface_Patch::~idSurface_Patch | ( | void | ) |
Definition at line 125 of file Surface_Patch.h.
Definition at line 182 of file Surface_Patch.cpp.
Definition at line 204 of file Surface_Patch.cpp.
Definition at line 392 of file Surface_Patch.cpp.
Definition at line 247 of file Surface_Patch.cpp.
Definition at line 142 of file Surface_Patch.h.
Definition at line 133 of file Surface_Patch.h.
|
private |
Definition at line 226 of file Surface_Patch.cpp.
|
private |
Definition at line 85 of file Surface_Patch.cpp.
Definition at line 57 of file Surface_Patch.cpp.
Definition at line 102 of file Surface_Patch.cpp.
Definition at line 157 of file Surface_Patch.cpp.
|
private |
Definition at line 477 of file Surface_Patch.cpp.
|
private |
Definition at line 420 of file Surface_Patch.cpp.
Definition at line 38 of file Surface_Patch.cpp.
void idSurface_Patch::Subdivide | ( | float | maxHorizontalError, |
float | maxVerticalError, | ||
float | maxLength, | ||
bool | genNormals = false |
||
) |
Definition at line 555 of file Surface_Patch.cpp.
void idSurface_Patch::SubdivideExplicit | ( | int | horzSubdivisions, |
int | vertSubdivisions, | ||
bool | genNormals, | ||
bool | removeLinear = false |
||
) |
Definition at line 497 of file Surface_Patch.cpp.
|
protected |
Definition at line 62 of file Surface_Patch.h.
|
protected |
Definition at line 59 of file Surface_Patch.h.
|
protected |
Definition at line 61 of file Surface_Patch.h.
|
protected |
Definition at line 60 of file Surface_Patch.h.
|
protected |
Definition at line 58 of file Surface_Patch.h.