Helper class for I/O mesh. More...
Static Public Member Functions | |
static mesh | load_off_file (const std::string &filename) |
load a off file More... | |
static mesh | load_obj_file (const std::string &filename) |
load a obj file More... | |
Helper class for I/O mesh.
|
static |
load a obj file
References cpe::mesh::add_texture(), cpe::mesh::add_triangle(), cpe::mesh::add_vertex(), MACRO_EXCEPTION_PARAMETER, cpe::vec2::x(), cpe::vec3::x(), cpe::vec2::y(), cpe::vec3::y(), and cpe::vec3::z().
Referenced by cpe::mesh::load_file().
|
static |
load a off file
References cpe::mesh::get_connectivity(), cpe::mesh::get_vertices(), MACRO_EXCEPTION_PARAMETER, cpe::vec3::x(), cpe::vec3::y(), and cpe::vec3::z().
Referenced by cpe::mesh::load_file().