index to short

This commit is contained in:
yangxiao 2015-07-08 14:03:53 +08:00
parent 40b33604d8
commit dac84ade0d
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ namespace tinyobj {
std::vector<float> positions;
std::vector<float> normals;
std::vector<float> texcoords;
std::vector<unsigned int> indices;
std::vector<unsigned short> indices;
std::vector<int> material_ids; // per-mesh material ID
} mesh_t;