Q3Mesh_FaceNew
You can use theQ3Mesh_FaceNewfunction to add a face to a mesh.
TQ3MeshFace Q3Mesh_FaceNew ( TQ3GeometryObject mesh, unsigned long numVertices, const TQ3MeshVertex *vertices, TQ3AttributeSet attributeSet);
mesh- A mesh.
numVertices- The number of mesh vertices in the
verticesarray.vertices- A pointer to an array of mesh vertices defining the new mesh face. These vertices can be ordered either clockwise or counterclockwise.
attributeSet- The desired set of attributes for the new mesh face. Set this parameter to
NULLif you do no want any attributes for the new face.DESCRIPTION
TheQ3Mesh_FaceNewfunction adds the face specified by theverticesparameter to the mesh specified by themeshparameter. The mesh must already exist before you callQ3Mesh_FaceNew. The new mesh face is returned as the function result.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help