This can be useful to recover the index from the pointer for cases when another cgltf data structure contains the pointer.
For animation samplers/channels, the channel references the sampler, but nothing references the channel; it felt inconsistent to only add the sampler function, even though the channel function is unlikely to be useful.
This can be useful to recover the index from the pointer for cases when another cgltf data structure contains the pointer.
For animation samplers/channels, the channel references the sampler, but nothing references the channel; it felt inconsistent to only add the sampler function, even though the channel function is unlikely to be useful.
Fixes #202. Closes #206, closes #207, closes #208, closes #209, closes #210, closes #211, closes #212, closes #213