};
struct meshgroup {
+ /* doesn't own the meshes */
struct mesh **meshes;
int num_meshes, max_meshes;
void init_mesh(struct mesh *m);
void destroy_mesh(struct mesh *m);
void clear_mesh(struct mesh *m);
+int copy_mesh(struct mesh *dest, struct mesh *src);
void init_meshgroup(struct meshgroup *mg);
void destroy_meshgroup(struct meshgroup *mg);
void draw_mesh(struct mesh *m);
void draw_meshgroup(struct meshgroup *mg);
+void xform_mesh(struct mesh *mesh, float *mat);
+
#endif /* MESH_H_ */