Open ahoarau opened 1 month ago
Hello, Is there any reason why the Indices fields are int and not std::size_t like in the Array class ?
int
std::size_t
Array
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{}; };
Hello, Is there any reason why the Indices fields are
int
and notstd::size_t
like in theArray
class ?Wouldn't
std::size_t
be preferable in that case ?