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

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);