PolygonInfo is an object holding the required data to display Sprites. More...
Public Member Functions | |
| PolygonInfo & | operator= (const PolygonInfo &other) |
| Copy the member of the other PolygonInfo. More... | |
| local | operator= ( local other) |
| Copy the member of the other PolygonInfo. More... | |
| void | setQuad (V3F_C4B_T2F_Quad *quad) |
| set the data to be a pointer to a quad the member verts will not be released when this PolygonInfo destructs as the verts memory are managed by other objects More... | |
| var | setQuad ( var quad) |
| set the data to be a pointer to a quad the member verts will not be released when this PolygonInfo destructs as the verts memory are managed by other objects More... | |
| local | setQuad ( local quad) |
| set the data to be a pointer to a quad the member verts will not be released when this PolygonInfo destructs as the verts memory are managed by other objects More... | |
| const unsigned int | getVertCount () const |
| get vertex count More... | |
| const unsigned int | getTriaglesCount () const |
| get triangles count More... | |
| const float | getArea () const |
| get sum of all triangle area size More... | |
| var | getArea () |
| get sum of all triangle area size More... | |
| local | getArea () |
| get sum of all triangle area size More... | |
Creators | |
| PolygonInfo () | |
| Creates an empty Polygon info. More... | |
| PolygonInfo () | |
| Creates an empty Polygon info. More... | |
| PolygonInfo () | |
| Creates an empty Polygon info. More... | |
| PolygonInfo (const PolygonInfo &other) | |
| Create an polygoninfo from the data of another Polygoninfo. More... | |
PolygonInfo is an object holding the required data to display Sprites.
It can be a simple as a triangle, or as complex as a whole 3D mesh