@@ -254,7 +254,7 @@ class USDZLoader extends Loader {
if ( id !== undefined ) {
- const def = `def "%{id}"`;
+ const def = `def "${id}"`;
if ( def in data ) {
@@ -48,7 +48,7 @@
let waveBuffer, sampleRate;
let waveGPUBuffer;
let currentAudio, currentAnalyser;
- let analyserBuffer = new Uint8Array( 1024 );
+ const analyserBuffer = new Uint8Array( 1024 );
let analyserTexture;
await init();
@@ -72,6 +72,7 @@
"GPUShaderStage": "readonly",
"GPUBufferUsage": "readonly",
"GPUTextureUsage": "readonly",
+ "GPUMapMode": "readonly",
"QUnit": "readonly",
"Ammo":"readonly",
"XRRigidTransform":"readonly",