You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really like how tinygltf defines constants to work with gltf properties. How about expanding it to animation channel targets too?
Right now, channel targets are accessible as target_path and directly read as std::string from gltf. They only take three possible values "translation","scale","rotation" and enums would allow more efficient comparisons when using it.
I use these edits in my project, keeping the original string value but adding a new enum field
I really like how tinygltf defines constants to work with gltf properties. How about expanding it to animation channel targets too?
Right now, channel targets are accessible as
target_path
and directly read as std::string from gltf. They only take three possible values"translation"
,"scale"
,"rotation"
and enums would allow more efficient comparisons when using it.I use these edits in my project, keeping the original string value but adding a new enum field
Edit 1. The class definiton with an additional property and the original for compatiblity:
Edit 2. When parsing:
The text was updated successfully, but these errors were encountered: