@galacean/engine-loader 1.2.0-alpha.11 → 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/miniprogram.js
CHANGED
|
@@ -3932,13 +3932,13 @@ exports.GLTFAnimationParser = /*#__PURE__*/ function(GLTFParser1) {
|
|
|
3932
3932
|
break;
|
|
3933
3933
|
}
|
|
3934
3934
|
input[input.length - 1];
|
|
3935
|
-
sampleDataCollection
|
|
3935
|
+
sampleDataCollection[j] = {
|
|
3936
3936
|
type: outputAccessor.type,
|
|
3937
3937
|
interpolation: samplerInterpolation,
|
|
3938
3938
|
input: input,
|
|
3939
3939
|
output: output,
|
|
3940
3940
|
outputSize: outputStride
|
|
3941
|
-
}
|
|
3941
|
+
};
|
|
3942
3942
|
});
|
|
3943
3943
|
promises.push(promise);
|
|
3944
3944
|
};
|
|
@@ -3946,11 +3946,12 @@ exports.GLTFAnimationParser = /*#__PURE__*/ function(GLTFParser1) {
|
|
|
3946
3946
|
var glTF = context.glTF;
|
|
3947
3947
|
var accessors = glTF.accessors, bufferViews = glTF.bufferViews;
|
|
3948
3948
|
var channels = animationInfo.channels, samplers = animationInfo.samplers;
|
|
3949
|
-
var
|
|
3949
|
+
var len = samplers.length;
|
|
3950
|
+
var sampleDataCollection = new Array(len);
|
|
3950
3951
|
var entities = context.get(exports.GLTFParserType.Entity);
|
|
3951
3952
|
var promises = new Array();
|
|
3952
3953
|
// parse samplers
|
|
3953
|
-
for(var j = 0, m =
|
|
3954
|
+
for(var j = 0, m = len; j < m; j++)_loop(j);
|
|
3954
3955
|
promises.push(context.get(exports.GLTFParserType.Scene));
|
|
3955
3956
|
return Promise.all(promises).then(function() {
|
|
3956
3957
|
for(var j = 0, m = channels.length; j < m; j++){
|
package/dist/module.js
CHANGED
|
@@ -3927,13 +3927,13 @@ var GLTFAnimationParser = /*#__PURE__*/ function(GLTFParser1) {
|
|
|
3927
3927
|
break;
|
|
3928
3928
|
}
|
|
3929
3929
|
input[input.length - 1];
|
|
3930
|
-
sampleDataCollection
|
|
3930
|
+
sampleDataCollection[j] = {
|
|
3931
3931
|
type: outputAccessor.type,
|
|
3932
3932
|
interpolation: samplerInterpolation,
|
|
3933
3933
|
input: input,
|
|
3934
3934
|
output: output,
|
|
3935
3935
|
outputSize: outputStride
|
|
3936
|
-
}
|
|
3936
|
+
};
|
|
3937
3937
|
});
|
|
3938
3938
|
promises.push(promise);
|
|
3939
3939
|
};
|
|
@@ -3941,11 +3941,12 @@ var GLTFAnimationParser = /*#__PURE__*/ function(GLTFParser1) {
|
|
|
3941
3941
|
var glTF = context.glTF;
|
|
3942
3942
|
var accessors = glTF.accessors, bufferViews = glTF.bufferViews;
|
|
3943
3943
|
var channels = animationInfo.channels, samplers = animationInfo.samplers;
|
|
3944
|
-
var
|
|
3944
|
+
var len = samplers.length;
|
|
3945
|
+
var sampleDataCollection = new Array(len);
|
|
3945
3946
|
var entities = context.get(GLTFParserType.Entity);
|
|
3946
3947
|
var promises = new Array();
|
|
3947
3948
|
// parse samplers
|
|
3948
|
-
for(var j = 0, m =
|
|
3949
|
+
for(var j = 0, m = len; j < m; j++)_loop(j);
|
|
3949
3950
|
promises.push(context.get(GLTFParserType.Scene));
|
|
3950
3951
|
return Promise.all(promises).then(function() {
|
|
3951
3952
|
for(var j = 0, m = channels.length; j < m; j++){
|