![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
Go to the source code of this file.
Functions | |
| int | PolygonD_Clip (int innumpoints, const double *inpoints, double planenormalx, double planenormaly, double planenormalz, double planedist, double epsilon, int outfrontmaxpoints, double *outfrontpoints) |
| void | PolygonD_Divide (int innumpoints, const double *inpoints, double planenormalx, double planenormaly, double planenormalz, double planedist, double epsilon, int outfrontmaxpoints, double *outfrontpoints, int *neededfrontpoints, int outbackmaxpoints, double *outbackpoints, int *neededbackpoints, int *oncountpointer) |
| void | PolygonD_QuadForPlane (double *outpoints, double planenormalx, double planenormaly, double planenormalz, double planedist, double quadsize) |
| int | PolygonF_Clip (int innumpoints, const float *inpoints, float planenormalx, float planenormaly, float planenormalz, float planedist, float epsilon, int outfrontmaxpoints, float *outfrontpoints) |
| void | PolygonF_Divide (int innumpoints, const float *inpoints, float planenormalx, float planenormaly, float planenormalz, float planedist, float epsilon, int outfrontmaxpoints, float *outfrontpoints, int *neededfrontpoints, int outbackmaxpoints, float *outbackpoints, int *neededbackpoints, int *oncountpointer) |
| void | PolygonF_QuadForPlane (float *outpoints, float planenormalx, float planenormaly, float planenormalz, float planedist, float quadsize) |
| int PolygonD_Clip | ( | int | innumpoints, |
| const double * | inpoints, | ||
| double | planenormalx, | ||
| double | planenormaly, | ||
| double | planenormalz, | ||
| double | planedist, | ||
| double | epsilon, | ||
| int | outfrontmaxpoints, | ||
| double * | outfrontpoints ) |
Definition at line 139 of file polygon.c.
References n.
| void PolygonD_Divide | ( | int | innumpoints, |
| const double * | inpoints, | ||
| double | planenormalx, | ||
| double | planenormaly, | ||
| double | planenormalz, | ||
| double | planedist, | ||
| double | epsilon, | ||
| int | outfrontmaxpoints, | ||
| double * | outfrontpoints, | ||
| int * | neededfrontpoints, | ||
| int | outbackmaxpoints, | ||
| double * | outbackpoints, | ||
| int * | neededbackpoints, | ||
| int * | oncountpointer ) |
Definition at line 245 of file polygon.c.
References n.
Referenced by Collision_NewBrushFromPlanes(), Mod_BSP_RecursiveNodePortals(), and R_Mesh_AddBrushMeshFromPlanes().
| void PolygonD_QuadForPlane | ( | double * | outpoints, |
| double | planenormalx, | ||
| double | planenormaly, | ||
| double | planenormalz, | ||
| double | planedist, | ||
| double | quadsize ) |
Definition at line 54 of file polygon.c.
References fabs(), and sqrt().
Referenced by Collision_NewBrushFromPlanes(), Mod_BSP_RecursiveNodePortals(), and R_Mesh_AddBrushMeshFromPlanes().
| int PolygonF_Clip | ( | int | innumpoints, |
| const float * | inpoints, | ||
| float | planenormalx, | ||
| float | planenormaly, | ||
| float | planenormalz, | ||
| float | planedist, | ||
| float | epsilon, | ||
| int | outfrontmaxpoints, | ||
| float * | outfrontpoints ) |
Definition at line 99 of file polygon.c.
References n.
Referenced by R_DecalSystem_SplatTriangle().
| void PolygonF_Divide | ( | int | innumpoints, |
| const float * | inpoints, | ||
| float | planenormalx, | ||
| float | planenormaly, | ||
| float | planenormalz, | ||
| float | planedist, | ||
| float | epsilon, | ||
| int | outfrontmaxpoints, | ||
| float * | outfrontpoints, | ||
| int * | neededfrontpoints, | ||
| int | outbackmaxpoints, | ||
| float * | outbackpoints, | ||
| int * | neededbackpoints, | ||
| int * | oncountpointer ) |
Definition at line 179 of file polygon.c.
References n.
Referenced by Portal_PortalThroughPortalPlanes(), and SVBSP_AddPolygonNode().
| void PolygonF_QuadForPlane | ( | float * | outpoints, |
| float | planenormalx, | ||
| float | planenormaly, | ||
| float | planenormalz, | ||
| float | planedist, | ||
| float | quadsize ) |
Definition at line 9 of file polygon.c.