@spiffcommerce/preview 3.6.2-rc.5 → 3.6.2-rc.7

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 (526) hide show
  1. package/dist/_tslib.esm.js +33 -0
  2. package/dist/animation.esm.js +1364 -0
  3. package/dist/assetCache.esm.js +6 -0
  4. package/dist/blurPostProcess.esm.js +327 -0
  5. package/dist/bumpVertex.esm.js +497 -0
  6. package/dist/compatibilityOptions.esm.js +68 -0
  7. package/dist/configuration.esm.js +121 -0
  8. package/dist/core.esm.js +8135 -0
  9. package/dist/dynamicTexture.esm.js +105 -0
  10. package/dist/easing.esm.js +130 -0
  11. package/dist/effectFallbacks.esm.js +378 -0
  12. package/dist/engine.esm.js +25504 -0
  13. package/dist/glbLoaderExtensions.esm.js +690 -0
  14. package/dist/glowLayer.esm.js +1621 -0
  15. package/dist/glowLayerManager.esm.js +50 -0
  16. package/dist/guid.esm.js +21 -0
  17. package/dist/hdrFilteringFunctions.esm.js +816 -0
  18. package/dist/helperFunctions.esm.js +5145 -0
  19. package/dist/index.esm.js +38 -11
  20. package/dist/material.esm.js +115 -0
  21. package/dist/math.axis.esm.js +35 -0
  22. package/dist/math.color.esm.js +1661 -0
  23. package/dist/math.path.esm.js +15 -0
  24. package/dist/math.size.esm.js +137 -0
  25. package/dist/mesh.esm.js +11170 -0
  26. package/dist/modelContainer.esm.js +1895 -0
  27. package/dist/node.esm.js +795 -0
  28. package/dist/pbrBRDFFunctions.esm.js +122 -2
  29. package/dist/pbrMaterial.esm.js +8747 -0
  30. package/dist/productAnimations.esm.js +182 -0
  31. package/dist/productCamera.esm.js +14 -0
  32. package/dist/renderConstants.esm.js +116 -0
  33. package/dist/renderingPipeline.esm.js +18 -0
  34. package/dist/sceneLoaderFlags.esm.js +51 -0
  35. package/dist/types.esm.js +30 -0
  36. package/dist/variants.esm.js +16 -0
  37. package/dist/webRequest.esm.js +7777 -0
  38. package/package.json +6 -5
  39. package/dist/index.umd.js +0 -10010
  40. package/dist/lib/assetCache.esm.js +0 -21
  41. package/dist/lib/configuration.esm.js +0 -98
  42. package/dist/lib/core.esm.js +0 -417
  43. package/dist/lib/dynamicTexture.esm.js +0 -51
  44. package/dist/lib/glbLoaderExtensions.esm.js +0 -137
  45. package/dist/lib/glowLayerManager.esm.js +0 -19
  46. package/dist/lib/guid.esm.js +0 -7
  47. package/dist/lib/material.esm.js +0 -50
  48. package/dist/lib/modelContainer.esm.js +0 -351
  49. package/dist/lib/productAnimations.esm.js +0 -123
  50. package/dist/lib/productCamera.esm.js +0 -113
  51. package/dist/lib/renderConstants.esm.js +0 -103
  52. package/dist/lib/renderingPipeline.esm.js +0 -99
  53. package/dist/lib/types.esm.js +0 -5
  54. package/dist/lib/variants.esm.js +0 -112
  55. package/dist/node_modules/@babylonjs/core/Actions/abstractActionManager.esm.js +0 -41
  56. package/dist/node_modules/@babylonjs/core/Actions/action.esm.js +0 -122
  57. package/dist/node_modules/@babylonjs/core/Actions/actionEvent.esm.js +0 -59
  58. package/dist/node_modules/@babylonjs/core/Actions/actionManager.esm.js +0 -335
  59. package/dist/node_modules/@babylonjs/core/Actions/condition.esm.js +0 -193
  60. package/dist/node_modules/@babylonjs/core/Actions/directActions.esm.js +0 -354
  61. package/dist/node_modules/@babylonjs/core/Animations/animatable.esm.js +0 -478
  62. package/dist/node_modules/@babylonjs/core/Animations/animation.esm.js +0 -866
  63. package/dist/node_modules/@babylonjs/core/Animations/animationEvent.esm.js +0 -18
  64. package/dist/node_modules/@babylonjs/core/Animations/animationGroup.esm.js +0 -470
  65. package/dist/node_modules/@babylonjs/core/Animations/animationKey.esm.js +0 -7
  66. package/dist/node_modules/@babylonjs/core/Animations/animationRange.esm.js +0 -21
  67. package/dist/node_modules/@babylonjs/core/Animations/easing.esm.js +0 -93
  68. package/dist/node_modules/@babylonjs/core/Animations/runtimeAnimation.esm.js +0 -281
  69. package/dist/node_modules/@babylonjs/core/Audio/sound.esm.js +0 -568
  70. package/dist/node_modules/@babylonjs/core/Audio/weightedsound.esm.js +0 -117
  71. package/dist/node_modules/@babylonjs/core/Behaviors/Cameras/autoRotationBehavior.esm.js +0 -145
  72. package/dist/node_modules/@babylonjs/core/Behaviors/Cameras/bouncingBehavior.esm.js +0 -93
  73. package/dist/node_modules/@babylonjs/core/Behaviors/Cameras/framingBehavior.esm.js +0 -295
  74. package/dist/node_modules/@babylonjs/core/Bones/bone.esm.js +0 -701
  75. package/dist/node_modules/@babylonjs/core/Bones/skeleton.esm.js +0 -478
  76. package/dist/node_modules/@babylonjs/core/Buffers/buffer.esm.js +0 -433
  77. package/dist/node_modules/@babylonjs/core/Buffers/dataBuffer.esm.js +0 -18
  78. package/dist/node_modules/@babylonjs/core/Cameras/Inputs/BaseCameraMouseWheelInput.esm.js +0 -67
  79. package/dist/node_modules/@babylonjs/core/Cameras/Inputs/BaseCameraPointersInput.esm.js +0 -191
  80. package/dist/node_modules/@babylonjs/core/Cameras/Inputs/arcRotateCameraKeyboardMoveInput.esm.js +0 -93
  81. package/dist/node_modules/@babylonjs/core/Cameras/Inputs/arcRotateCameraMouseWheelInput.esm.js +0 -119
  82. package/dist/node_modules/@babylonjs/core/Cameras/Inputs/arcRotateCameraPointersInput.esm.js +0 -119
  83. package/dist/node_modules/@babylonjs/core/Cameras/Inputs/freeCameraKeyboardMoveInput.esm.js +0 -108
  84. package/dist/node_modules/@babylonjs/core/Cameras/Inputs/freeCameraMouseInput.esm.js +0 -114
  85. package/dist/node_modules/@babylonjs/core/Cameras/Inputs/freeCameraMouseWheelInput.esm.js +0 -249
  86. package/dist/node_modules/@babylonjs/core/Cameras/Inputs/freeCameraTouchInput.esm.js +0 -103
  87. package/dist/node_modules/@babylonjs/core/Cameras/arcRotateCamera.esm.js +0 -589
  88. package/dist/node_modules/@babylonjs/core/Cameras/arcRotateCameraInputsManager.esm.js +0 -37
  89. package/dist/node_modules/@babylonjs/core/Cameras/camera.esm.js +0 -686
  90. package/dist/node_modules/@babylonjs/core/Cameras/cameraInputsManager.esm.js +0 -147
  91. package/dist/node_modules/@babylonjs/core/Cameras/freeCamera.esm.js +0 -236
  92. package/dist/node_modules/@babylonjs/core/Cameras/freeCameraInputsManager.esm.js +0 -66
  93. package/dist/node_modules/@babylonjs/core/Cameras/targetCamera.esm.js +0 -214
  94. package/dist/node_modules/@babylonjs/core/Collisions/intersectionInfo.esm.js +0 -8
  95. package/dist/node_modules/@babylonjs/core/Collisions/meshCollisionData.esm.js +0 -9
  96. package/dist/node_modules/@babylonjs/core/Collisions/pickingInfo.esm.js +0 -59
  97. package/dist/node_modules/@babylonjs/core/Compat/compatibilityOptions.esm.js +0 -6
  98. package/dist/node_modules/@babylonjs/core/Culling/boundingBox.esm.js +0 -174
  99. package/dist/node_modules/@babylonjs/core/Culling/boundingInfo.esm.js +0 -159
  100. package/dist/node_modules/@babylonjs/core/Culling/boundingSphere.esm.js +0 -114
  101. package/dist/node_modules/@babylonjs/core/DeviceInput/InputDevices/deviceEnums.esm.js +0 -37
  102. package/dist/node_modules/@babylonjs/core/DeviceInput/InputDevices/deviceSource.esm.js +0 -23
  103. package/dist/node_modules/@babylonjs/core/DeviceInput/InputDevices/deviceSourceManager.esm.js +0 -106
  104. package/dist/node_modules/@babylonjs/core/DeviceInput/eventFactory.esm.js +0 -118
  105. package/dist/node_modules/@babylonjs/core/DeviceInput/internalDeviceSourceManager.esm.js +0 -46
  106. package/dist/node_modules/@babylonjs/core/DeviceInput/nativeDeviceInputSystem.esm.js +0 -50
  107. package/dist/node_modules/@babylonjs/core/DeviceInput/webDeviceInputSystem.esm.js +0 -354
  108. package/dist/node_modules/@babylonjs/core/Engines/Extensions/engine.alpha.esm.js +0 -101
  109. package/dist/node_modules/@babylonjs/core/Engines/Extensions/engine.cubeTexture.esm.js +0 -103
  110. package/dist/node_modules/@babylonjs/core/Engines/Extensions/engine.dynamicBuffer.esm.js +0 -11
  111. package/dist/node_modules/@babylonjs/core/Engines/Extensions/engine.dynamicTexture.esm.js +0 -14
  112. package/dist/node_modules/@babylonjs/core/Engines/Extensions/engine.multiRender.esm.js +0 -111
  113. package/dist/node_modules/@babylonjs/core/Engines/Extensions/engine.rawTexture.esm.js +0 -109
  114. package/dist/node_modules/@babylonjs/core/Engines/Extensions/engine.readTexture.esm.js +0 -76
  115. package/dist/node_modules/@babylonjs/core/Engines/Extensions/engine.renderTarget.esm.js +0 -69
  116. package/dist/node_modules/@babylonjs/core/Engines/Extensions/engine.renderTargetCube.esm.js +0 -15
  117. package/dist/node_modules/@babylonjs/core/Engines/Extensions/engine.uniformBuffer.esm.js +0 -29
  118. package/dist/node_modules/@babylonjs/core/Engines/Extensions/engine.views.esm.js +0 -85
  119. package/dist/node_modules/@babylonjs/core/Engines/Processors/Expressions/Operators/shaderDefineAndOperator.esm.js +0 -9
  120. package/dist/node_modules/@babylonjs/core/Engines/Processors/Expressions/Operators/shaderDefineArithmeticOperator.esm.js +0 -36
  121. package/dist/node_modules/@babylonjs/core/Engines/Processors/Expressions/Operators/shaderDefineIsDefinedOperator.esm.js +0 -13
  122. package/dist/node_modules/@babylonjs/core/Engines/Processors/Expressions/Operators/shaderDefineOrOperator.esm.js +0 -9
  123. package/dist/node_modules/@babylonjs/core/Engines/Processors/Expressions/shaderDefineExpression.esm.js +0 -88
  124. package/dist/node_modules/@babylonjs/core/Engines/Processors/shaderCodeConditionNode.esm.js +0 -14
  125. package/dist/node_modules/@babylonjs/core/Engines/Processors/shaderCodeCursor.esm.js +0 -44
  126. package/dist/node_modules/@babylonjs/core/Engines/Processors/shaderCodeNode.esm.js +0 -31
  127. package/dist/node_modules/@babylonjs/core/Engines/Processors/shaderCodeTestNode.esm.js +0 -9
  128. package/dist/node_modules/@babylonjs/core/Engines/Processors/shaderProcessor.esm.js +0 -230
  129. package/dist/node_modules/@babylonjs/core/Engines/WebGL/webGL2ShaderProcessors.esm.js +0 -30
  130. package/dist/node_modules/@babylonjs/core/Engines/WebGL/webGLHardwareTexture.esm.js +0 -34
  131. package/dist/node_modules/@babylonjs/core/Engines/WebGL/webGLPipelineContext.esm.js +0 -388
  132. package/dist/node_modules/@babylonjs/core/Engines/WebGL/webGLRenderTargetWrapper.esm.js +0 -87
  133. package/dist/node_modules/@babylonjs/core/Engines/WebGL/webGLShaderProcessors.esm.js +0 -16
  134. package/dist/node_modules/@babylonjs/core/Engines/constants.esm.js +0 -254
  135. package/dist/node_modules/@babylonjs/core/Engines/engine.esm.js +0 -1120
  136. package/dist/node_modules/@babylonjs/core/Engines/engineStore.esm.js +0 -23
  137. package/dist/node_modules/@babylonjs/core/Engines/nullEngine.esm.js +0 -697
  138. package/dist/node_modules/@babylonjs/core/Engines/performanceConfigurator.esm.js +0 -22
  139. package/dist/node_modules/@babylonjs/core/Engines/renderTargetWrapper.esm.js +0 -273
  140. package/dist/node_modules/@babylonjs/core/Engines/shaderStore.esm.js +0 -36
  141. package/dist/node_modules/@babylonjs/core/Engines/thinEngine.esm.js +0 -2921
  142. package/dist/node_modules/@babylonjs/core/Events/deviceInputEvents.esm.js +0 -13
  143. package/dist/node_modules/@babylonjs/core/Events/keyboardEvents.esm.js +0 -41
  144. package/dist/node_modules/@babylonjs/core/Events/pointerEvents.esm.js +0 -63
  145. package/dist/node_modules/@babylonjs/core/Inputs/pointerPickingConfiguration.esm.js +0 -8
  146. package/dist/node_modules/@babylonjs/core/Inputs/scene.inputManager.esm.js +0 -418
  147. package/dist/node_modules/@babylonjs/core/Layers/effectLayer.esm.js +0 -437
  148. package/dist/node_modules/@babylonjs/core/Layers/effectLayerSceneComponent.esm.js +0 -141
  149. package/dist/node_modules/@babylonjs/core/Layers/glowLayer.esm.js +0 -343
  150. package/dist/node_modules/@babylonjs/core/Layers/highlightLayer.esm.js +0 -396
  151. package/dist/node_modules/@babylonjs/core/Lights/directionalLight.esm.js +0 -224
  152. package/dist/node_modules/@babylonjs/core/Lights/hemisphericLight.esm.js +0 -92
  153. package/dist/node_modules/@babylonjs/core/Lights/light.esm.js +0 -476
  154. package/dist/node_modules/@babylonjs/core/Lights/lightConstants.esm.js +0 -30
  155. package/dist/node_modules/@babylonjs/core/Lights/pointLight.esm.js +0 -153
  156. package/dist/node_modules/@babylonjs/core/Lights/shadowLight.esm.js +0 -196
  157. package/dist/node_modules/@babylonjs/core/Lights/spotLight.esm.js +0 -287
  158. package/dist/node_modules/@babylonjs/core/Loading/sceneLoader.esm.js +0 -551
  159. package/dist/node_modules/@babylonjs/core/Loading/sceneLoaderFlags.esm.js +0 -48
  160. package/dist/node_modules/@babylonjs/core/Materials/PBR/pbrAnisotropicConfiguration.esm.js +0 -112
  161. package/dist/node_modules/@babylonjs/core/Materials/PBR/pbrBRDFConfiguration.esm.js +0 -48
  162. package/dist/node_modules/@babylonjs/core/Materials/PBR/pbrBaseMaterial.esm.js +0 -568
  163. package/dist/node_modules/@babylonjs/core/Materials/PBR/pbrClearCoatConfiguration.esm.js +0 -139
  164. package/dist/node_modules/@babylonjs/core/Materials/PBR/pbrIridescenceConfiguration.esm.js +0 -97
  165. package/dist/node_modules/@babylonjs/core/Materials/PBR/pbrMaterial.esm.js +0 -496
  166. package/dist/node_modules/@babylonjs/core/Materials/PBR/pbrSheenConfiguration.esm.js +0 -106
  167. package/dist/node_modules/@babylonjs/core/Materials/PBR/pbrSubSurfaceConfiguration.esm.js +0 -270
  168. package/dist/node_modules/@babylonjs/core/Materials/Textures/Filtering/hdrFiltering.esm.js +0 -103
  169. package/dist/node_modules/@babylonjs/core/Materials/Textures/Loaders/ddsTextureLoader.esm.js +0 -53
  170. package/dist/node_modules/@babylonjs/core/Materials/Textures/Loaders/envTextureLoader.esm.js +0 -51
  171. package/dist/node_modules/@babylonjs/core/Materials/Textures/Loaders/ktxTextureLoader.esm.js +0 -81
  172. package/dist/node_modules/@babylonjs/core/Materials/Textures/baseTexture.esm.js +0 -542
  173. package/dist/node_modules/@babylonjs/core/Materials/Textures/baseTexture.polynomial.esm.js +0 -23
  174. package/dist/node_modules/@babylonjs/core/Materials/Textures/cubeTexture.esm.js +0 -244
  175. package/dist/node_modules/@babylonjs/core/Materials/Textures/dynamicTexture.esm.js +0 -134
  176. package/dist/node_modules/@babylonjs/core/Materials/Textures/equiRectangularCubeTexture.esm.js +0 -89
  177. package/dist/node_modules/@babylonjs/core/Materials/Textures/hdrCubeTexture.esm.js +0 -175
  178. package/dist/node_modules/@babylonjs/core/Materials/Textures/internalTexture.esm.js +0 -150
  179. package/dist/node_modules/@babylonjs/core/Materials/Textures/ktx2decoderTypes.esm.js +0 -17
  180. package/dist/node_modules/@babylonjs/core/Materials/Textures/mirrorTexture.esm.js +0 -138
  181. package/dist/node_modules/@babylonjs/core/Materials/Textures/multiRenderTarget.esm.js +0 -223
  182. package/dist/node_modules/@babylonjs/core/Materials/Textures/rawCubeTexture.esm.js +0 -58
  183. package/dist/node_modules/@babylonjs/core/Materials/Textures/rawTexture.esm.js +0 -156
  184. package/dist/node_modules/@babylonjs/core/Materials/Textures/rawTexture2DArray.esm.js +0 -53
  185. package/dist/node_modules/@babylonjs/core/Materials/Textures/renderTargetTexture.esm.js +0 -605
  186. package/dist/node_modules/@babylonjs/core/Materials/Textures/texture.esm.js +0 -421
  187. package/dist/node_modules/@babylonjs/core/Materials/Textures/textureSampler.esm.js +0 -101
  188. package/dist/node_modules/@babylonjs/core/Materials/Textures/thinTexture.esm.js +0 -170
  189. package/dist/node_modules/@babylonjs/core/Materials/clipPlaneMaterialHelper.esm.js +0 -28
  190. package/dist/node_modules/@babylonjs/core/Materials/colorCurves.esm.js +0 -397
  191. package/dist/node_modules/@babylonjs/core/Materials/drawWrapper.esm.js +0 -22
  192. package/dist/node_modules/@babylonjs/core/Materials/effect.esm.js +0 -890
  193. package/dist/node_modules/@babylonjs/core/Materials/effectFallbacks.esm.js +0 -73
  194. package/dist/node_modules/@babylonjs/core/Materials/effectRenderer.esm.js +0 -132
  195. package/dist/node_modules/@babylonjs/core/Materials/imageProcessingConfiguration.esm.js +0 -428
  196. package/dist/node_modules/@babylonjs/core/Materials/material.detailMapConfiguration.esm.js +0 -90
  197. package/dist/node_modules/@babylonjs/core/Materials/material.esm.js +0 -906
  198. package/dist/node_modules/@babylonjs/core/Materials/materialDefines.esm.js +0 -161
  199. package/dist/node_modules/@babylonjs/core/Materials/materialFlags.esm.js +0 -226
  200. package/dist/node_modules/@babylonjs/core/Materials/materialHelper.esm.js +0 -501
  201. package/dist/node_modules/@babylonjs/core/Materials/materialPluginBase.esm.js +0 -226
  202. package/dist/node_modules/@babylonjs/core/Materials/materialPluginEvent.esm.js +0 -7
  203. package/dist/node_modules/@babylonjs/core/Materials/materialPluginManager.esm.js +0 -212
  204. package/dist/node_modules/@babylonjs/core/Materials/materialStencilState.esm.js +0 -145
  205. package/dist/node_modules/@babylonjs/core/Materials/multiMaterial.esm.js +0 -164
  206. package/dist/node_modules/@babylonjs/core/Materials/prePassConfiguration.esm.js +0 -38
  207. package/dist/node_modules/@babylonjs/core/Materials/pushMaterial.esm.js +0 -48
  208. package/dist/node_modules/@babylonjs/core/Materials/shaderLanguage.esm.js +0 -7
  209. package/dist/node_modules/@babylonjs/core/Materials/shaderMaterial.esm.js +0 -838
  210. package/dist/node_modules/@babylonjs/core/Materials/standardMaterial.esm.js +0 -934
  211. package/dist/node_modules/@babylonjs/core/Materials/uniformBuffer.esm.js +0 -541
  212. package/dist/node_modules/@babylonjs/core/Maths/math.axis.esm.js +0 -19
  213. package/dist/node_modules/@babylonjs/core/Maths/math.color.esm.js +0 -903
  214. package/dist/node_modules/@babylonjs/core/Maths/math.constants.esm.js +0 -6
  215. package/dist/node_modules/@babylonjs/core/Maths/math.frustum.esm.js +0 -91
  216. package/dist/node_modules/@babylonjs/core/Maths/math.functions.esm.js +0 -43
  217. package/dist/node_modules/@babylonjs/core/Maths/math.path.esm.js +0 -9
  218. package/dist/node_modules/@babylonjs/core/Maths/math.plane.esm.js +0 -145
  219. package/dist/node_modules/@babylonjs/core/Maths/math.scalar.esm.js +0 -284
  220. package/dist/node_modules/@babylonjs/core/Maths/math.size.esm.js +0 -124
  221. package/dist/node_modules/@babylonjs/core/Maths/math.vector.esm.js +0 -4915
  222. package/dist/node_modules/@babylonjs/core/Maths/math.viewport.esm.js +0 -41
  223. package/dist/node_modules/@babylonjs/core/Maths/sphericalPolynomial.esm.js +0 -177
  224. package/dist/node_modules/@babylonjs/core/Meshes/Builders/boxBuilder.esm.js +0 -260
  225. package/dist/node_modules/@babylonjs/core/Meshes/Compression/dracoCompression.esm.js +0 -233
  226. package/dist/node_modules/@babylonjs/core/Meshes/Compression/meshoptCompression.esm.js +0 -47
  227. package/dist/node_modules/@babylonjs/core/Meshes/WebGL/webGLDataBuffer.esm.js +0 -12
  228. package/dist/node_modules/@babylonjs/core/Meshes/abstractMesh.esm.js +0 -1448
  229. package/dist/node_modules/@babylonjs/core/Meshes/geometry.esm.js +0 -729
  230. package/dist/node_modules/@babylonjs/core/Meshes/instancedMesh.esm.js +0 -455
  231. package/dist/node_modules/@babylonjs/core/Meshes/mesh.esm.js +0 -2526
  232. package/dist/node_modules/@babylonjs/core/Meshes/mesh.vertexData.esm.js +0 -865
  233. package/dist/node_modules/@babylonjs/core/Meshes/meshLODLevel.esm.js +0 -13
  234. package/dist/node_modules/@babylonjs/core/Meshes/subMesh.esm.js +0 -422
  235. package/dist/node_modules/@babylonjs/core/Meshes/thinInstanceMesh.esm.js +0 -129
  236. package/dist/node_modules/@babylonjs/core/Meshes/transformNode.esm.js +0 -796
  237. package/dist/node_modules/@babylonjs/core/Misc/HighDynamicRange/cubemapToSphericalPolynomial.esm.js +0 -111
  238. package/dist/node_modules/@babylonjs/core/Misc/HighDynamicRange/hdr.esm.js +0 -122
  239. package/dist/node_modules/@babylonjs/core/Misc/HighDynamicRange/panoramaToCubemap.esm.js +0 -78
  240. package/dist/node_modules/@babylonjs/core/Misc/andOrNotEvaluator.esm.js +0 -41
  241. package/dist/node_modules/@babylonjs/core/Misc/arrayTools.esm.js +0 -52
  242. package/dist/node_modules/@babylonjs/core/Misc/assetsManager.esm.js +0 -561
  243. package/dist/node_modules/@babylonjs/core/Misc/brdfTextureTools.esm.js +0 -31
  244. package/dist/node_modules/@babylonjs/core/Misc/copyTools.esm.js +0 -44
  245. package/dist/node_modules/@babylonjs/core/Misc/coroutine.esm.js +0 -53
  246. package/dist/node_modules/@babylonjs/core/Misc/dataReader.esm.js +0 -55
  247. package/dist/node_modules/@babylonjs/core/Misc/dds.esm.js +0 -329
  248. package/dist/node_modules/@babylonjs/core/Misc/decorators.esm.js +0 -332
  249. package/dist/node_modules/@babylonjs/core/Misc/deepCopier.esm.js +0 -52
  250. package/dist/node_modules/@babylonjs/core/Misc/deferred.esm.js +0 -25
  251. package/dist/node_modules/@babylonjs/core/Misc/devTools.esm.js +0 -6
  252. package/dist/node_modules/@babylonjs/core/Misc/domManagement.esm.js +0 -21
  253. package/dist/node_modules/@babylonjs/core/Misc/dumpTools.esm.js +0 -117
  254. package/dist/node_modules/@babylonjs/core/Misc/environmentTextureTools.esm.js +0 -187
  255. package/dist/node_modules/@babylonjs/core/Misc/error.esm.js +0 -40
  256. package/dist/node_modules/@babylonjs/core/Misc/fileTools.esm.js +0 -339
  257. package/dist/node_modules/@babylonjs/core/Misc/filesInputStore.esm.js +0 -6
  258. package/dist/node_modules/@babylonjs/core/Misc/guid.esm.js +0 -9
  259. package/dist/node_modules/@babylonjs/core/Misc/instantiationTools.esm.js +0 -26
  260. package/dist/node_modules/@babylonjs/core/Misc/khronosTextureContainer.esm.js +0 -79
  261. package/dist/node_modules/@babylonjs/core/Misc/khronosTextureContainer2.esm.js +0 -281
  262. package/dist/node_modules/@babylonjs/core/Misc/logger.esm.js +0 -77
  263. package/dist/node_modules/@babylonjs/core/Misc/observable.esm.js +0 -231
  264. package/dist/node_modules/@babylonjs/core/Misc/perfCounter.esm.js +0 -99
  265. package/dist/node_modules/@babylonjs/core/Misc/performanceMonitor.esm.js +0 -144
  266. package/dist/node_modules/@babylonjs/core/Misc/precisionDate.esm.js +0 -12
  267. package/dist/node_modules/@babylonjs/core/Misc/retryStrategy.esm.js +0 -14
  268. package/dist/node_modules/@babylonjs/core/Misc/rgbdTextureTools.esm.js +0 -51
  269. package/dist/node_modules/@babylonjs/core/Misc/screenshotTools.esm.js +0 -92
  270. package/dist/node_modules/@babylonjs/core/Misc/smartArray.esm.js +0 -118
  271. package/dist/node_modules/@babylonjs/core/Misc/stringDictionary.esm.js +0 -129
  272. package/dist/node_modules/@babylonjs/core/Misc/stringTools.esm.js +0 -26
  273. package/dist/node_modules/@babylonjs/core/Misc/tags.esm.js +0 -97
  274. package/dist/node_modules/@babylonjs/core/Misc/textureTools.esm.js +0 -41
  275. package/dist/node_modules/@babylonjs/core/Misc/timingTools.esm.js +0 -13
  276. package/dist/node_modules/@babylonjs/core/Misc/tools.esm.js +0 -929
  277. package/dist/node_modules/@babylonjs/core/Misc/typeStore.esm.js +0 -11
  278. package/dist/node_modules/@babylonjs/core/Misc/uniqueIdGenerator.esm.js +0 -13
  279. package/dist/node_modules/@babylonjs/core/Misc/webRequest.esm.js +0 -135
  280. package/dist/node_modules/@babylonjs/core/Misc/workerPool.esm.js +0 -80
  281. package/dist/node_modules/@babylonjs/core/Morph/morphTarget.esm.js +0 -187
  282. package/dist/node_modules/@babylonjs/core/Morph/morphTargetManager.esm.js +0 -249
  283. package/dist/node_modules/@babylonjs/core/PostProcesses/RenderPipeline/Pipelines/defaultRenderingPipeline.esm.js +0 -349
  284. package/dist/node_modules/@babylonjs/core/PostProcesses/RenderPipeline/Pipelines/ssao2RenderingPipeline.esm.js +0 -306
  285. package/dist/node_modules/@babylonjs/core/PostProcesses/RenderPipeline/Pipelines/ssaoRenderingPipeline.esm.js +0 -161
  286. package/dist/node_modules/@babylonjs/core/PostProcesses/RenderPipeline/Pipelines/ssrRenderingPipeline.esm.js +0 -589
  287. package/dist/node_modules/@babylonjs/core/PostProcesses/RenderPipeline/Pipelines/standardRenderingPipeline.esm.js +0 -512
  288. package/dist/node_modules/@babylonjs/core/PostProcesses/RenderPipeline/postProcessRenderEffect.esm.js +0 -114
  289. package/dist/node_modules/@babylonjs/core/PostProcesses/RenderPipeline/postProcessRenderPipeline.esm.js +0 -139
  290. package/dist/node_modules/@babylonjs/core/PostProcesses/RenderPipeline/postProcessRenderPipelineManager.esm.js +0 -99
  291. package/dist/node_modules/@babylonjs/core/PostProcesses/RenderPipeline/postProcessRenderPipelineManagerSceneComponent.esm.js +0 -48
  292. package/dist/node_modules/@babylonjs/core/PostProcesses/bloomEffect.esm.js +0 -76
  293. package/dist/node_modules/@babylonjs/core/PostProcesses/bloomMergePostProcess.esm.js +0 -40
  294. package/dist/node_modules/@babylonjs/core/PostProcesses/blurPostProcess.esm.js +0 -165
  295. package/dist/node_modules/@babylonjs/core/PostProcesses/chromaticAberrationPostProcess.esm.js +0 -61
  296. package/dist/node_modules/@babylonjs/core/PostProcesses/circleOfConfusionPostProcess.esm.js +0 -62
  297. package/dist/node_modules/@babylonjs/core/PostProcesses/depthOfFieldBlurPostProcess.esm.js +0 -58
  298. package/dist/node_modules/@babylonjs/core/PostProcesses/depthOfFieldEffect.esm.js +0 -131
  299. package/dist/node_modules/@babylonjs/core/PostProcesses/depthOfFieldMergePostProcess.esm.js +0 -48
  300. package/dist/node_modules/@babylonjs/core/PostProcesses/extractHighlightsPostProcess.esm.js +0 -27
  301. package/dist/node_modules/@babylonjs/core/PostProcesses/fxaaPostProcess.esm.js +0 -41
  302. package/dist/node_modules/@babylonjs/core/PostProcesses/grainPostProcess.esm.js +0 -46
  303. package/dist/node_modules/@babylonjs/core/PostProcesses/imageProcessingPostProcess.esm.js +0 -359
  304. package/dist/node_modules/@babylonjs/core/PostProcesses/motionBlurPostProcess.esm.js +0 -178
  305. package/dist/node_modules/@babylonjs/core/PostProcesses/passPostProcess.esm.js +0 -40
  306. package/dist/node_modules/@babylonjs/core/PostProcesses/postProcess.esm.js +0 -457
  307. package/dist/node_modules/@babylonjs/core/PostProcesses/postProcessManager.esm.js +0 -94
  308. package/dist/node_modules/@babylonjs/core/PostProcesses/screenSpaceReflectionPostProcess.esm.js +0 -147
  309. package/dist/node_modules/@babylonjs/core/PostProcesses/sharpenPostProcess.esm.js +0 -46
  310. package/dist/node_modules/@babylonjs/core/Probes/reflectionProbe.esm.js +0 -184
  311. package/dist/node_modules/@babylonjs/core/Rendering/boundingBoxRenderer.esm.js +0 -170
  312. package/dist/node_modules/@babylonjs/core/Rendering/depthRenderer.esm.js +0 -185
  313. package/dist/node_modules/@babylonjs/core/Rendering/depthRendererSceneComponent.esm.js +0 -65
  314. package/dist/node_modules/@babylonjs/core/Rendering/geometryBufferRenderer.esm.js +0 -353
  315. package/dist/node_modules/@babylonjs/core/Rendering/geometryBufferRendererSceneComponent.esm.js +0 -55
  316. package/dist/node_modules/@babylonjs/core/Rendering/motionBlurConfiguration.esm.js +0 -8
  317. package/dist/node_modules/@babylonjs/core/Rendering/renderingGroup.esm.js +0 -223
  318. package/dist/node_modules/@babylonjs/core/Rendering/renderingManager.esm.js +0 -185
  319. package/dist/node_modules/@babylonjs/core/Rendering/screenSpaceReflections2Configuration.esm.js +0 -8
  320. package/dist/node_modules/@babylonjs/core/Rendering/screenSpaceReflectionsConfiguration.esm.js +0 -8
  321. package/dist/node_modules/@babylonjs/core/Rendering/ssao2Configuration.esm.js +0 -8
  322. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/bakedVertexAnimation.esm.js +0 -48
  323. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/bakedVertexAnimationDeclaration.esm.js +0 -24
  324. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/bonesDeclaration.esm.js +0 -35
  325. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/bonesVertex.esm.js +0 -56
  326. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/boundingBoxRendererFragmentDeclaration.esm.js +0 -4
  327. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/boundingBoxRendererUboDeclaration.esm.js +0 -19
  328. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/boundingBoxRendererVertexDeclaration.esm.js +0 -8
  329. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/bumpFragment.esm.js +0 -67
  330. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/bumpFragmentFunctions.esm.js +0 -58
  331. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/bumpFragmentMainFunctions.esm.js +0 -93
  332. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/bumpVertex.esm.js +0 -11
  333. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/bumpVertexDeclaration.esm.js +0 -8
  334. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/clipPlaneFragment.esm.js +0 -42
  335. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/clipPlaneFragmentDeclaration.esm.js +0 -21
  336. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/clipPlaneVertex.esm.js +0 -21
  337. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/clipPlaneVertexDeclaration.esm.js +0 -27
  338. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/decalFragment.esm.js +0 -12
  339. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/decalFragmentDeclaration.esm.js +0 -6
  340. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/decalVertexDeclaration.esm.js +0 -7
  341. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/defaultFragmentDeclaration.esm.js +0 -86
  342. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/defaultUboDeclaration.esm.js +0 -50
  343. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/defaultVertexDeclaration.esm.js +0 -46
  344. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/depthPrePass.esm.js +0 -7
  345. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/fogFragment.esm.js +0 -10
  346. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/fogFragmentDeclaration.esm.js +0 -34
  347. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/fogVertex.esm.js +0 -6
  348. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/fogVertexDeclaration.esm.js +0 -6
  349. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/fresnelFunction.esm.js +0 -10
  350. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/geometryUboDeclaration.esm.js +0 -5
  351. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/geometryVertexDeclaration.esm.js +0 -4
  352. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/harmonicsFunctions.esm.js +0 -42
  353. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/hdrFilteringFunctions.esm.js +0 -139
  354. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/helperFunctions.esm.js +0 -166
  355. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/imageProcessingDeclaration.esm.js +0 -32
  356. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/imageProcessingFunctions.esm.js +0 -129
  357. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/importanceSampling.esm.js +0 -22
  358. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/instancesDeclaration.esm.js +0 -31
  359. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/instancesVertex.esm.js +0 -20
  360. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/kernelBlurFragment.esm.js +0 -15
  361. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/kernelBlurFragment2.esm.js +0 -15
  362. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/kernelBlurVaryingDeclaration.esm.js +0 -3
  363. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/kernelBlurVertex.esm.js +0 -3
  364. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/lightFragment.esm.js +0 -278
  365. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/lightFragmentDeclaration.esm.js +0 -82
  366. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/lightUboDeclaration.esm.js +0 -81
  367. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/lightVxFragmentDeclaration.esm.js +0 -35
  368. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/lightVxUboDeclaration.esm.js +0 -34
  369. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/lightsFragmentFunctions.esm.js +0 -93
  370. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/logDepthDeclaration.esm.js +0 -7
  371. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/logDepthFragment.esm.js +0 -6
  372. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/logDepthVertex.esm.js +0 -7
  373. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/mainUVVaryingDeclaration.esm.js +0 -6
  374. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/meshUboDeclaration.esm.js +0 -15
  375. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/morphTargetsVertex.esm.js +0 -32
  376. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/morphTargetsVertexDeclaration.esm.js +0 -17
  377. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/morphTargetsVertexGlobal.esm.js +0 -8
  378. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/morphTargetsVertexGlobalDeclaration.esm.js +0 -19
  379. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/mrtFragmentDeclaration.esm.js +0 -6
  380. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/oitDeclaration.esm.js +0 -13
  381. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/oitFragment.esm.js +0 -40
  382. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/packingFunctions.esm.js +0 -15
  383. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBRDFFunctions.esm.js +0 -268
  384. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockAlbedoOpacity.esm.js +0 -83
  385. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockAlphaFresnel.esm.js +0 -37
  386. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockAmbientOcclusion.esm.js +0 -32
  387. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockAnisotropic.esm.js +0 -50
  388. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockClearcoat.esm.js +0 -276
  389. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockDirectLighting.esm.js +0 -19
  390. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockFinalColorComposition.esm.js +0 -45
  391. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockFinalLitComponents.esm.js +0 -100
  392. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockFinalUnlitComponents.esm.js +0 -27
  393. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockGeometryInfo.esm.js +0 -30
  394. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockImageProcessing.esm.js +0 -14
  395. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockIridescence.esm.js +0 -63
  396. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockLightmapInit.esm.js +0 -13
  397. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockNormalFinal.esm.js +0 -13
  398. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockNormalGeometric.esm.js +0 -13
  399. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockReflectance.esm.js +0 -24
  400. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockReflectance0.esm.js +0 -14
  401. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockReflection.esm.js +0 -270
  402. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockReflectivity.esm.js +0 -131
  403. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockSheen.esm.js +0 -197
  404. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrBlockSubSurface.esm.js +0 -337
  405. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrDebug.esm.js +0 -176
  406. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrDirectLightingFalloffFunctions.esm.js +0 -64
  407. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrDirectLightingFunctions.esm.js +0 -130
  408. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrDirectLightingSetupFunctions.esm.js +0 -53
  409. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrFragmentDeclaration.esm.js +0 -179
  410. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrFragmentExtraDeclaration.esm.js +0 -18
  411. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrFragmentSamplersDeclaration.esm.js +0 -101
  412. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrHelperFunctions.esm.js +0 -83
  413. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrIBLFunctions.esm.js +0 -35
  414. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrUboDeclaration.esm.js +0 -65
  415. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pbrVertexDeclaration.esm.js +0 -151
  416. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/pointCloudVertex.esm.js +0 -6
  417. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/prePassDeclaration.esm.js +0 -13
  418. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/prePassVertex.esm.js +0 -37
  419. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/prePassVertexDeclaration.esm.js +0 -13
  420. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/reflectionFunction.esm.js +0 -116
  421. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/samplerFragmentAlternateDeclaration.esm.js +0 -20
  422. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/samplerFragmentDeclaration.esm.js +0 -21
  423. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/samplerVertexDeclaration.esm.js +0 -6
  424. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/samplerVertexImplementation.esm.js +0 -39
  425. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/sceneUboDeclaration.esm.js +0 -13
  426. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/screenSpaceRayTrace.esm.js +0 -208
  427. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/shadowsFragmentFunctions.esm.js +0 -614
  428. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/shadowsVertex.esm.js +0 -23
  429. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/subSurfaceScatteringFunctions.esm.js +0 -6
  430. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/uvAttributeDeclaration.esm.js +0 -6
  431. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/uvVariableDeclaration.esm.js +0 -9
  432. package/dist/node_modules/@babylonjs/core/Shaders/ShadersInclude/vertexColorMixing.esm.js +0 -16
  433. package/dist/node_modules/@babylonjs/core/Shaders/bloomMerge.fragment.esm.js +0 -14
  434. package/dist/node_modules/@babylonjs/core/Shaders/boundingBoxRenderer.fragment.esm.js +0 -11
  435. package/dist/node_modules/@babylonjs/core/Shaders/boundingBoxRenderer.vertex.esm.js +0 -22
  436. package/dist/node_modules/@babylonjs/core/Shaders/chromaticAberration.fragment.esm.js +0 -34
  437. package/dist/node_modules/@babylonjs/core/Shaders/circleOfConfusion.fragment.esm.js +0 -19
  438. package/dist/node_modules/@babylonjs/core/Shaders/default.fragment.esm.js +0 -387
  439. package/dist/node_modules/@babylonjs/core/Shaders/default.vertex.esm.js +0 -171
  440. package/dist/node_modules/@babylonjs/core/Shaders/depth.fragment.esm.js +0 -47
  441. package/dist/node_modules/@babylonjs/core/Shaders/depth.vertex.esm.js +0 -72
  442. package/dist/node_modules/@babylonjs/core/Shaders/depthOfField.fragment.esm.js +0 -137
  443. package/dist/node_modules/@babylonjs/core/Shaders/depthOfFieldMerge.fragment.esm.js +0 -54
  444. package/dist/node_modules/@babylonjs/core/Shaders/extractHighlights.fragment.esm.js +0 -15
  445. package/dist/node_modules/@babylonjs/core/Shaders/fxaa.fragment.esm.js +0 -211
  446. package/dist/node_modules/@babylonjs/core/Shaders/fxaa.vertex.esm.js +0 -29
  447. package/dist/node_modules/@babylonjs/core/Shaders/geometry.fragment.esm.js +0 -147
  448. package/dist/node_modules/@babylonjs/core/Shaders/geometry.vertex.esm.js +0 -164
  449. package/dist/node_modules/@babylonjs/core/Shaders/glowBlurPostProcess.fragment.esm.js +0 -39
  450. package/dist/node_modules/@babylonjs/core/Shaders/glowMapGeneration.fragment.esm.js +0 -73
  451. package/dist/node_modules/@babylonjs/core/Shaders/glowMapGeneration.vertex.esm.js +0 -94
  452. package/dist/node_modules/@babylonjs/core/Shaders/glowMapMerge.fragment.esm.js +0 -29
  453. package/dist/node_modules/@babylonjs/core/Shaders/glowMapMerge.vertex.esm.js +0 -12
  454. package/dist/node_modules/@babylonjs/core/Shaders/grain.fragment.esm.js +0 -19
  455. package/dist/node_modules/@babylonjs/core/Shaders/hdrFiltering.fragment.esm.js +0 -19
  456. package/dist/node_modules/@babylonjs/core/Shaders/hdrFiltering.vertex.esm.js +0 -15
  457. package/dist/node_modules/@babylonjs/core/Shaders/imageProcessing.fragment.esm.js +0 -26
  458. package/dist/node_modules/@babylonjs/core/Shaders/kernelBlur.fragment.esm.js +0 -49
  459. package/dist/node_modules/@babylonjs/core/Shaders/kernelBlur.vertex.esm.js +0 -17
  460. package/dist/node_modules/@babylonjs/core/Shaders/lensHighlights.fragment.esm.js +0 -115
  461. package/dist/node_modules/@babylonjs/core/Shaders/motionBlur.fragment.esm.js +0 -74
  462. package/dist/node_modules/@babylonjs/core/Shaders/pass.fragment.esm.js +0 -13
  463. package/dist/node_modules/@babylonjs/core/Shaders/passCube.fragment.esm.js +0 -27
  464. package/dist/node_modules/@babylonjs/core/Shaders/pbr.fragment.esm.js +0 -648
  465. package/dist/node_modules/@babylonjs/core/Shaders/pbr.vertex.esm.js +0 -236
  466. package/dist/node_modules/@babylonjs/core/Shaders/postprocess.vertex.esm.js +0 -13
  467. package/dist/node_modules/@babylonjs/core/Shaders/rgbdDecode.fragment.esm.js +0 -11
  468. package/dist/node_modules/@babylonjs/core/Shaders/rgbdEncode.fragment.esm.js +0 -11
  469. package/dist/node_modules/@babylonjs/core/Shaders/screenSpaceReflection.fragment.esm.js +0 -136
  470. package/dist/node_modules/@babylonjs/core/Shaders/screenSpaceReflection2.fragment.esm.js +0 -215
  471. package/dist/node_modules/@babylonjs/core/Shaders/screenSpaceReflection2Blur.fragment.esm.js +0 -52
  472. package/dist/node_modules/@babylonjs/core/Shaders/screenSpaceReflection2BlurCombiner.fragment.esm.js +0 -59
  473. package/dist/node_modules/@babylonjs/core/Shaders/sharpen.fragment.esm.js +0 -18
  474. package/dist/node_modules/@babylonjs/core/Shaders/ssao.fragment.esm.js +0 -55
  475. package/dist/node_modules/@babylonjs/core/Shaders/ssao2.fragment.esm.js +0 -165
  476. package/dist/node_modules/@babylonjs/core/Shaders/ssaoCombine.fragment.esm.js +0 -15
  477. package/dist/node_modules/@babylonjs/core/Shaders/standard.fragment.esm.js +0 -339
  478. package/dist/node_modules/@babylonjs/core/States/alphaCullingState.esm.js +0 -35
  479. package/dist/node_modules/@babylonjs/core/States/depthCullingState.esm.js +0 -69
  480. package/dist/node_modules/@babylonjs/core/States/stencilState.esm.js +0 -62
  481. package/dist/node_modules/@babylonjs/core/States/stencilStateComposer.esm.js +0 -70
  482. package/dist/node_modules/@babylonjs/core/abstractScene.esm.js +0 -71
  483. package/dist/node_modules/@babylonjs/core/assetContainer.esm.js +0 -425
  484. package/dist/node_modules/@babylonjs/core/node.esm.js +0 -536
  485. package/dist/node_modules/@babylonjs/core/scene.esm.js +0 -2809
  486. package/dist/node_modules/@babylonjs/core/sceneComponent.esm.js +0 -102
  487. package/dist/node_modules/@babylonjs/core/tslib.es6.esm.js +0 -12
  488. package/dist/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.esm.js +0 -37
  489. package/dist/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.esm.js +0 -902
  490. package/dist/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.esm.js +0 -42
  491. package/dist/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.esm.js +0 -195
  492. package/dist/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.esm.js +0 -75
  493. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.esm.js +0 -77
  494. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.esm.js +0 -53
  495. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.esm.js +0 -31
  496. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.esm.js +0 -29
  497. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.esm.js +0 -47
  498. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.esm.js +0 -173
  499. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.esm.js +0 -82
  500. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.esm.js +0 -68
  501. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.esm.js +0 -60
  502. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.esm.js +0 -39
  503. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.esm.js +0 -42
  504. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.esm.js +0 -32
  505. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.esm.js +0 -35
  506. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.esm.js +0 -41
  507. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.esm.js +0 -41
  508. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.esm.js +0 -41
  509. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.esm.js +0 -41
  510. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_translucency.esm.js +0 -41
  511. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.esm.js +0 -136
  512. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.esm.js +0 -37
  513. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.esm.js +0 -178
  514. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.esm.js +0 -40
  515. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.esm.js +0 -17
  516. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.esm.js +0 -29
  517. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.esm.js +0 -29
  518. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.esm.js +0 -31
  519. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.esm.js +0 -149
  520. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.esm.js +0 -170
  521. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.esm.js +0 -29
  522. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.esm.js +0 -29
  523. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.esm.js +0 -1562
  524. package/dist/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.esm.js +0 -66
  525. package/dist/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.esm.js +0 -462
  526. package/dist/node_modules/@babylonjs/loaders/glTF/glTFValidation.esm.js +0 -81
@@ -1,701 +0,0 @@
1
- import { Vector3 as u, Quaternion as p, Matrix as m, TmpVectors as d } from "../Maths/math.vector.esm.js";
2
- import { ArrayTools as _ } from "../Misc/arrayTools.esm.js";
3
- import { Node as x } from "../node.esm.js";
4
- import { Space as r } from "../Maths/math.axis.esm.js";
5
- class n extends x {
6
- /** @internal */
7
- get _matrix() {
8
- return this._compose(), this._localMatrix;
9
- }
10
- /** @internal */
11
- set _matrix(t) {
12
- t.updateFlag === this._localMatrix.updateFlag && !this._needToCompose || (this._needToCompose = !1, this._localMatrix.copyFrom(t), this._markAsDirtyAndDecompose());
13
- }
14
- /**
15
- * Create a new bone
16
- * @param name defines the bone name
17
- * @param skeleton defines the parent skeleton
18
- * @param parentBone defines the parent (can be null if the bone is the root)
19
- * @param localMatrix defines the local matrix (default: identity)
20
- * @param restMatrix defines the rest matrix (default: localMatrix)
21
- * @param bindMatrix defines the bind matrix (default: localMatrix)
22
- * @param index defines index of the bone in the hierarchy (default: null)
23
- */
24
- constructor(t, i, e = null, o = null, s = null, a = null, l = null) {
25
- var h;
26
- super(t, i.getScene()), this.name = t, this.children = new Array(), this.animations = new Array(), this._index = null, this._scalingDeterminant = 1, this._needToDecompose = !0, this._needToCompose = !1, this._linkedTransformNode = null, this._waitingTransformNodeId = null, this._skeleton = i, this._localMatrix = (h = o == null ? void 0 : o.clone()) !== null && h !== void 0 ? h : m.Identity(), this._restMatrix = s ?? this._localMatrix.clone(), this._bindMatrix = a ?? this._localMatrix.clone(), this._index = l, this._absoluteMatrix = new m(), this._absoluteBindMatrix = new m(), this._absoluteInverseBindMatrix = new m(), this._finalMatrix = new m(), i.bones.push(this), this.setParent(e, !1), this._updateAbsoluteBindMatrices();
27
- }
28
- /**
29
- * Gets the current object class name.
30
- * @returns the class name
31
- */
32
- getClassName() {
33
- return "Bone";
34
- }
35
- // Members
36
- /**
37
- * Gets the parent skeleton
38
- * @returns a skeleton
39
- */
40
- getSkeleton() {
41
- return this._skeleton;
42
- }
43
- get parent() {
44
- return this._parentNode;
45
- }
46
- /**
47
- * Gets parent bone
48
- * @returns a bone or null if the bone is the root of the bone hierarchy
49
- */
50
- getParent() {
51
- return this.parent;
52
- }
53
- /**
54
- * Returns an array containing the children of the bone
55
- * @returns an array containing the children of the bone (can be empty if the bone has no children)
56
- */
57
- getChildren() {
58
- return this.children;
59
- }
60
- /**
61
- * Gets the node index in matrix array generated for rendering
62
- * @returns the node index
63
- */
64
- getIndex() {
65
- return this._index === null ? this.getSkeleton().bones.indexOf(this) : this._index;
66
- }
67
- set parent(t) {
68
- this.setParent(t);
69
- }
70
- /**
71
- * Sets the parent bone
72
- * @param parent defines the parent (can be null if the bone is the root)
73
- * @param updateAbsoluteBindMatrices defines if the absolute bind and absolute inverse bind matrices must be updated
74
- */
75
- setParent(t, i = !0) {
76
- if (this.parent !== t) {
77
- if (this.parent) {
78
- const e = this.parent.children.indexOf(this);
79
- e !== -1 && this.parent.children.splice(e, 1);
80
- }
81
- this._parentNode = t, this.parent && this.parent.children.push(this), i && this._updateAbsoluteBindMatrices(), this.markAsDirty();
82
- }
83
- }
84
- /**
85
- * Gets the local matrix
86
- * @returns the local matrix
87
- */
88
- getLocalMatrix() {
89
- return this._compose(), this._localMatrix;
90
- }
91
- /**
92
- * Gets the bind matrix
93
- * @returns the bind matrix
94
- */
95
- getBindMatrix() {
96
- return this._bindMatrix;
97
- }
98
- /**
99
- * Gets the bind matrix.
100
- * @returns the bind matrix
101
- * @deprecated Please use getBindMatrix instead
102
- */
103
- getBaseMatrix() {
104
- return this.getBindMatrix();
105
- }
106
- /**
107
- * Gets the rest matrix
108
- * @returns the rest matrix
109
- */
110
- getRestMatrix() {
111
- return this._restMatrix;
112
- }
113
- /**
114
- * Gets the rest matrix
115
- * @returns the rest matrix
116
- * @deprecated Please use getRestMatrix instead
117
- */
118
- getRestPose() {
119
- return this.getRestMatrix();
120
- }
121
- /**
122
- * Sets the rest matrix
123
- * @param matrix the local-space rest matrix to set for this bone
124
- */
125
- setRestMatrix(t) {
126
- this._restMatrix.copyFrom(t);
127
- }
128
- /**
129
- * Sets the rest matrix
130
- * @param matrix the local-space rest to set for this bone
131
- * @deprecated Please use setRestMatrix instead
132
- */
133
- setRestPose(t) {
134
- this.setRestMatrix(t);
135
- }
136
- /**
137
- * Gets the bind matrix
138
- * @returns the bind matrix
139
- * @deprecated Please use getBindMatrix instead
140
- */
141
- getBindPose() {
142
- return this.getBindMatrix();
143
- }
144
- /**
145
- * Sets the bind matrix
146
- * This will trigger a recomputation of the absolute bind and absolute inverse bind matrices for this bone and its children
147
- * Note that the local matrix will also be set with the matrix passed in parameter!
148
- * @param matrix the local-space bind matrix to set for this bone
149
- */
150
- setBindMatrix(t) {
151
- this.updateMatrix(t);
152
- }
153
- /**
154
- * Sets the bind matrix
155
- * @param matrix the local-space bind to set for this bone
156
- * @deprecated Please use setBindMatrix instead
157
- */
158
- setBindPose(t) {
159
- this.setBindMatrix(t);
160
- }
161
- /**
162
- * Gets the matrix used to store the final world transformation of the bone (ie. the matrix sent to shaders)
163
- */
164
- getFinalMatrix() {
165
- return this._finalMatrix;
166
- }
167
- /**
168
- * Gets the matrix used to store the final world transformation of the bone (ie. the matrix sent to shaders)
169
- * @deprecated Please use getFinalMatrix instead
170
- */
171
- getWorldMatrix() {
172
- return this.getFinalMatrix();
173
- }
174
- /**
175
- * Sets the local matrix to the rest matrix
176
- */
177
- returnToRest() {
178
- var t;
179
- if (this._linkedTransformNode) {
180
- const i = d.Vector3[0], e = d.Quaternion[0], o = d.Vector3[1];
181
- this.getRestMatrix().decompose(i, e, o), this._linkedTransformNode.position.copyFrom(o), this._linkedTransformNode.rotationQuaternion = (t = this._linkedTransformNode.rotationQuaternion) !== null && t !== void 0 ? t : p.Identity(), this._linkedTransformNode.rotationQuaternion.copyFrom(e), this._linkedTransformNode.scaling.copyFrom(i);
182
- } else
183
- this._matrix = this._restMatrix;
184
- }
185
- /**
186
- * Gets the inverse of the bind matrix, in world space (relative to the skeleton root)
187
- * @returns the inverse bind matrix, in world space
188
- */
189
- getAbsoluteInverseBindMatrix() {
190
- return this._absoluteInverseBindMatrix;
191
- }
192
- /**
193
- * Gets the inverse of the bind matrix, in world space (relative to the skeleton root)
194
- * @returns the inverse bind matrix, in world space
195
- * @deprecated Please use getAbsoluteInverseBindMatrix instead
196
- */
197
- getInvertedAbsoluteTransform() {
198
- return this.getAbsoluteInverseBindMatrix();
199
- }
200
- /**
201
- * Gets the bone matrix, in world space (relative to the skeleton root)
202
- * @returns the bone matrix, in world space
203
- */
204
- getAbsoluteMatrix() {
205
- return this._absoluteMatrix;
206
- }
207
- /**
208
- * Gets the bone matrix, in world space (relative to the skeleton root)
209
- * @returns the bone matrix, in world space
210
- * @deprecated Please use getAbsoluteMatrix instead
211
- */
212
- getAbsoluteTransform() {
213
- return this._absoluteMatrix;
214
- }
215
- /**
216
- * Links with the given transform node.
217
- * The local matrix of this bone is overwritten by the transform of the node every frame.
218
- * @param transformNode defines the transform node to link to
219
- */
220
- linkTransformNode(t) {
221
- this._linkedTransformNode && this._skeleton._numBonesWithLinkedTransformNode--, this._linkedTransformNode = t, this._linkedTransformNode && this._skeleton._numBonesWithLinkedTransformNode++;
222
- }
223
- // Properties (matches TransformNode properties)
224
- /**
225
- * Gets the node used to drive the bone's transformation
226
- * @returns a transform node or null
227
- */
228
- getTransformNode() {
229
- return this._linkedTransformNode;
230
- }
231
- /** Gets or sets current position (in local space) */
232
- get position() {
233
- return this._decompose(), this._localPosition;
234
- }
235
- set position(t) {
236
- this._decompose(), this._localPosition.copyFrom(t), this._markAsDirtyAndCompose();
237
- }
238
- /** Gets or sets current rotation (in local space) */
239
- get rotation() {
240
- return this.getRotation();
241
- }
242
- set rotation(t) {
243
- this.setRotation(t);
244
- }
245
- /** Gets or sets current rotation quaternion (in local space) */
246
- get rotationQuaternion() {
247
- return this._decompose(), this._localRotation;
248
- }
249
- set rotationQuaternion(t) {
250
- this.setRotationQuaternion(t);
251
- }
252
- /** Gets or sets current scaling (in local space) */
253
- get scaling() {
254
- return this.getScale();
255
- }
256
- set scaling(t) {
257
- this.setScale(t);
258
- }
259
- /**
260
- * Gets the animation properties override
261
- */
262
- get animationPropertiesOverride() {
263
- return this._skeleton.animationPropertiesOverride;
264
- }
265
- // Methods
266
- _decompose() {
267
- this._needToDecompose && (this._needToDecompose = !1, this._localScaling || (this._localScaling = u.Zero(), this._localRotation = p.Zero(), this._localPosition = u.Zero()), this._localMatrix.decompose(this._localScaling, this._localRotation, this._localPosition));
268
- }
269
- _compose() {
270
- if (this._needToCompose) {
271
- if (!this._localScaling) {
272
- this._needToCompose = !1;
273
- return;
274
- }
275
- this._needToCompose = !1, m.ComposeToRef(this._localScaling, this._localRotation, this._localPosition, this._localMatrix);
276
- }
277
- }
278
- /**
279
- * Update the bind (and optionally the local) matrix
280
- * @param bindMatrix defines the new matrix to set to the bind/local matrix, in local space
281
- * @param updateAbsoluteBindMatrices defines if the absolute bind and absolute inverse bind matrices must be recomputed (default: true)
282
- * @param updateLocalMatrix defines if the local matrix should also be updated with the matrix passed in parameter (default: true)
283
- */
284
- updateMatrix(t, i = !0, e = !0) {
285
- this._bindMatrix.copyFrom(t), i && this._updateAbsoluteBindMatrices(), e ? this._matrix = t : this.markAsDirty();
286
- }
287
- /**
288
- * @internal
289
- */
290
- _updateAbsoluteBindMatrices(t, i = !0) {
291
- if (t || (t = this._bindMatrix), this.parent ? t.multiplyToRef(this.parent._absoluteBindMatrix, this._absoluteBindMatrix) : this._absoluteBindMatrix.copyFrom(t), this._absoluteBindMatrix.invertToRef(this._absoluteInverseBindMatrix), i)
292
- for (let e = 0; e < this.children.length; e++)
293
- this.children[e]._updateAbsoluteBindMatrices();
294
- this._scalingDeterminant = this._absoluteBindMatrix.determinant() < 0 ? -1 : 1;
295
- }
296
- /**
297
- * Flag the bone as dirty (Forcing it to update everything)
298
- * @returns this bone
299
- */
300
- markAsDirty() {
301
- return this._currentRenderId++, this._childUpdateId++, this._skeleton._markAsDirty(), this;
302
- }
303
- /** @internal */
304
- _markAsDirtyAndCompose() {
305
- this.markAsDirty(), this._needToCompose = !0;
306
- }
307
- _markAsDirtyAndDecompose() {
308
- this.markAsDirty(), this._needToDecompose = !0;
309
- }
310
- _updatePosition(t, i = r.LOCAL, e, o = !0) {
311
- const s = this.getLocalMatrix();
312
- if (i == r.LOCAL)
313
- o ? (s.addAtIndex(12, t.x), s.addAtIndex(13, t.y), s.addAtIndex(14, t.z)) : s.setTranslationFromFloats(t.x, t.y, t.z);
314
- else {
315
- let a = null;
316
- e && (a = e.getWorldMatrix()), this._skeleton.computeAbsoluteMatrices();
317
- const l = n._TmpMats[0], h = n._TmpVecs[0];
318
- this.parent ? e && a ? (l.copyFrom(this.parent.getAbsoluteMatrix()), l.multiplyToRef(a, l)) : l.copyFrom(this.parent.getAbsoluteMatrix()) : m.IdentityToRef(l), o && l.setTranslationFromFloats(0, 0, 0), l.invert(), u.TransformCoordinatesToRef(t, l, h), o ? (s.addAtIndex(12, h.x), s.addAtIndex(13, h.y), s.addAtIndex(14, h.z)) : s.setTranslationFromFloats(h.x, h.y, h.z);
319
- }
320
- this._markAsDirtyAndDecompose();
321
- }
322
- /**
323
- * Translate the bone in local or world space
324
- * @param vec The amount to translate the bone
325
- * @param space The space that the translation is in (default: Space.LOCAL)
326
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
327
- */
328
- translate(t, i = r.LOCAL, e) {
329
- this._updatePosition(t, i, e, !0);
330
- }
331
- /**
332
- * Set the position of the bone in local or world space
333
- * @param position The position to set the bone
334
- * @param space The space that the position is in (default: Space.LOCAL)
335
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
336
- */
337
- setPosition(t, i = r.LOCAL, e) {
338
- this._updatePosition(t, i, e, !1);
339
- }
340
- /**
341
- * Set the absolute position of the bone (world space)
342
- * @param position The position to set the bone
343
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
344
- */
345
- setAbsolutePosition(t, i) {
346
- this.setPosition(t, r.WORLD, i);
347
- }
348
- /**
349
- * Scale the bone on the x, y and z axes (in local space)
350
- * @param x The amount to scale the bone on the x axis
351
- * @param y The amount to scale the bone on the y axis
352
- * @param z The amount to scale the bone on the z axis
353
- * @param scaleChildren sets this to true if children of the bone should be scaled as well (false by default)
354
- */
355
- scale(t, i, e, o = !1) {
356
- const s = this.getLocalMatrix(), a = n._TmpMats[0];
357
- m.ScalingToRef(t, i, e, a), a.multiplyToRef(s, s), a.invert();
358
- for (const l of this.children) {
359
- const h = l.getLocalMatrix();
360
- h.multiplyToRef(a, h), h.multiplyAtIndex(12, t), h.multiplyAtIndex(13, i), h.multiplyAtIndex(14, e), l._markAsDirtyAndDecompose();
361
- }
362
- if (this._markAsDirtyAndDecompose(), o)
363
- for (const l of this.children)
364
- l.scale(t, i, e, o);
365
- }
366
- /**
367
- * Set the bone scaling in local space
368
- * @param scale defines the scaling vector
369
- */
370
- setScale(t) {
371
- this._decompose(), this._localScaling.copyFrom(t), this._markAsDirtyAndCompose();
372
- }
373
- /**
374
- * Gets the current scaling in local space
375
- * @returns the current scaling vector
376
- */
377
- getScale() {
378
- return this._decompose(), this._localScaling;
379
- }
380
- /**
381
- * Gets the current scaling in local space and stores it in a target vector
382
- * @param result defines the target vector
383
- */
384
- getScaleToRef(t) {
385
- this._decompose(), t.copyFrom(this._localScaling);
386
- }
387
- /**
388
- * Set the yaw, pitch, and roll of the bone in local or world space
389
- * @param yaw The rotation of the bone on the y axis
390
- * @param pitch The rotation of the bone on the x axis
391
- * @param roll The rotation of the bone on the z axis
392
- * @param space The space that the axes of rotation are in
393
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
394
- */
395
- setYawPitchRoll(t, i, e, o = r.LOCAL, s) {
396
- if (o === r.LOCAL) {
397
- const h = n._TmpQuat;
398
- p.RotationYawPitchRollToRef(t, i, e, h), this.setRotationQuaternion(h, o, s);
399
- return;
400
- }
401
- const a = n._TmpMats[0];
402
- if (!this._getAbsoluteInverseMatrixUnscaledToRef(a, s))
403
- return;
404
- const l = n._TmpMats[1];
405
- m.RotationYawPitchRollToRef(t, i, e, l), a.multiplyToRef(l, l), this._rotateWithMatrix(l, o, s);
406
- }
407
- /**
408
- * Add a rotation to the bone on an axis in local or world space
409
- * @param axis The axis to rotate the bone on
410
- * @param amount The amount to rotate the bone
411
- * @param space The space that the axis is in
412
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
413
- */
414
- rotate(t, i, e = r.LOCAL, o) {
415
- const s = n._TmpMats[0];
416
- s.setTranslationFromFloats(0, 0, 0), m.RotationAxisToRef(t, i, s), this._rotateWithMatrix(s, e, o);
417
- }
418
- /**
419
- * Set the rotation of the bone to a particular axis angle in local or world space
420
- * @param axis The axis to rotate the bone on
421
- * @param angle The angle that the bone should be rotated to
422
- * @param space The space that the axis is in
423
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
424
- */
425
- setAxisAngle(t, i, e = r.LOCAL, o) {
426
- if (e === r.LOCAL) {
427
- const l = n._TmpQuat;
428
- p.RotationAxisToRef(t, i, l), this.setRotationQuaternion(l, e, o);
429
- return;
430
- }
431
- const s = n._TmpMats[0];
432
- if (!this._getAbsoluteInverseMatrixUnscaledToRef(s, o))
433
- return;
434
- const a = n._TmpMats[1];
435
- m.RotationAxisToRef(t, i, a), s.multiplyToRef(a, a), this._rotateWithMatrix(a, e, o);
436
- }
437
- /**
438
- * Set the euler rotation of the bone in local or world space
439
- * @param rotation The euler rotation that the bone should be set to
440
- * @param space The space that the rotation is in
441
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
442
- */
443
- setRotation(t, i = r.LOCAL, e) {
444
- this.setYawPitchRoll(t.y, t.x, t.z, i, e);
445
- }
446
- /**
447
- * Set the quaternion rotation of the bone in local or world space
448
- * @param quat The quaternion rotation that the bone should be set to
449
- * @param space The space that the rotation is in
450
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
451
- */
452
- setRotationQuaternion(t, i = r.LOCAL, e) {
453
- if (i === r.LOCAL) {
454
- this._decompose(), this._localRotation.copyFrom(t), this._markAsDirtyAndCompose();
455
- return;
456
- }
457
- const o = n._TmpMats[0];
458
- if (!this._getAbsoluteInverseMatrixUnscaledToRef(o, e))
459
- return;
460
- const s = n._TmpMats[1];
461
- m.FromQuaternionToRef(t, s), o.multiplyToRef(s, s), this._rotateWithMatrix(s, i, e);
462
- }
463
- /**
464
- * Set the rotation matrix of the bone in local or world space
465
- * @param rotMat The rotation matrix that the bone should be set to
466
- * @param space The space that the rotation is in
467
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
468
- */
469
- setRotationMatrix(t, i = r.LOCAL, e) {
470
- if (i === r.LOCAL) {
471
- const a = n._TmpQuat;
472
- p.FromRotationMatrixToRef(t, a), this.setRotationQuaternion(a, i, e);
473
- return;
474
- }
475
- const o = n._TmpMats[0];
476
- if (!this._getAbsoluteInverseMatrixUnscaledToRef(o, e))
477
- return;
478
- const s = n._TmpMats[1];
479
- s.copyFrom(t), o.multiplyToRef(t, s), this._rotateWithMatrix(s, i, e);
480
- }
481
- _rotateWithMatrix(t, i = r.LOCAL, e) {
482
- const o = this.getLocalMatrix(), s = o.m[12], a = o.m[13], l = o.m[14], h = this.getParent(), c = n._TmpMats[3], f = n._TmpMats[4];
483
- h && i == r.WORLD ? (e ? (c.copyFrom(e.getWorldMatrix()), h.getAbsoluteMatrix().multiplyToRef(c, c)) : c.copyFrom(h.getAbsoluteMatrix()), f.copyFrom(c), f.invert(), o.multiplyToRef(c, o), o.multiplyToRef(t, o), o.multiplyToRef(f, o)) : i == r.WORLD && e ? (c.copyFrom(e.getWorldMatrix()), f.copyFrom(c), f.invert(), o.multiplyToRef(c, o), o.multiplyToRef(t, o), o.multiplyToRef(f, o)) : o.multiplyToRef(t, o), o.setTranslationFromFloats(s, a, l), this.computeAbsoluteMatrices(), this._markAsDirtyAndDecompose();
484
- }
485
- _getAbsoluteInverseMatrixUnscaledToRef(t, i) {
486
- const e = n._TmpMats[2];
487
- return t.copyFrom(this.getAbsoluteMatrix()), i ? (t.multiplyToRef(i.getWorldMatrix(), t), m.ScalingToRef(i.scaling.x, i.scaling.y, i.scaling.z, e)) : m.IdentityToRef(e), t.invert(), isNaN(t.m[0]) ? !1 : (e.multiplyAtIndex(0, this._scalingDeterminant), t.multiplyToRef(e, t), !0);
488
- }
489
- /**
490
- * Get the position of the bone in local or world space
491
- * @param space The space that the returned position is in
492
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
493
- * @returns The position of the bone
494
- */
495
- getPosition(t = r.LOCAL, i = null) {
496
- const e = u.Zero();
497
- return this.getPositionToRef(t, i, e), e;
498
- }
499
- /**
500
- * Copy the position of the bone to a vector3 in local or world space
501
- * @param space The space that the returned position is in
502
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
503
- * @param result The vector3 to copy the position to
504
- */
505
- getPositionToRef(t = r.LOCAL, i, e) {
506
- if (t == r.LOCAL) {
507
- const o = this.getLocalMatrix();
508
- e.x = o.m[12], e.y = o.m[13], e.z = o.m[14];
509
- } else {
510
- let o = null;
511
- i && (o = i.getWorldMatrix()), this._skeleton.computeAbsoluteMatrices();
512
- let s = n._TmpMats[0];
513
- i && o ? (s.copyFrom(this.getAbsoluteMatrix()), s.multiplyToRef(o, s)) : s = this.getAbsoluteMatrix(), e.x = s.m[12], e.y = s.m[13], e.z = s.m[14];
514
- }
515
- }
516
- /**
517
- * Get the absolute position of the bone (world space)
518
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
519
- * @returns The absolute position of the bone
520
- */
521
- getAbsolutePosition(t = null) {
522
- const i = u.Zero();
523
- return this.getPositionToRef(r.WORLD, t, i), i;
524
- }
525
- /**
526
- * Copy the absolute position of the bone (world space) to the result param
527
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
528
- * @param result The vector3 to copy the absolute position to
529
- */
530
- getAbsolutePositionToRef(t, i) {
531
- this.getPositionToRef(r.WORLD, t, i);
532
- }
533
- /**
534
- * Compute the absolute matrices of this bone and its children
535
- */
536
- computeAbsoluteMatrices() {
537
- if (this._compose(), this.parent)
538
- this._localMatrix.multiplyToRef(this.parent._absoluteMatrix, this._absoluteMatrix);
539
- else {
540
- this._absoluteMatrix.copyFrom(this._localMatrix);
541
- const e = this._skeleton.getPoseMatrix();
542
- e && this._absoluteMatrix.multiplyToRef(e, this._absoluteMatrix);
543
- }
544
- const t = this.children, i = t.length;
545
- for (let e = 0; e < i; e++)
546
- t[e].computeAbsoluteMatrices();
547
- }
548
- /**
549
- * Compute the absolute matrices of this bone and its children
550
- * @deprecated Please use computeAbsoluteMatrices instead
551
- */
552
- computeAbsoluteTransforms() {
553
- this.computeAbsoluteMatrices();
554
- }
555
- /**
556
- * Get the world direction from an axis that is in the local space of the bone
557
- * @param localAxis The local direction that is used to compute the world direction
558
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
559
- * @returns The world direction
560
- */
561
- getDirection(t, i = null) {
562
- const e = u.Zero();
563
- return this.getDirectionToRef(t, i, e), e;
564
- }
565
- /**
566
- * Copy the world direction to a vector3 from an axis that is in the local space of the bone
567
- * @param localAxis The local direction that is used to compute the world direction
568
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
569
- * @param result The vector3 that the world direction will be copied to
570
- */
571
- getDirectionToRef(t, i = null, e) {
572
- let o = null;
573
- i && (o = i.getWorldMatrix()), this._skeleton.computeAbsoluteMatrices();
574
- const s = n._TmpMats[0];
575
- s.copyFrom(this.getAbsoluteMatrix()), i && o && s.multiplyToRef(o, s), u.TransformNormalToRef(t, s, e), e.normalize();
576
- }
577
- /**
578
- * Get the euler rotation of the bone in local or world space
579
- * @param space The space that the rotation should be in
580
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
581
- * @returns The euler rotation
582
- */
583
- getRotation(t = r.LOCAL, i = null) {
584
- const e = u.Zero();
585
- return this.getRotationToRef(t, i, e), e;
586
- }
587
- /**
588
- * Copy the euler rotation of the bone to a vector3. The rotation can be in either local or world space
589
- * @param space The space that the rotation should be in
590
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
591
- * @param result The vector3 that the rotation should be copied to
592
- */
593
- getRotationToRef(t = r.LOCAL, i = null, e) {
594
- const o = n._TmpQuat;
595
- this.getRotationQuaternionToRef(t, i, o), o.toEulerAnglesToRef(e);
596
- }
597
- /**
598
- * Get the quaternion rotation of the bone in either local or world space
599
- * @param space The space that the rotation should be in
600
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
601
- * @returns The quaternion rotation
602
- */
603
- getRotationQuaternion(t = r.LOCAL, i = null) {
604
- const e = p.Identity();
605
- return this.getRotationQuaternionToRef(t, i, e), e;
606
- }
607
- /**
608
- * Copy the quaternion rotation of the bone to a quaternion. The rotation can be in either local or world space
609
- * @param space The space that the rotation should be in
610
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
611
- * @param result The quaternion that the rotation should be copied to
612
- */
613
- getRotationQuaternionToRef(t = r.LOCAL, i = null, e) {
614
- if (t == r.LOCAL)
615
- this._decompose(), e.copyFrom(this._localRotation);
616
- else {
617
- const o = n._TmpMats[0], s = this.getAbsoluteMatrix();
618
- i ? s.multiplyToRef(i.getWorldMatrix(), o) : o.copyFrom(s), o.multiplyAtIndex(0, this._scalingDeterminant), o.multiplyAtIndex(1, this._scalingDeterminant), o.multiplyAtIndex(2, this._scalingDeterminant), o.decompose(void 0, e, void 0);
619
- }
620
- }
621
- /**
622
- * Get the rotation matrix of the bone in local or world space
623
- * @param space The space that the rotation should be in
624
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
625
- * @returns The rotation matrix
626
- */
627
- getRotationMatrix(t = r.LOCAL, i) {
628
- const e = m.Identity();
629
- return this.getRotationMatrixToRef(t, i, e), e;
630
- }
631
- /**
632
- * Copy the rotation matrix of the bone to a matrix. The rotation can be in either local or world space
633
- * @param space The space that the rotation should be in
634
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
635
- * @param result The quaternion that the rotation should be copied to
636
- */
637
- getRotationMatrixToRef(t = r.LOCAL, i, e) {
638
- if (t == r.LOCAL)
639
- this.getLocalMatrix().getRotationMatrixToRef(e);
640
- else {
641
- const o = n._TmpMats[0], s = this.getAbsoluteMatrix();
642
- i ? s.multiplyToRef(i.getWorldMatrix(), o) : o.copyFrom(s), o.multiplyAtIndex(0, this._scalingDeterminant), o.multiplyAtIndex(1, this._scalingDeterminant), o.multiplyAtIndex(2, this._scalingDeterminant), o.getRotationMatrixToRef(e);
643
- }
644
- }
645
- /**
646
- * Get the world position of a point that is in the local space of the bone
647
- * @param position The local position
648
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
649
- * @returns The world position
650
- */
651
- getAbsolutePositionFromLocal(t, i = null) {
652
- const e = u.Zero();
653
- return this.getAbsolutePositionFromLocalToRef(t, i, e), e;
654
- }
655
- /**
656
- * Get the world position of a point that is in the local space of the bone and copy it to the result param
657
- * @param position The local position
658
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
659
- * @param result The vector3 that the world position should be copied to
660
- */
661
- getAbsolutePositionFromLocalToRef(t, i = null, e) {
662
- let o = null;
663
- i && (o = i.getWorldMatrix()), this._skeleton.computeAbsoluteMatrices();
664
- const s = n._TmpMats[0];
665
- s.copyFrom(this.getAbsoluteMatrix()), i && o && s.multiplyToRef(o, s), u.TransformCoordinatesToRef(t, s, e);
666
- }
667
- /**
668
- * Get the local position of a point that is in world space
669
- * @param position The world position
670
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
671
- * @returns The local position
672
- */
673
- getLocalPositionFromAbsolute(t, i = null) {
674
- const e = u.Zero();
675
- return this.getLocalPositionFromAbsoluteToRef(t, i, e), e;
676
- }
677
- /**
678
- * Get the local position of a point that is in world space and copy it to the result param
679
- * @param position The world position
680
- * @param tNode A TransformNode whose world matrix is to be applied to the calculated absolute matrix. In most cases, you'll want to pass the mesh associated with the skeleton from which this bone comes. Used only when space=Space.WORLD
681
- * @param result The vector3 that the local position should be copied to
682
- */
683
- getLocalPositionFromAbsoluteToRef(t, i = null, e) {
684
- let o = null;
685
- i && (o = i.getWorldMatrix()), this._skeleton.computeAbsoluteMatrices();
686
- const s = n._TmpMats[0];
687
- s.copyFrom(this.getAbsoluteMatrix()), i && o && s.multiplyToRef(o, s), s.invert(), u.TransformCoordinatesToRef(t, s, e);
688
- }
689
- /**
690
- * Set the current local matrix as the restMatrix for this bone.
691
- */
692
- setCurrentPoseAsRest() {
693
- this.setRestMatrix(this.getLocalMatrix());
694
- }
695
- }
696
- n._TmpVecs = _.BuildArray(2, u.Zero);
697
- n._TmpQuat = p.Identity();
698
- n._TmpMats = _.BuildArray(5, m.Identity);
699
- export {
700
- n as Bone
701
- };