@motionscript/browser 0.1.0-alpha.6 → 0.1.0-alpha.8

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.
Files changed (148) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/NOTICE +15 -14
  3. package/README.md +66 -43
  4. package/dist/asset-bytes.d.ts +7 -4
  5. package/dist/asset-bytes.d.ts.map +1 -1
  6. package/dist/asset-bytes.js +9 -4
  7. package/dist/asset-bytes.js.map +1 -1
  8. package/dist/audio/bus-graph.d.ts.map +1 -1
  9. package/dist/audio/bus-graph.js +15 -6
  10. package/dist/audio/bus-graph.js.map +1 -1
  11. package/dist/audio/effect-graph.d.ts +62 -0
  12. package/dist/audio/effect-graph.d.ts.map +1 -0
  13. package/dist/audio/effect-graph.js +234 -0
  14. package/dist/audio/effect-graph.js.map +1 -0
  15. package/dist/audio/index.d.ts.map +1 -1
  16. package/dist/audio/index.js +2 -3
  17. package/dist/audio/index.js.map +1 -1
  18. package/dist/audio/mixer.d.ts +4 -4
  19. package/dist/audio/mixer.d.ts.map +1 -1
  20. package/dist/audio/mixer.js +18 -38
  21. package/dist/audio/mixer.js.map +1 -1
  22. package/dist/audio/player.d.ts +12 -6
  23. package/dist/audio/player.d.ts.map +1 -1
  24. package/dist/audio/player.js +49 -62
  25. package/dist/audio/player.js.map +1 -1
  26. package/dist/browser/THIRD_PARTY_LICENSES.txt +379 -27
  27. package/dist/browser/audio.js +1 -1
  28. package/dist/browser/chunks/chunk-IILVN4SK.js +2 -0
  29. package/dist/browser/chunks/chunk-IILVN4SK.js.map +7 -0
  30. package/dist/browser/chunks/chunk-KLXMRKTL.js +2 -0
  31. package/dist/browser/chunks/chunk-L5UFQACH.js +163 -0
  32. package/dist/browser/chunks/chunk-L5UFQACH.js.map +7 -0
  33. package/dist/browser/chunks/mediabunny-mp3-encoder-ZCIHVVTJ.js +14 -0
  34. package/dist/browser/chunks/mediabunny-mp3-encoder-ZCIHVVTJ.js.map +7 -0
  35. package/dist/browser/index.js +51 -1343
  36. package/dist/browser/index.js.map +4 -4
  37. package/dist/browser/manifest.json +8 -8
  38. package/dist/browser/ms_renderer_bg.wasm +0 -0
  39. package/dist/canvaskit-renderer.d.ts +8 -0
  40. package/dist/canvaskit-renderer.d.ts.map +1 -0
  41. package/dist/canvaskit-renderer.js +23 -0
  42. package/dist/canvaskit-renderer.js.map +1 -0
  43. package/dist/concat.d.ts +33 -7
  44. package/dist/concat.d.ts.map +1 -1
  45. package/dist/concat.js +117 -72
  46. package/dist/concat.js.map +1 -1
  47. package/dist/deliver.d.ts +10 -0
  48. package/dist/deliver.d.ts.map +1 -0
  49. package/dist/deliver.js +22 -0
  50. package/dist/deliver.js.map +1 -0
  51. package/dist/dynamic-nodes.d.ts.map +1 -1
  52. package/dist/dynamic-nodes.js +2 -3
  53. package/dist/dynamic-nodes.js.map +1 -1
  54. package/dist/engine.d.ts +37 -9
  55. package/dist/engine.d.ts.map +1 -1
  56. package/dist/engine.js +41 -32
  57. package/dist/engine.js.map +1 -1
  58. package/dist/export-audio.d.ts +36 -0
  59. package/dist/export-audio.d.ts.map +1 -0
  60. package/dist/export-audio.js +56 -0
  61. package/dist/export-audio.js.map +1 -0
  62. package/dist/exporter.d.ts +125 -14
  63. package/dist/exporter.d.ts.map +1 -1
  64. package/dist/exporter.js +133 -89
  65. package/dist/exporter.js.map +1 -1
  66. package/dist/formats.d.ts +36 -0
  67. package/dist/formats.d.ts.map +1 -0
  68. package/dist/formats.js +83 -0
  69. package/dist/formats.js.map +1 -0
  70. package/dist/frame-loop.d.ts +190 -0
  71. package/dist/frame-loop.d.ts.map +1 -0
  72. package/dist/frame-loop.js +304 -0
  73. package/dist/frame-loop.js.map +1 -0
  74. package/dist/getter.d.ts +4 -1
  75. package/dist/getter.d.ts.map +1 -1
  76. package/dist/getter.js +7 -6
  77. package/dist/getter.js.map +1 -1
  78. package/dist/index.d.ts +12 -11
  79. package/dist/index.d.ts.map +1 -1
  80. package/dist/index.js +17 -21
  81. package/dist/index.js.map +1 -1
  82. package/dist/mix-timeline-audio.d.ts +5 -5
  83. package/dist/mix-timeline-audio.d.ts.map +1 -1
  84. package/dist/mix-timeline-audio.js +10 -12
  85. package/dist/mix-timeline-audio.js.map +1 -1
  86. package/dist/parallel/export-parallel.d.ts +32 -0
  87. package/dist/parallel/export-parallel.d.ts.map +1 -0
  88. package/dist/parallel/export-parallel.js +114 -0
  89. package/dist/parallel/export-parallel.js.map +1 -0
  90. package/dist/parallel/governor.d.ts +57 -0
  91. package/dist/parallel/governor.d.ts.map +1 -0
  92. package/dist/parallel/governor.js +79 -0
  93. package/dist/parallel/governor.js.map +1 -0
  94. package/dist/parallel/lane.d.ts +45 -0
  95. package/dist/parallel/lane.d.ts.map +1 -0
  96. package/dist/parallel/lane.js +2 -0
  97. package/dist/parallel/lane.js.map +1 -0
  98. package/dist/parallel/lanes.d.ts +20 -0
  99. package/dist/parallel/lanes.d.ts.map +1 -0
  100. package/dist/parallel/lanes.js +152 -0
  101. package/dist/parallel/lanes.js.map +1 -0
  102. package/dist/parallel/plan.d.ts +23 -0
  103. package/dist/parallel/plan.d.ts.map +1 -0
  104. package/dist/parallel/plan.js +30 -0
  105. package/dist/parallel/plan.js.map +1 -0
  106. package/dist/parallel/run-lanes.d.ts +38 -0
  107. package/dist/parallel/run-lanes.d.ts.map +1 -0
  108. package/dist/parallel/run-lanes.js +164 -0
  109. package/dist/parallel/run-lanes.js.map +1 -0
  110. package/dist/parallel/session.d.ts +9 -0
  111. package/dist/parallel/session.d.ts.map +1 -0
  112. package/dist/parallel/session.js +79 -0
  113. package/dist/parallel/session.js.map +1 -0
  114. package/dist/render-context.d.ts +2 -0
  115. package/dist/render-context.d.ts.map +1 -1
  116. package/dist/render-context.js +8 -4
  117. package/dist/render-context.js.map +1 -1
  118. package/dist/renderer.d.ts +22 -0
  119. package/dist/renderer.d.ts.map +1 -0
  120. package/dist/renderer.js +23 -0
  121. package/dist/renderer.js.map +1 -0
  122. package/dist/screenshot.d.ts +4 -4
  123. package/dist/screenshot.d.ts.map +1 -1
  124. package/dist/screenshot.js +3 -3
  125. package/dist/screenshot.js.map +1 -1
  126. package/dist/still.d.ts +17 -19
  127. package/dist/still.d.ts.map +1 -1
  128. package/dist/still.js +27 -34
  129. package/dist/still.js.map +1 -1
  130. package/dist/ticker.d.ts +22 -8
  131. package/dist/ticker.d.ts.map +1 -1
  132. package/dist/ticker.js +55 -20
  133. package/dist/ticker.js.map +1 -1
  134. package/package.json +9 -10
  135. package/dist/browser/chunks/GLTFLoader-PGXD4V5B.js +0 -2
  136. package/dist/browser/chunks/GLTFLoader-PGXD4V5B.js.map +0 -7
  137. package/dist/browser/chunks/SkeletonUtils-XYDMTGTM.js +0 -2
  138. package/dist/browser/chunks/chunk-2MAFJWBZ.js +0 -2
  139. package/dist/browser/chunks/chunk-2MAFJWBZ.js.map +0 -7
  140. package/dist/browser/chunks/chunk-CTLBXZSU.js +0 -4119
  141. package/dist/browser/chunks/chunk-CTLBXZSU.js.map +0 -7
  142. package/dist/browser/chunks/chunk-FQ32PDIU.js +0 -2
  143. package/dist/browser/chunks/chunk-FQ32PDIU.js.map +0 -7
  144. package/dist/browser/chunks/chunk-FY3BTKY4.js +0 -2
  145. package/dist/browser/chunks/chunk-FY3BTKY4.js.map +0 -7
  146. package/dist/browser/chunks/three.module-Z4EOVUWF.js +0 -2
  147. package/dist/browser/chunks/three.module-Z4EOVUWF.js.map +0 -7
  148. /package/dist/browser/chunks/{SkeletonUtils-XYDMTGTM.js.map → chunk-KLXMRKTL.js.map} +0 -0
@@ -1,2 +0,0 @@
1
- import{Bg as A,If as P,Kf as g,Lf as W,Pg as T,fd as w,gd as v,td as p}from"./chunk-CTLBXZSU.js";function B(r,a){return a.getBoneName!==void 0?a.getBoneName(r):a.names[r.name]}function D(r,a,e={}){let t=new w,u=new v,l=new p,s=new p;e.preserveBoneMatrix=e.preserveBoneMatrix!==void 0?e.preserveBoneMatrix:!0,e.preserveBonePositions=e.preserveBonePositions!==void 0?e.preserveBonePositions:!0,e.useTargetMatrix=e.useTargetMatrix!==void 0?e.useTargetMatrix:!1,e.hip=e.hip!==void 0?e.hip:"hip",e.hipInfluence=e.hipInfluence!==void 0?e.hipInfluence:new v(1,1,1),e.scale=e.scale!==void 0?e.scale:1,e.names=e.names||{};let o=a.isObject3D?a.skeleton.bones:b(a),c=r.isObject3D?r.skeleton.bones:b(r),i,d,m,x;if(r.isObject3D?r.skeleton.pose():(e.useTargetMatrix=!0,e.preserveBoneMatrix=!1),e.preserveBonePositions){x=[];for(let n=0;n<c.length;n++)x.push(c[n].position.clone())}if(e.preserveBoneMatrix){r.updateMatrixWorld(),r.matrixWorld.identity();for(let n=0;n<r.children.length;++n)r.children[n].updateMatrixWorld(!0)}for(let n=0;n<c.length;++n)i=c[n],d=B(i,e),m=q(d,o),s.copy(i.matrixWorld),m&&(m.updateMatrixWorld(),e.useTargetMatrix?l.copy(m.matrixWorld):(l.copy(r.matrixWorld).invert(),l.multiply(m.matrixWorld)),u.setFromMatrixScale(l),l.scale(u.set(1/u.x,1/u.y,1/u.z)),s.makeRotationFromQuaternion(t.setFromRotationMatrix(l)),r.isObject3D&&e.localOffsets&&e.localOffsets[i.name]&&s.multiply(e.localOffsets[i.name]),s.copyPosition(l)),d===e.hip&&(s.elements[12]*=e.scale*e.hipInfluence.x,s.elements[13]*=e.scale*e.hipInfluence.y,s.elements[14]*=e.scale*e.hipInfluence.z,e.hipPosition!==void 0&&(s.elements[12]+=e.hipPosition.x*e.scale,s.elements[13]+=e.hipPosition.y*e.scale,s.elements[14]+=e.hipPosition.z*e.scale)),i.parent?(i.matrix.copy(i.parent.matrixWorld).invert(),i.matrix.multiply(s)):i.matrix.copy(s),i.matrix.decompose(i.position,i.quaternion,i.scale),i.updateMatrixWorld();if(e.preserveBonePositions)for(let n=0;n<c.length;++n)i=c[n],d=B(i,e)||i.name,d!==e.hip&&i.position.copy(x[n]);e.preserveBoneMatrix&&r.updateMatrixWorld(!0)}function S(r,a,e,t={}){t.useFirstFramePosition=t.useFirstFramePosition!==void 0?t.useFirstFramePosition:!1,t.fps=t.fps!==void 0?t.fps:Math.max(...e.tracks.map(f=>f.times.length))/e.duration,t.names=t.names||[],a.isObject3D||(a=j(a));let u=Math.round(e.duration*(t.fps/1e3)*1e3),l=e.duration/(u-1),s=[],o=new A(a),c=b(r.skeleton),i=[],d,m,x,n,y;o.clipAction(e).play();let k=0,h=u;t.trim!==void 0?(k=Math.round(t.trim[0]*t.fps),h=Math.min(Math.round(t.trim[1]*t.fps),u)-k,o.update(t.trim[0])):o.update(0),a.updateMatrixWorld();for(let f=0;f<h;++f){let F=f*l;D(r,a,t);for(let M=0;M<c.length;++M)m=c[M],y=B(m,t)||m.name,x=q(y,a.skeleton),x&&(n=i[M]=i[M]||{bone:m},t.hip===y&&(n.pos||(n.pos={times:new Float32Array(h),values:new Float32Array(h*3)}),t.useFirstFramePosition&&(f===0&&(d=m.position.clone()),m.position.sub(d)),n.pos.times[f]=F,m.position.toArray(n.pos.values,f*3)),n.quat||(n.quat={times:new Float32Array(h),values:new Float32Array(h*4)}),n.quat.times[f]=F,m.quaternion.toArray(n.quat.values,f*4));f===h-2?o.update(l-1e-7):o.update(l),a.updateMatrixWorld()}for(let f=0;f<i.length;++f)n=i[f],n&&(n.pos&&s.push(new g(".bones["+n.bone.name+"].position",n.pos.times,n.pos.values)),s.push(new P(".bones["+n.bone.name+"].quaternion",n.quat.times,n.quat.values)));return o.uncacheAction(e),new W(e.name,-1,s)}function z(r){let a=new Map,e=new Map,t=r.clone();return O(r,t,function(u,l){a.set(l,u),e.set(u,l)}),t.traverse(function(u){if(!u.isSkinnedMesh)return;let l=u,s=a.get(u),o=s.skeleton.bones;l.skeleton=s.skeleton.clone(),l.bindMatrix.copy(s.bindMatrix),l.skeleton.bones=o.map(function(c){return e.get(c)}),l.bind(l.skeleton,l.bindMatrix)}),t}function q(r,a){for(let e=0,t=b(a);e<t.length;e++)if(r===t[e].name)return t[e]}function b(r){return Array.isArray(r)?r:r.bones}function j(r){let a=new T(r.bones[0]);return a.skeleton=r,a}function O(r,a,e){e(r,a);for(let t=0;t<r.children.length;t++)O(r.children[t],a.children[t],e)}export{D as a,S as b,z as c};
2
- //# sourceMappingURL=chunk-FQ32PDIU.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../node_modules/.pnpm/three@0.185.1/node_modules/three/examples/jsm/utils/SkeletonUtils.js"],
4
- "sourcesContent": ["import {\n\tAnimationClip,\n\tAnimationMixer,\n\tMatrix4,\n\tQuaternion,\n\tQuaternionKeyframeTrack,\n\tSkeletonHelper,\n\tVector3,\n\tVectorKeyframeTrack\n} from 'three';\n\n/**\n * @module SkeletonUtils\n * @three_import import * as SkeletonUtils from 'three/addons/utils/SkeletonUtils.js';\n */\n\nfunction getBoneName( bone, options ) {\n\n\tif ( options.getBoneName !== undefined ) {\n\n\t\treturn options.getBoneName( bone );\n\n\t}\n\n\treturn options.names[ bone.name ];\n\n}\n\n/**\n * Retargets the skeleton from the given source to the target.\n *\n * Both `target` and `source` can be a 3D object with a skeleton property (e.g. a skinned mesh)\n * or a {@link Skeleton} directly.\n *\n * @param {Object3D|Skeleton} target - The target object.\n * @param {Object3D|Skeleton} source - The source object.\n * @param {module:SkeletonUtils~RetargetOptions} options - The options.\n */\nfunction retarget( target, source, options = {} ) {\n\n\tconst quat = new Quaternion(),\n\t\tscale = new Vector3(),\n\t\trelativeMatrix = new Matrix4(),\n\t\tglobalMatrix = new Matrix4();\n\n\toptions.preserveBoneMatrix = options.preserveBoneMatrix !== undefined ? options.preserveBoneMatrix : true;\n\toptions.preserveBonePositions = options.preserveBonePositions !== undefined ? options.preserveBonePositions : true;\n\toptions.useTargetMatrix = options.useTargetMatrix !== undefined ? options.useTargetMatrix : false;\n\toptions.hip = options.hip !== undefined ? options.hip : 'hip';\n\toptions.hipInfluence = options.hipInfluence !== undefined ? options.hipInfluence : new Vector3( 1, 1, 1 );\n\toptions.scale = options.scale !== undefined ? options.scale : 1;\n\toptions.names = options.names || {};\n\n\tconst sourceBones = source.isObject3D ? source.skeleton.bones : getBones( source ),\n\t\tbones = target.isObject3D ? target.skeleton.bones : getBones( target );\n\n\tlet bone, name, boneTo,\n\t\tbonesPosition;\n\n\t// reset bones\n\n\tif ( target.isObject3D ) {\n\n\t\ttarget.skeleton.pose();\n\n\t} else {\n\n\t\toptions.useTargetMatrix = true;\n\t\toptions.preserveBoneMatrix = false;\n\n\t}\n\n\tif ( options.preserveBonePositions ) {\n\n\t\tbonesPosition = [];\n\n\t\tfor ( let i = 0; i < bones.length; i ++ ) {\n\n\t\t\tbonesPosition.push( bones[ i ].position.clone() );\n\n\t\t}\n\n\t}\n\n\tif ( options.preserveBoneMatrix ) {\n\n\t\t// reset matrix\n\n\t\ttarget.updateMatrixWorld();\n\n\t\ttarget.matrixWorld.identity();\n\n\t\t// reset children matrix\n\n\t\tfor ( let i = 0; i < target.children.length; ++ i ) {\n\n\t\t\ttarget.children[ i ].updateMatrixWorld( true );\n\n\t\t}\n\n\t}\n\n\tfor ( let i = 0; i < bones.length; ++ i ) {\n\n\t\tbone = bones[ i ];\n\t\tname = getBoneName( bone, options );\n\n\t\tboneTo = getBoneByName( name, sourceBones );\n\n\t\tglobalMatrix.copy( bone.matrixWorld );\n\n\t\tif ( boneTo ) {\n\n\t\t\tboneTo.updateMatrixWorld();\n\n\t\t\tif ( options.useTargetMatrix ) {\n\n\t\t\t\trelativeMatrix.copy( boneTo.matrixWorld );\n\n\t\t\t} else {\n\n\t\t\t\trelativeMatrix.copy( target.matrixWorld ).invert();\n\t\t\t\trelativeMatrix.multiply( boneTo.matrixWorld );\n\n\t\t\t}\n\n\t\t\t// ignore scale to extract rotation\n\n\t\t\tscale.setFromMatrixScale( relativeMatrix );\n\t\t\trelativeMatrix.scale( scale.set( 1 / scale.x, 1 / scale.y, 1 / scale.z ) );\n\n\t\t\t// apply to global matrix\n\n\t\t\tglobalMatrix.makeRotationFromQuaternion( quat.setFromRotationMatrix( relativeMatrix ) );\n\n\t\t\tif ( target.isObject3D ) {\n\n\t\t\t\tif ( options.localOffsets ) {\n\n\t\t\t\t\tif ( options.localOffsets[ bone.name ] ) {\n\n\t\t\t\t\t\tglobalMatrix.multiply( options.localOffsets[ bone.name ] );\n\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tglobalMatrix.copyPosition( relativeMatrix );\n\n\t\t}\n\n\t\tif ( name === options.hip ) {\n\n\t\t\tglobalMatrix.elements[ 12 ] *= options.scale * options.hipInfluence.x;\n\t\t\tglobalMatrix.elements[ 13 ] *= options.scale * options.hipInfluence.y;\n\t\t\tglobalMatrix.elements[ 14 ] *= options.scale * options.hipInfluence.z;\n\n\t\t\tif ( options.hipPosition !== undefined ) {\n\n\t\t\t\tglobalMatrix.elements[ 12 ] += options.hipPosition.x * options.scale;\n\t\t\t\tglobalMatrix.elements[ 13 ] += options.hipPosition.y * options.scale;\n\t\t\t\tglobalMatrix.elements[ 14 ] += options.hipPosition.z * options.scale;\n\n\t\t\t}\n\n\t\t}\n\n\t\tif ( bone.parent ) {\n\n\t\t\tbone.matrix.copy( bone.parent.matrixWorld ).invert();\n\t\t\tbone.matrix.multiply( globalMatrix );\n\n\t\t} else {\n\n\t\t\tbone.matrix.copy( globalMatrix );\n\n\t\t}\n\n\t\tbone.matrix.decompose( bone.position, bone.quaternion, bone.scale );\n\n\t\tbone.updateMatrixWorld();\n\n\t}\n\n\tif ( options.preserveBonePositions ) {\n\n\t\tfor ( let i = 0; i < bones.length; ++ i ) {\n\n\t\t\tbone = bones[ i ];\n\t\t\tname = getBoneName( bone, options ) || bone.name;\n\n\t\t\tif ( name !== options.hip ) {\n\n\t\t\t\tbone.position.copy( bonesPosition[ i ] );\n\n\t\t\t}\n\n\t\t}\n\n\t}\n\n\tif ( options.preserveBoneMatrix ) {\n\n\t\t// restore matrix\n\n\t\ttarget.updateMatrixWorld( true );\n\n\t}\n\n}\n\n/**\n * Retargets the animation clip of the source to the target 3D object.\n *\n * The `source` can be a 3D object with a skeleton property (e.g. a skinned mesh)\n * or a {@link Skeleton} directly.\n *\n * @param {Object3D} target - The target 3D object. Must have a `skeleton` property.\n * @param {Object3D|Skeleton} source - The source object.\n * @param {AnimationClip} clip - The animation clip.\n * @param {module:SkeletonUtils~RetargetOptions} options - The options.\n * @return {AnimationClip} The retargeted animation clip.\n */\nfunction retargetClip( target, source, clip, options = {} ) {\n\n\toptions.useFirstFramePosition = options.useFirstFramePosition !== undefined ? options.useFirstFramePosition : false;\n\n\t// Calculate the fps from the source clip based on the track with the most frames, unless fps is already provided.\n\toptions.fps = options.fps !== undefined ? options.fps : ( Math.max( ...clip.tracks.map( track => track.times.length ) ) / clip.duration );\n\toptions.names = options.names || [];\n\n\tif ( ! source.isObject3D ) {\n\n\t\tsource = getHelperFromSkeleton( source );\n\n\t}\n\n\tconst numFrames = Math.round( clip.duration * ( options.fps / 1000 ) * 1000 ),\n\t\tdelta = clip.duration / ( numFrames - 1 ),\n\t\tconvertedTracks = [],\n\t\tmixer = new AnimationMixer( source ),\n\t\tbones = getBones( target.skeleton ),\n\t\tboneDatas = [];\n\n\tlet positionOffset,\n\t\tbone, boneTo, boneData,\n\t\tname;\n\n\tmixer.clipAction( clip ).play();\n\n\t// trim\n\n\tlet start = 0, end = numFrames;\n\n\tif ( options.trim !== undefined ) {\n\n\t\tstart = Math.round( options.trim[ 0 ] * options.fps );\n\t\tend = Math.min( Math.round( options.trim[ 1 ] * options.fps ), numFrames ) - start;\n\n\t\tmixer.update( options.trim[ 0 ] );\n\n\t} else {\n\n\t\tmixer.update( 0 );\n\n\t}\n\n\tsource.updateMatrixWorld();\n\n\t//\n\n\tfor ( let frame = 0; frame < end; ++ frame ) {\n\n\t\tconst time = frame * delta;\n\n\t\tretarget( target, source, options );\n\n\t\tfor ( let j = 0; j < bones.length; ++ j ) {\n\n\t\t\tbone = bones[ j ];\n\t\t\tname = getBoneName( bone, options ) || bone.name;\n\t\t\tboneTo = getBoneByName( name, source.skeleton );\n\n\t\t\tif ( boneTo ) {\n\n\t\t\t\tboneData = boneDatas[ j ] = boneDatas[ j ] || { bone: bone };\n\n\t\t\t\tif ( options.hip === name ) {\n\n\t\t\t\t\tif ( ! boneData.pos ) {\n\n\t\t\t\t\t\tboneData.pos = {\n\t\t\t\t\t\t\ttimes: new Float32Array( end ),\n\t\t\t\t\t\t\tvalues: new Float32Array( end * 3 )\n\t\t\t\t\t\t};\n\n\t\t\t\t\t}\n\n\t\t\t\t\tif ( options.useFirstFramePosition ) {\n\n\t\t\t\t\t\tif ( frame === 0 ) {\n\n\t\t\t\t\t\t\tpositionOffset = bone.position.clone();\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbone.position.sub( positionOffset );\n\n\t\t\t\t\t}\n\n\t\t\t\t\tboneData.pos.times[ frame ] = time;\n\n\t\t\t\t\tbone.position.toArray( boneData.pos.values, frame * 3 );\n\n\t\t\t\t}\n\n\t\t\t\tif ( ! boneData.quat ) {\n\n\t\t\t\t\tboneData.quat = {\n\t\t\t\t\t\ttimes: new Float32Array( end ),\n\t\t\t\t\t\tvalues: new Float32Array( end * 4 )\n\t\t\t\t\t};\n\n\t\t\t\t}\n\n\t\t\t\tboneData.quat.times[ frame ] = time;\n\n\t\t\t\tbone.quaternion.toArray( boneData.quat.values, frame * 4 );\n\n\t\t\t}\n\n\t\t}\n\n\t\tif ( frame === end - 2 ) {\n\n\t\t\t// last mixer update before final loop iteration\n\t\t\t// make sure we do not go over or equal to clip duration\n\t\t\tmixer.update( delta - 0.0000001 );\n\n\t\t} else {\n\n\t\t\tmixer.update( delta );\n\n\t\t}\n\n\t\tsource.updateMatrixWorld();\n\n\t}\n\n\tfor ( let i = 0; i < boneDatas.length; ++ i ) {\n\n\t\tboneData = boneDatas[ i ];\n\n\t\tif ( boneData ) {\n\n\t\t\tif ( boneData.pos ) {\n\n\t\t\t\tconvertedTracks.push( new VectorKeyframeTrack(\n\t\t\t\t\t'.bones[' + boneData.bone.name + '].position',\n\t\t\t\t\tboneData.pos.times,\n\t\t\t\t\tboneData.pos.values\n\t\t\t\t) );\n\n\t\t\t}\n\n\t\t\tconvertedTracks.push( new QuaternionKeyframeTrack(\n\t\t\t\t'.bones[' + boneData.bone.name + '].quaternion',\n\t\t\t\tboneData.quat.times,\n\t\t\t\tboneData.quat.values\n\t\t\t) );\n\n\t\t}\n\n\t}\n\n\tmixer.uncacheAction( clip );\n\n\treturn new AnimationClip( clip.name, - 1, convertedTracks );\n\n}\n\n/**\n * Clones the given 3D object and its descendants, ensuring that any `SkinnedMesh` instances are\n * correctly associated with their bones. Bones are also cloned, and must be descendants of the\n * object passed to this method. Other data, like geometries and materials, are reused by reference.\n *\n * @param {Object3D} source - The 3D object to clone.\n * @return {Object3D} The cloned 3D object.\n */\nfunction clone( source ) {\n\n\tconst sourceLookup = new Map();\n\tconst cloneLookup = new Map();\n\n\tconst clone = source.clone();\n\n\tparallelTraverse( source, clone, function ( sourceNode, clonedNode ) {\n\n\t\tsourceLookup.set( clonedNode, sourceNode );\n\t\tcloneLookup.set( sourceNode, clonedNode );\n\n\t} );\n\n\tclone.traverse( function ( node ) {\n\n\t\tif ( ! node.isSkinnedMesh ) return;\n\n\t\tconst clonedMesh = node;\n\t\tconst sourceMesh = sourceLookup.get( node );\n\t\tconst sourceBones = sourceMesh.skeleton.bones;\n\n\t\tclonedMesh.skeleton = sourceMesh.skeleton.clone();\n\t\tclonedMesh.bindMatrix.copy( sourceMesh.bindMatrix );\n\n\t\tclonedMesh.skeleton.bones = sourceBones.map( function ( bone ) {\n\n\t\t\treturn cloneLookup.get( bone );\n\n\t\t} );\n\n\t\tclonedMesh.bind( clonedMesh.skeleton, clonedMesh.bindMatrix );\n\n\t} );\n\n\treturn clone;\n\n}\n\n// internal helper\n\nfunction getBoneByName( name, skeleton ) {\n\n\tfor ( let i = 0, bones = getBones( skeleton ); i < bones.length; i ++ ) {\n\n\t\tif ( name === bones[ i ].name )\n\n\t\t\treturn bones[ i ];\n\n\t}\n\n}\n\nfunction getBones( skeleton ) {\n\n\treturn Array.isArray( skeleton ) ? skeleton : skeleton.bones;\n\n}\n\n\nfunction getHelperFromSkeleton( skeleton ) {\n\n\tconst source = new SkeletonHelper( skeleton.bones[ 0 ] );\n\tsource.skeleton = skeleton;\n\n\treturn source;\n\n}\n\nfunction parallelTraverse( a, b, callback ) {\n\n\tcallback( a, b );\n\n\tfor ( let i = 0; i < a.children.length; i ++ ) {\n\n\t\tparallelTraverse( a.children[ i ], b.children[ i ], callback );\n\n\t}\n\n}\n\n/**\n * Retarget options of `SkeletonUtils`.\n *\n * @typedef {Object} module:SkeletonUtils~RetargetOptions\n * @property {boolean} [useFirstFramePosition=false] - Whether to use the position of the first frame or not.\n * @property {number} [fps] - The FPS of the clip.\n * @property {Object<string,string>} [names] - A dictionary for mapping target to source bone names.\n * @property {function(string):string} [getBoneName] - A function for mapping bone names. Alternative to `names`.\n * @property {Array<number>} [trim] - Whether to trim the clip or not. If set the array should hold two values for the start and end.\n * @property {boolean} [preserveBoneMatrix=true] - Whether to preserve bone matrices or not.\n * @property {boolean} [preserveBonePositions=true] - Whether to preserve bone positions or not.\n * @property {boolean} [useTargetMatrix=false] - Whether to use the target matrix or not.\n * @property {string} [hip='hip'] - The name of the source's hip bone.\n * @property {Vector3} [hipInfluence=(1,1,1)] - The hip influence.\n * @property {number} [scale=1] - The scale.\n * @property {Object<string,Matrix4>} [localOffsets] - Per-bone local offset matrices, keyed by bone name.\n * @property {Vector3} [hipPosition] - An additional position offset applied to the hip bone.\n **/\n\nexport {\n\tretarget,\n\tretargetClip,\n\tclone,\n};\n"],
5
- "mappings": "iGAgBA,SAASA,EAAaC,EAAMC,EAAU,CAErC,OAAKA,EAAQ,cAAgB,OAErBA,EAAQ,YAAaD,CAAK,EAI3BC,EAAQ,MAAOD,EAAK,IAAK,CAEjC,CAYA,SAASE,EAAUC,EAAQC,EAAQH,EAAU,CAAC,EAAI,CAEjD,IAAMI,EAA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AAA7C,EAAO,SAAW6C,EAEX7C,CAER,CAEA,SAASuC,EAAkBQ,EAAGC,EAAGC,EAAW,CAE3CA,EAAUF,EAAGC,CAAE,EAEf,QAAUlC,EAAI,EAAGA,EAAIiC,EAAE,SAAS,OAAQjC,IAEvCyB,EAAkBQ,EAAE,SAAUjC,CAAE,EAAGkC,EAAE,SAAUlC,CAAE,EAAGmC,CAAS,CAI/D",
6
- "names": ["getBoneName", "bone", "options", "retarget", "target", "source", "quat", "Quaternion", "scale", "Vector3", "relativeMatrix", "Matrix4", "globalMatrix", "sourceBones", "getBones", "bones", "name", "boneTo", "bonesPosition", "i", "getBoneByName", "retargetClip", "clip", "track", "getHelperFromSkeleton", "numFrames", "delta", "convertedTracks", "mixer", "AnimationMixer", "boneDatas", "positionOffset", "boneData", "start", "end", "frame", "time", "j", "VectorKeyframeTrack", "QuaternionKeyframeTrack", "AnimationClip", "clone", "sourceLookup", "cloneLookup", "parallelTraverse", "sourceNode", "clonedNode", "node", "clonedMesh", "sourceMesh", "skeleton", "SkeletonHelper", "a", "b", "callback"]
7
- }
@@ -1,2 +0,0 @@
1
- var g=Object.create;var f=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(b,a)=>()=>{try{return a||b((a={exports:{}}).exports,a),a.exports}catch(c){throw a=0,c}};var l=(b,a,c,e)=>{if(a&&typeof a=="object"||typeof a=="function")for(let d of i(a))!k.call(b,d)&&d!==c&&f(b,d,{get:()=>a[d],enumerable:!(e=h(a,d))||e.enumerable});return b};var n=(b,a,c)=>(c=b!=null?g(j(b)):{},l(a||!b||!b.__esModule?f(c,"default",{value:b,enumerable:!0}):c,b));export{m as a,n as b};
2
- //# sourceMappingURL=chunk-FY3BTKY4.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
7
- }
@@ -1,2 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,a,aa,ab,ac,ad,ae,af,ag as bg,ah as bh,b,ba,bb,bc,bd,be,bf,bg as cg,bh as ch,c,ca,cb,cc,cd,ce,cf,cg as dg,ch as dh,d,da,db,dc,dd,de,df,dg as eg,dh as eh,e,ea,eb,ec,ed,ee,ef,eg as fg,eh as fh,f,fa,fb,fc,fd,fe,ff,fg as gg,fh as gh,g,ga,gb,gc,gd,ge,gf,gg as hg,gh as hh,h,ha,hb,hc,hd,he,hf,hg as ig,hh as ih,i,ia,ib,ic,id,ie,if as jf,ig as jg,ih as jh,j,ja,jb,jc,jd,je,jf as kf,jg as kg,k,ka,kb,kc,kd,ke,kf as lf,kg as lg,l,la,lb,lc,ld,le,lf as mf,lg as mg,m,ma,mb,mc,md,me,mf as nf,mg as ng,n,na,nb,nc,nd,ne,nf as of,ng as og,o,oa,ob,oc,od,oe,of as pf,og as pg,p,pa,pb,pc,pd,pe,pf as qf,pg as qg,q,qa,qb,qc,qd,qe,qf as rf,qg as rg,r,ra,rb,rc,rd,re,rf as sf,rg as sg,s,sa,sb,sc,sd,se,sf as tf,sg as tg,t,ta,tb,tc,td,te,tf as uf,tg as ug,u,ua,ub,uc,ud,ue,uf as vf,ug as vg,v,va,vb,vc,vd,ve,vf as wf,vg as wg,w,wa,wb,wc,wd,we,wf as xf,wg as xg,x,xa,xb,xc,xd,xe,xf as yf,xg as yg,y,ya,yb,yc,yd,ye,yf as zf,yg as zg,z,za,zb,zc,zd,ze,zf as Af,zg as Ag}from"./chunk-CTLBXZSU.js";import"./chunk-FY3BTKY4.js";export{ca as ACESFilmicToneMapping,v as AddEquation,Z as AddOperation,Sb as AdditiveAnimationBlendMode,q as AdditiveBlending,ea as AgXToneMapping,Oa as AlphaFormat,Fc as AlwaysCompare,Q as AlwaysDepth,xc as AlwaysStencilFunc,eg as AmbientLight,Bg as AnimationAction,Mf as AnimationClip,Sf as AnimationLoader,Cg as AnimationMixer,Ag as AnimationObjectGroup,yf as AnimationUtils,Le as ArcCurve,sg as ArrayCamera,_g as ArrowHelper,ga as AttachedBindMode,vg as Audio,xg as AudioAnalyser,og as AudioContext,ug as AudioListener,pg as AudioLoader,$g as AxesHelper,m as BackSide,Wb as BasicDepthPacking,h as BasicShadowMap,ie as BatchedMesh,Df as BezierInterpolant,ae as Bone,Ff as BooleanKeyframeTrack,Ng as Box2,Ed as Box3,Yg as Box3Helper,Be as BoxGeometry,Xg as BoxHelper,Gd as BufferAttribute,Rd as BufferGeometry,lg as BufferGeometryLoader,Ca as ByteType,Nf as Cache,_f as Camera,Wg as CameraHelper,we as CanvasTexture,Ce as CapsuleGeometry,Me as CatmullRomCurve3,ba as CineonToneMapping,De as CircleGeometry,pa as ClampToEdgeWrapping,Jg as Clock,zd as Color,Gf as ColorKeyframeTrack,id as ColorManagement,Wc as Compatibility,te as CompressedArrayTexture,ue as CompressedCubeTexture,se as CompressedTexture,Tf as CompressedTextureLoader,Fe as ConeGeometry,N as ConstantAlphaFactor,L as ConstantColorFactor,bh as Controls,rg as CubeCamera,ze as CubeDepthTexture,ja as CubeReflectionMapping,ka as CubeRefractionMapping,ve as CubeTexture,Vf as CubeTextureLoader,na as CubeUVReflectionMapping,Ne as CubicBezierCurve,Oe as CubicBezierCurve3,Af as CubicInterpolant,e as CullFaceBack,f as CullFaceFront,g as CullFaceFrontBack,d as CullFaceNone,Je as Curve,Ue as CurvePath,t as CustomBlending,da as CustomToneMapping,Ee as CylinderGeometry,Lg as Cylindrical,rd as Data3DTexture,pd as DataArrayTexture,be as DataTexture,Wf as DataTextureLoader,Fd as DataUtils,mc as DecrementStencilOp,oc as DecrementWrapStencilOp,Pf as DefaultLoadingManager,Ra as DepthFormat,Sa as DepthStencilFormat,ye as DepthTexture,ha as DetachedBindMode,dg as DirectionalLight,Vg as DirectionalLightHelper,Cf as DiscreteInterpolant,He as DodecahedronGeometry,n as DoubleSide,G as DstAlphaFactor,I as DstColorFactor,Nc as DynamicCopyUsage,Hc as DynamicDrawUsage,Kc as DynamicReadUsage,Ie as EdgesGeometry,Ke as EllipseCurve,Ac as EqualCompare,T as EqualDepth,sc as EqualStencilFunc,la as EquirectangularReflectionMapping,ma as EquirectangularRefractionMapping,ud as Euler,cd as EventDispatcher,Ae as ExternalTexture,Ye as ExtrudeGeometry,Rf as FileLoader,Od as Float16BufferAttribute,Pd as Float32BufferAttribute,Ha as FloatType,Bd as Fog,Ad as FogExp2,re as FramebufferTexture,l as FrontSide,ge as Frustum,he as FrustumArray,Hg as GLBufferAttribute,Pc as GLSL1,Qc as GLSL3,Cc as GreaterCompare,V as GreaterDepth,Ec as GreaterEqualCompare,U as GreaterEqualDepth,wc as GreaterEqualStencilFunc,uc as GreaterStencilFunc,Tg as GridHelper,xd as Group,xe as HTMLTexture,Ia as HalfFloatType,Zf as HemisphereLight,Sg as HemisphereLightHelper,Ze as IcosahedronGeometry,ng as ImageBitmapLoader,Uf as ImageLoader,jd as ImageUtils,lc as IncrementStencilOp,nc as IncrementWrapStencilOp,de as InstancedBufferAttribute,kg as InstancedBufferGeometry,Gg as InstancedInterleavedBuffer,ee as InstancedMesh,Kd as Int16BufferAttribute,Md as Int32BufferAttribute,Hd as Int8BufferAttribute,Fa as IntType,Sd as InterleavedBuffer,Td as InterleavedBufferAttribute,zf as Interpolant,Nb as InterpolateBezier,Kb as InterpolateDiscrete,Lb as InterpolateLinear,Mb as InterpolateSmooth,Vc as InterpolationSamplingMode,Uc as InterpolationSamplingType,pc as InvertStencilOp,jc as KeepStencilOp,Ef as KeyframeTrack,Xd as LOD,_e as LatheGeometry,vd as Layers,zc as LessCompare,R as LessDepth,Bc as LessEqualCompare,S as LessEqualDepth,tc as LessEqualStencilFunc,rc as LessStencilFunc,Yf as Light,hg as LightProbe,ke as Line,Og as Line3,je as LineBasicMaterial,Pe as LineCurve,Qe as LineCurve3,xf as LineDashedMaterial,me as LineLoop,le as LineSegments,wa as LinearFilter,Bf as LinearInterpolant,Aa as LinearMipMapLinearFilter,ya as LinearMipMapNearestFilter,za as LinearMipmapLinearFilter,xa as LinearMipmapNearestFilter,cc as LinearSRGBColorSpace,$ as LinearToneMapping,dc as LinearTransfer,Qf as Loader,jg as LoaderUtils,Of as LoadingManager,Hb as LoopOnce,Jb as LoopPingPong,Ib as LoopRepeat,b as MOUSE,Ud as Material,u as MaterialBlending,ig as MaterialLoader,dd as MathUtils,Mg as Matrix2,hd as Matrix3,td as Matrix4,z as MaxEquation,_d as Mesh,Zd as MeshBasicMaterial,uf as MeshDepthMaterial,vf as MeshDistanceMaterial,tf as MeshLambertMaterial,wf as MeshMatcapMaterial,sf as MeshNormalMaterial,qf as MeshPhongMaterial,pf as MeshPhysicalMaterial,of as MeshStandardMaterial,rf as MeshToonMaterial,y as MinEquation,qa as MirroredRepeatWrapping,Y as MixOperation,s as MultiplyBlending,X as MultiplyOperation,ra as NearestFilter,va as NearestMipMapLinearFilter,ta as NearestMipMapNearestFilter,ua as NearestMipmapLinearFilter,sa as NearestMipmapNearestFilter,fa as NeutralToneMapping,yc as NeverCompare,P as NeverDepth,qc as NeverStencilFunc,o as NoBlending,ac as NoColorSpace,fc as NoNormalPacking,_ as NoToneMapping,Rb as NormalAnimationBlendMode,p as NormalBlending,hc as NormalGAPacking,gc as NormalRGPacking,Dc as NotEqualCompare,W as NotEqualDepth,vc as NotEqualStencilFunc,Hf as NumberKeyframeTrack,wd as Object3D,mg as ObjectLoader,$b as ObjectSpaceNormalMap,$e as OctahedronGeometry,B as OneFactor,O as OneMinusConstantAlphaFactor,M as OneMinusConstantColorFactor,H as OneMinusDstAlphaFactor,J as OneMinusDstColorFactor,F as OneMinusSrcAlphaFactor,D as OneMinusSrcColorFactor,cg as OrthographicCamera,i as PCFShadowMap,j as PCFSoftShadowMap,gh as PMREMGenerator,Ve as Path,$f as PerspectiveCamera,fe as Plane,af as PlaneGeometry,Zg as PlaneHelper,bg as PointLight,Rg as PointLightHelper,oe as Points,ne as PointsMaterial,Ug as PolarGridHelper,Ge as PolyhedronGeometry,wg as PositionalAudio,zg as PropertyBinding,yg as PropertyMixer,Re as QuadraticBezierCurve,Se as QuadraticBezierCurve3,fd as Quaternion,Jf as QuaternionKeyframeTrack,If as QuaternionLinearInterpolant,ib as R11_EAC_Format,Fb as RED_GREEN_RGTC2_Format,Db as RED_RGTC1_Format,a as REVISION,kb as RG11_EAC_Format,Xb as RGBADepthPacking,Qa as RGBAFormat,Ya as RGBAIntegerFormat,xb as RGBA_ASTC_10x10_Format,ub as RGBA_ASTC_10x5_Format,vb as RGBA_ASTC_10x6_Format,wb as RGBA_ASTC_10x8_Format,yb as RGBA_ASTC_12x10_Format,zb as RGBA_ASTC_12x12_Format,mb as RGBA_ASTC_4x4_Format,nb as RGBA_ASTC_5x4_Format,ob as RGBA_ASTC_5x5_Format,pb as RGBA_ASTC_6x5_Format,qb as RGBA_ASTC_6x6_Format,rb as RGBA_ASTC_8x5_Format,sb as RGBA_ASTC_8x6_Format,tb as RGBA_ASTC_8x8_Format,Ab as RGBA_BPTC_Format,hb as RGBA_ETC2_EAC_Format,eb as RGBA_PVRTC_2BPPV1_Format,db as RGBA_PVRTC_4BPPV1_Format,_a as RGBA_S3TC_DXT1_Format,$a as RGBA_S3TC_DXT3_Format,ab as RGBA_S3TC_DXT5_Format,Yb as RGBDepthPacking,Pa as RGBFormat,Xa as RGBIntegerFormat,Bb as RGB_BPTC_SIGNED_Format,Cb as RGB_BPTC_UNSIGNED_Format,fb as RGB_ETC1_Format,gb as RGB_ETC2_Format,cb as RGB_PVRTC_2BPPV1_Format,bb as RGB_PVRTC_4BPPV1_Format,Za as RGB_S3TC_DXT1_Format,Zb as RGDepthPacking,Va as RGFormat,Wa as RGIntegerFormat,nf as RawShaderMaterial,Yd as Ray,Ig as Raycaster,fg as RectAreaLight,Ta as RedFormat,Ua as RedIntegerFormat,aa as ReinhardToneMapping,nd as RenderTarget,Dg as RenderTarget3D,oa as RepeatWrapping,kc as ReplaceStencilOp,x as ReverseSubtractEquation,bf as RingGeometry,jb as SIGNED_R11_EAC_Format,Gb as SIGNED_RED_GREEN_RGTC2_Format,Eb as SIGNED_RED_RGTC1_Format,lb as SIGNED_RG11_EAC_Format,bc as SRGBColorSpace,ec as SRGBTransfer,Cd as Scene,dh as ShaderChunk,fh as ShaderLib,mf as ShaderMaterial,kf as ShadowMaterial,We as Shape,cf as ShapeGeometry,ah as ShapePath,Xe as ShapeUtils,Da as ShortType,ce as Skeleton,Qg as SkeletonHelper,$d as SkinnedMesh,kd as Source,Qd as Sphere,df as SphereGeometry,Kg as Spherical,gg as SphericalHarmonics3,Te as SplineCurve,ag as SpotLight,Pg as SpotLightHelper,Wd as Sprite,Vd as SpriteMaterial,E as SrcAlphaFactor,K as SrcAlphaSaturateFactor,C as SrcColorFactor,Mc as StaticCopyUsage,Gc as StaticDrawUsage,Jc as StaticReadUsage,qg as StereoCamera,Oc as StreamCopyUsage,Ic as StreamDrawUsage,Lc as StreamReadUsage,Kf as StringKeyframeTrack,w as SubtractEquation,r as SubtractiveBlending,c as TOUCH,_b as TangentSpaceNormalMap,ef as TetrahedronGeometry,ld as Texture,Xf as TextureLoader,ch as TextureUtils,tg as Timer,Tc as TimestampQuery,ff as TorusGeometry,gf as TorusKnotGeometry,Dd as Triangle,Vb as TriangleFanDrawMode,Ub as TriangleStripDrawMode,Tb as TrianglesDrawMode,hf as TubeGeometry,ia as UVMapping,Ld as Uint16BufferAttribute,Nd as Uint32BufferAttribute,Id as Uint8BufferAttribute,Jd as Uint8ClampedBufferAttribute,Eg as Uniform,Fg as UniformsGroup,eh as UniformsLib,lf as UniformsUtils,Ba as UnsignedByteType,Na as UnsignedInt101111Type,La as UnsignedInt248Type,Ma as UnsignedInt5999Type,Ga as UnsignedIntType,Ja as UnsignedShort4444Type,Ka as UnsignedShort5551Type,Ea as UnsignedShortType,k as VSMShadowMap,ed as Vector2,gd as Vector3,md as Vector4,Lf as VectorKeyframeTrack,qe as VideoFrameTexture,pe as VideoTexture,sd as WebGL3DRenderTarget,qd as WebGLArrayRenderTarget,Rc as WebGLCoordinateSystem,hh as WebGLCubeRenderTarget,od as WebGLRenderTarget,jh as WebGLRenderer,ih as WebGLUtils,Sc as WebGPUCoordinateSystem,yd as WebXRController,jf as WireframeGeometry,Qb as WrapAroundEnding,Ob as ZeroCurvatureEnding,A as ZeroFactor,Pb as ZeroSlopeEnding,ic as ZeroStencilOp,Xc as createCanvasElement,ad as error,Zc as getConsoleFunction,_c as log,Yc as setConsoleFunction,$c as warn,bd as warnOnce};
2
- //# sourceMappingURL=three.module-Z4EOVUWF.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
7
- }