Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that for builtin types, attribute index is non-negative
glTF specification guarantees that the indices of builtin attributes are natural numbers; atoi can return a negative number, which is likely to cause problems for client code (for example, even if it attempts to range-check the texture coordinate index before writing it to internal mesh representation, index < 8 will not work because index can be negative).
- Loading branch information