Merge pull request #107 from Selmar/serialization_fixes

Add missing serialization of `sampler.wrapR`
This commit is contained in:
Syoyo Fujita 2018-11-10 02:32:56 +09:00 committed by GitHub
commit 6af9e886cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4441,6 +4441,7 @@ static void SerializeGltfNode(Node &node, json &o) {
static void SerializeGltfSampler(Sampler &sampler, json &o) {
SerializeNumberProperty("magFilter", sampler.magFilter, o);
SerializeNumberProperty("minFilter", sampler.minFilter, o);
SerializeNumberProperty("wrapR", sampler.wrapR, o);
SerializeNumberProperty("wrapS", sampler.wrapS, o);
SerializeNumberProperty("wrapT", sampler.wrapT, o);