@galacean/engine-loader 1.2.0-alpha.10 → 1.2.0-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +5 -4
- package/dist/main.js.map +1 -1
- package/dist/miniprogram.js +5 -4
- package/dist/module.js +5 -4
- package/dist/module.js.map +1 -1
- package/package.json +4 -4
- package/types/ktx2/BinomialLLCTranscoder/BinomialLLCTranscoder.d.ts +13 -0
- package/types/ktx2/BinomialLLCTranscoder/TranscodeWorkerCode.d.ts +33 -0
- package/types/ktx2/KhronosTranscoder/KhronosTranscoder.d.ts +17 -0
- package/types/ktx2/KhronosTranscoder/TranscoderWorkerCode.d.ts +34 -0
- package/types/ktx2/TranscodeResult.d.ts +10 -0
- package/types/ktx2/constants.d.ts +7 -0
- package/types/ktx2/zstddec.d.ts +62 -0
- package/types/gltf/parser/GLTFJSONParser.d.ts +0 -7
package/dist/main.js
CHANGED
|
@@ -3931,13 +3931,13 @@ exports.GLTFAnimationParser = /*#__PURE__*/ function(GLTFParser1) {
|
|
|
3931
3931
|
break;
|
|
3932
3932
|
}
|
|
3933
3933
|
input[input.length - 1];
|
|
3934
|
-
sampleDataCollection
|
|
3934
|
+
sampleDataCollection[j] = {
|
|
3935
3935
|
type: outputAccessor.type,
|
|
3936
3936
|
interpolation: samplerInterpolation,
|
|
3937
3937
|
input: input,
|
|
3938
3938
|
output: output,
|
|
3939
3939
|
outputSize: outputStride
|
|
3940
|
-
}
|
|
3940
|
+
};
|
|
3941
3941
|
});
|
|
3942
3942
|
promises.push(promise);
|
|
3943
3943
|
};
|
|
@@ -3945,11 +3945,12 @@ exports.GLTFAnimationParser = /*#__PURE__*/ function(GLTFParser1) {
|
|
|
3945
3945
|
var glTF = context.glTF;
|
|
3946
3946
|
var accessors = glTF.accessors, bufferViews = glTF.bufferViews;
|
|
3947
3947
|
var channels = animationInfo.channels, samplers = animationInfo.samplers;
|
|
3948
|
-
var
|
|
3948
|
+
var len = samplers.length;
|
|
3949
|
+
var sampleDataCollection = new Array(len);
|
|
3949
3950
|
var entities = context.get(exports.GLTFParserType.Entity);
|
|
3950
3951
|
var promises = new Array();
|
|
3951
3952
|
// parse samplers
|
|
3952
|
-
for(var j = 0, m =
|
|
3953
|
+
for(var j = 0, m = len; j < m; j++)_loop(j);
|
|
3953
3954
|
promises.push(context.get(exports.GLTFParserType.Scene));
|
|
3954
3955
|
return Promise.all(promises).then(function() {
|
|
3955
3956
|
for(var j = 0, m = channels.length; j < m; j++){
|