Merge pull request #193 from scpeters/patch-1

tiny_obj_loader.h: initialize pad_ in constructor
This commit is contained in:
Syoyo Fujita
2018-12-15 01:30:19 +09:00
committed by GitHub

View File

@@ -435,7 +435,7 @@ struct face_t {
int pad_; int pad_;
std::vector<vertex_index_t> vertex_indices; // face vertex indices. std::vector<vertex_index_t> vertex_indices; // face vertex indices.
face_t() : smoothing_group_id(0) {} face_t() : smoothing_group_id(0), pad_(0) {}
}; };
struct line_t { struct line_t {