#include <planeclp.h>
Inheritance diagram for csPlaneClip:
Public Methods | |
csPlaneClip (const csVector3 &plane_norm, float d=0) | |
Initialize the plane. | |
csPlaneClip (const csPlane3 &plane) | |
Initialize the plane. | |
csPlaneClip (float d=0) | |
Initialize the plane. | |
csPlaneClip (float a, float b, float c, float d=0) | |
Initialize the plane. | |
bool | ClipPolygon (csVector3 *&pverts, int &num_verts) |
Clip the polygon in pverts (having num_verts vertices) to this plane. More... | |
Protected Methods | |
CS_DECLARE_GROWING_ARRAY (verts, csVector3) | |
CS_DECLARE_GROWING_ARRAY (vis, bool) | |
void | init (int len) |
|
Clip the polygon in pverts (having num_verts vertices) to this plane. The vertices are expected in camera space. Method returns true if there is something visible, false otherwise. |