pub fn write_vec<W>(mesh: &[PolygonMesh], writer: W) -> Result<(), Error>where W: Write,
Writes obj data to output stream