#include <W3DPoly.h>
Public Member Functions | |
| void | Reset (void) |
| void | Add_Vertex (const Vector3 &point) |
| void | Clip (const PlaneClass &plane, ClipPolyClass &dest) const |
Public Attributes | |
| SimpleDynVecClass< Vector3 > | Verts |
VisPolyClass - This class is used to clip a polygon to a plane. Useful for manually clipping polys to the frustum or other geometry. Based on internal WW3D2 code.
| void ClipPolyClass::Add_Vertex | ( | const Vector3 & | point | ) |
Add a new vertex to polygon
Definition at line 39 of file W3DPoly.cpp.
| void ClipPolyClass::Clip | ( | const PlaneClass & | plane, |
| ClipPolyClass & | dest ) const |
Clip polygon to given plane, returning new polygon in dest.
Definition at line 47 of file W3DPoly.cpp.
| void ClipPolyClass::Reset | ( | void | ) |
Delete all vertices in polygon
Definition at line 31 of file W3DPoly.cpp.
| SimpleDynVecClass<Vector3> ClipPolyClass::Verts |