rapidobj
rapidobj copied to clipboard
Warnings on indices types
Hello,
Is there any reason why the Indices fields are int and not std::size_t like in the Array class ?
struct Index final {
int position_index;
int texcoord_index;
int normal_index;
};
Wouldn't std::size_t be preferable in that case ?
struct Index final {
std::size_t position_index{};
std::size_t texcoord_index{};
std::size_t normal_index{};
};