nuclear@0: #ifndef MESH_H_ nuclear@0: #define MESH_H_ nuclear@0: nuclear@0: struct vec3 { nuclear@0: float x, y, z; nuclear@0: }; nuclear@0: nuclear@0: struct mesh { nuclear@0: struct vec3 *vert, *norm, *tc; nuclear@0: int num_verts; nuclear@0: }; nuclear@0: nuclear@0: struct mesh *load_mesh(const char *fname); nuclear@0: void free_mesh(struct mesh *m); nuclear@0: nuclear@0: void render_mesh(struct mesh *m); nuclear@0: nuclear@0: #endif /* MESH_H_ */