glTF-SDK icon indicating copy to clipboard operation
glTF-SDK copied to clipboard

Refactor ExtensionsKHR.cpp to remove duplicated code from Serialize.cpp and Deserialize.cpp

Open mebrunn opened this issue 6 years ago • 1 comments

The Parse* and Serializer* functions in ExtensionsKHR.cpp are copied from Serialize.cpp and Deserialize.cpp. That code should be shared rather than duplicated.

mebrunn avatar Mar 19 '19 17:03 mebrunn

It becomes even worse when you try to add your own extension (de)serializer. You have to copy these functions to the new module in order to use them.

vorlov-playrix avatar Nov 23 '19 11:11 vorlov-playrix