CMesh Class Reference
Inheritance diagram for CMesh:
[legend]Collaboration diagram for CMesh:
[legend]List of all members.
Detailed Description
A mesh is just a collection of polygons. Use it to store many polygons belonging to a particular group, so you can render them using a different matrix eg, or to paint them with the same material.
Definition at line 157 of file CPoly.h.
Member Function Documentation
|
Links polygon to tail. - See also:
- add_tail()
|
|
Links polygon to head. - See also:
- add_tail()
|
|
Links polygon to tail. - See also:
- add_head()
|
void CMesh::remove |
( |
CPoly * |
poly |
) |
|
|
|
Unlinks polygon from DLL and frees memory. |
void CMesh::transform |
( |
CMatrix * |
matrix |
) |
|
|
|
Transforms all vertices in mesh. - Parameters:
-
| matrix | Matrix that will be used to transform vertices. |
|
void CMesh::move |
( |
CMesh * |
mesh |
) |
|
|
|
Moves contents of polygons DLL to another mesh. |
void CMesh::paint |
( |
void * |
data |
) |
|
|
|
Assign a custom data reference to all polygon. - Parameters:
-
| data | Pointer to custom data structure. |
|
The documentation for this class was generated from the following file:
Generated on Tue Feb 8 21:59:42 2005 for MarSTDv2004 by
1.4.1