class csPolygon2D : public csPoly2D The following class represents a 2D polygon (the 2D coordinates are perspective corrected coordinates)
| | AddFogPolygon (IGraphics3D* g3d, csPolygon3D* poly, csPolyPlane* plane, bool mirror, CS_ID id, int fog_type) Add this polygon as a back or front polygon of a fog object |
| | AddPerspective (csVector3& v) Compute the perspective transformation of a 3D vertex and add it to the polygon |
| | AddPerspective (float x, float y, float z) Compute the perspective transformation of a 3D vertex and add it to the polygon |
| | Draw (IGraphics2D* g2d, int col) Draw the polygon (wireframe version) |
| | DrawFilled (csRenderView* rview, csPolygon3D* poly, csPolyPlane* plane, bool use_z_buf = false) Draw a texture mapped polygon |
The following class represents a 2D polygon (the 2D coordinates are perspective corrected coordinates).This class is used as the main driver for the engine pipeline. The source Polygon is first converted to 2D using csPolygon3D::DoPerspective.
void AddPerspective(float x, float y, float z)
void Draw(IGraphics2D* g2d, int col)
void DrawFilled(csRenderView* rview, csPolygon3D* poly, csPolyPlane* plane, bool use_z_buf = false)
void AddFogPolygon(IGraphics3D* g3d, csPolygon3D* poly, csPolyPlane* plane, bool mirror, CS_ID id, int fog_type)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de