@babylonjs/core 5.0.0-beta.1 → 5.0.0-beta.10

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 (796) hide show
  1. package/Actions/actionManager.d.ts +1 -1
  2. package/Actions/actionManager.js +5 -1
  3. package/Actions/actionManager.js.map +1 -1
  4. package/Animations/animation.d.ts +6 -6
  5. package/Animations/animation.js +9 -5
  6. package/Animations/animation.js.map +1 -1
  7. package/Audio/analyser.d.ts +2 -1
  8. package/Audio/analyser.js +5 -0
  9. package/Audio/analyser.js.map +1 -1
  10. package/Audio/audioSceneComponent.d.ts +1 -1
  11. package/Audio/audioSceneComponent.js +5 -0
  12. package/Audio/audioSceneComponent.js.map +1 -1
  13. package/Audio/sound.d.ts +1 -1
  14. package/Audio/sound.js +8 -1
  15. package/Audio/sound.js.map +1 -1
  16. package/Audio/soundTrack.d.ts +2 -1
  17. package/Audio/soundTrack.js +5 -0
  18. package/Audio/soundTrack.js.map +1 -1
  19. package/BakedVertexAnimation/bakedVertexAnimationManager.d.ts +1 -1
  20. package/BakedVertexAnimation/bakedVertexAnimationManager.js +5 -0
  21. package/BakedVertexAnimation/bakedVertexAnimationManager.js.map +1 -1
  22. package/Behaviors/Meshes/baseSixDofDragBehavior.js +29 -26
  23. package/Behaviors/Meshes/baseSixDofDragBehavior.js.map +1 -1
  24. package/Behaviors/Meshes/pointerDragBehavior.js +2 -0
  25. package/Behaviors/Meshes/pointerDragBehavior.js.map +1 -1
  26. package/Bones/bone.d.ts +2 -1
  27. package/Bones/bone.js +28 -18
  28. package/Bones/bone.js.map +1 -1
  29. package/Bones/skeleton.d.ts +0 -6
  30. package/Bones/skeleton.js +5 -17
  31. package/Bones/skeleton.js.map +1 -1
  32. package/Buffers/buffer.d.ts +4 -0
  33. package/Buffers/buffer.js +13 -3
  34. package/Buffers/buffer.js.map +1 -1
  35. package/Cameras/Inputs/freeCameraMouseInput.d.ts +1 -0
  36. package/Cameras/Inputs/freeCameraMouseInput.js +6 -3
  37. package/Cameras/Inputs/freeCameraMouseInput.js.map +1 -1
  38. package/Cameras/Inputs/freeCameraTouchInput.js +2 -4
  39. package/Cameras/Inputs/freeCameraTouchInput.js.map +1 -1
  40. package/Cameras/Stereoscopic/anaglyphArcRotateCamera.d.ts +1 -1
  41. package/Cameras/Stereoscopic/anaglyphArcRotateCamera.js.map +1 -1
  42. package/Cameras/Stereoscopic/anaglyphFreeCamera.d.ts +1 -1
  43. package/Cameras/Stereoscopic/anaglyphFreeCamera.js.map +1 -1
  44. package/Cameras/Stereoscopic/anaglyphGamepadCamera.d.ts +1 -1
  45. package/Cameras/Stereoscopic/anaglyphGamepadCamera.js.map +1 -1
  46. package/Cameras/Stereoscopic/anaglyphUniversalCamera.d.ts +1 -1
  47. package/Cameras/Stereoscopic/anaglyphUniversalCamera.js.map +1 -1
  48. package/Cameras/Stereoscopic/stereoscopicArcRotateCamera.d.ts +1 -1
  49. package/Cameras/Stereoscopic/stereoscopicArcRotateCamera.js.map +1 -1
  50. package/Cameras/Stereoscopic/stereoscopicFreeCamera.d.ts +1 -1
  51. package/Cameras/Stereoscopic/stereoscopicFreeCamera.js.map +1 -1
  52. package/Cameras/Stereoscopic/stereoscopicGamepadCamera.d.ts +1 -1
  53. package/Cameras/Stereoscopic/stereoscopicGamepadCamera.js.map +1 -1
  54. package/Cameras/Stereoscopic/stereoscopicScreenUniversalCamera.d.ts +1 -1
  55. package/Cameras/Stereoscopic/stereoscopicScreenUniversalCamera.js.map +1 -1
  56. package/Cameras/Stereoscopic/stereoscopicUniversalCamera.d.ts +1 -1
  57. package/Cameras/Stereoscopic/stereoscopicUniversalCamera.js.map +1 -1
  58. package/Cameras/VR/vrDeviceOrientationArcRotateCamera.d.ts +1 -1
  59. package/Cameras/VR/vrDeviceOrientationArcRotateCamera.js.map +1 -1
  60. package/Cameras/VR/vrDeviceOrientationFreeCamera.d.ts +1 -1
  61. package/Cameras/VR/vrDeviceOrientationFreeCamera.js.map +1 -1
  62. package/Cameras/VR/vrDeviceOrientationGamepadCamera.d.ts +1 -1
  63. package/Cameras/VR/vrDeviceOrientationGamepadCamera.js.map +1 -1
  64. package/Cameras/VR/vrExperienceHelper.d.ts +1 -0
  65. package/Cameras/VR/vrExperienceHelper.js +1 -0
  66. package/Cameras/VR/vrExperienceHelper.js.map +1 -1
  67. package/Cameras/VR/webVRCamera.d.ts +2 -1
  68. package/Cameras/VR/webVRCamera.js +3 -2
  69. package/Cameras/VR/webVRCamera.js.map +1 -1
  70. package/Cameras/arcRotateCamera.d.ts +1 -1
  71. package/Cameras/arcRotateCamera.js.map +1 -1
  72. package/Cameras/camera.d.ts +1 -1
  73. package/Cameras/camera.js +1 -1
  74. package/Cameras/camera.js.map +1 -1
  75. package/Cameras/deviceOrientationCamera.d.ts +1 -1
  76. package/Cameras/deviceOrientationCamera.js.map +1 -1
  77. package/Cameras/flyCamera.d.ts +1 -1
  78. package/Cameras/flyCamera.js.map +1 -1
  79. package/Cameras/followCamera.d.ts +1 -1
  80. package/Cameras/followCamera.js.map +1 -1
  81. package/Cameras/freeCamera.d.ts +1 -1
  82. package/Cameras/freeCamera.js.map +1 -1
  83. package/Cameras/gamepadCamera.d.ts +1 -1
  84. package/Cameras/gamepadCamera.js.map +1 -1
  85. package/Cameras/targetCamera.d.ts +1 -1
  86. package/Cameras/targetCamera.js.map +1 -1
  87. package/Cameras/touchCamera.d.ts +1 -1
  88. package/Cameras/touchCamera.js.map +1 -1
  89. package/Cameras/universalCamera.d.ts +1 -1
  90. package/Cameras/universalCamera.js.map +1 -1
  91. package/Cameras/virtualJoysticksCamera.d.ts +1 -1
  92. package/Cameras/virtualJoysticksCamera.js.map +1 -1
  93. package/Collisions/collider.d.ts +1 -1
  94. package/Collisions/collider.js +48 -2
  95. package/Collisions/collider.js.map +1 -1
  96. package/Compat/compatibilityOptions.d.ts +9 -0
  97. package/Compat/compatibilityOptions.js +14 -0
  98. package/Compat/compatibilityOptions.js.map +1 -0
  99. package/Compat/index.d.ts +1 -0
  100. package/Compat/index.js +2 -0
  101. package/Compat/index.js.map +1 -0
  102. package/Compute/computeEffect.js +2 -2
  103. package/Compute/computeEffect.js.map +1 -1
  104. package/Culling/Octrees/octreeSceneComponent.d.ts +1 -1
  105. package/Culling/Octrees/octreeSceneComponent.js +5 -0
  106. package/Culling/Octrees/octreeSceneComponent.js.map +1 -1
  107. package/Culling/ray.d.ts +6 -4
  108. package/Culling/ray.js +35 -13
  109. package/Culling/ray.js.map +1 -1
  110. package/Debug/axesViewer.d.ts +2 -1
  111. package/Debug/axesViewer.js +6 -0
  112. package/Debug/axesViewer.js.map +1 -1
  113. package/Debug/debugLayer.d.ts +1 -1
  114. package/Debug/debugLayer.js +6 -2
  115. package/Debug/debugLayer.js.map +1 -1
  116. package/Debug/physicsViewer.d.ts +1 -1
  117. package/Debug/physicsViewer.js +3 -0
  118. package/Debug/physicsViewer.js.map +1 -1
  119. package/Debug/skeletonViewer.js +3 -4
  120. package/Debug/skeletonViewer.js.map +1 -1
  121. package/DeviceInput/Helpers/eventFactory.d.ts +1 -1
  122. package/DeviceInput/Helpers/eventFactory.js +10 -6
  123. package/DeviceInput/Helpers/eventFactory.js.map +1 -1
  124. package/DeviceInput/InputDevices/deviceEnums.d.ts +55 -2
  125. package/DeviceInput/InputDevices/deviceEnums.js +54 -0
  126. package/DeviceInput/InputDevices/deviceEnums.js.map +1 -1
  127. package/DeviceInput/InputDevices/deviceSource.d.ts +35 -0
  128. package/DeviceInput/InputDevices/deviceSource.js +38 -0
  129. package/DeviceInput/InputDevices/deviceSource.js.map +1 -0
  130. package/DeviceInput/InputDevices/deviceSourceManager.d.ts +23 -66
  131. package/DeviceInput/InputDevices/deviceSourceManager.js +40 -149
  132. package/DeviceInput/InputDevices/deviceSourceManager.js.map +1 -1
  133. package/DeviceInput/InputDevices/deviceTypes.d.ts +2 -2
  134. package/DeviceInput/InputDevices/deviceTypes.js.map +1 -1
  135. package/DeviceInput/{Interfaces → InputDevices}/inputInterfaces.d.ts +1 -5
  136. package/DeviceInput/{Interfaces → InputDevices}/inputInterfaces.js +0 -0
  137. package/DeviceInput/InputDevices/inputInterfaces.js.map +1 -0
  138. package/DeviceInput/InputDevices/internalDeviceSourceManager.d.ts +51 -0
  139. package/DeviceInput/InputDevices/internalDeviceSourceManager.js +138 -0
  140. package/DeviceInput/InputDevices/internalDeviceSourceManager.js.map +1 -0
  141. package/DeviceInput/{Implementations → InputDevices}/nativeDeviceInputSystem.d.ts +3 -7
  142. package/DeviceInput/{Implementations → InputDevices}/nativeDeviceInputSystem.js +11 -16
  143. package/DeviceInput/InputDevices/nativeDeviceInputSystem.js.map +1 -0
  144. package/DeviceInput/{Implementations → InputDevices}/webDeviceInputSystem.d.ts +17 -19
  145. package/DeviceInput/{Implementations → InputDevices}/webDeviceInputSystem.js +212 -166
  146. package/DeviceInput/InputDevices/webDeviceInputSystem.js.map +1 -0
  147. package/DeviceInput/index.d.ts +1 -5
  148. package/DeviceInput/index.js +1 -5
  149. package/DeviceInput/index.js.map +1 -1
  150. package/Engines/Extensions/engine.cubeTexture.d.ts +1 -1
  151. package/Engines/Extensions/engine.cubeTexture.js +6 -2
  152. package/Engines/Extensions/engine.cubeTexture.js.map +1 -1
  153. package/Engines/Extensions/engine.multiview.d.ts +5 -0
  154. package/Engines/Extensions/engine.multiview.js +4 -2
  155. package/Engines/Extensions/engine.multiview.js.map +1 -1
  156. package/Engines/Extensions/engine.query.d.ts +7 -0
  157. package/Engines/Extensions/engine.query.js +12 -0
  158. package/Engines/Extensions/engine.query.js.map +1 -1
  159. package/Engines/Extensions/engine.views.d.ts +7 -0
  160. package/Engines/Extensions/engine.views.js +12 -0
  161. package/Engines/Extensions/engine.views.js.map +1 -1
  162. package/Engines/Native/nativeInterfaces.d.ts +3 -2
  163. package/Engines/Native/nativeInterfaces.js.map +1 -1
  164. package/Engines/Processors/Expressions/shaderDefineExpression.js +1 -1
  165. package/Engines/Processors/Expressions/shaderDefineExpression.js.map +1 -1
  166. package/Engines/Processors/shaderCodeInliner.js +13 -13
  167. package/Engines/Processors/shaderCodeInliner.js.map +1 -1
  168. package/Engines/WebGPU/Extensions/engine.computeShader.js +1 -1
  169. package/Engines/WebGPU/Extensions/engine.computeShader.js.map +1 -1
  170. package/Engines/WebGPU/Extensions/engine.cubeTexture.js +4 -1
  171. package/Engines/WebGPU/Extensions/engine.cubeTexture.js.map +1 -1
  172. package/Engines/WebGPU/webgpuCacheBindGroups.js +9 -9
  173. package/Engines/WebGPU/webgpuCacheBindGroups.js.map +1 -1
  174. package/Engines/WebGPU/webgpuCacheRenderPipeline.js +5 -7
  175. package/Engines/WebGPU/webgpuCacheRenderPipeline.js.map +1 -1
  176. package/Engines/WebGPU/webgpuCacheRenderPipelineTree.d.ts +1 -1
  177. package/Engines/WebGPU/webgpuCacheRenderPipelineTree.js.map +1 -1
  178. package/Engines/WebGPU/webgpuCacheSampler.d.ts +2 -0
  179. package/Engines/WebGPU/webgpuCacheSampler.js +23 -2
  180. package/Engines/WebGPU/webgpuCacheSampler.js.map +1 -1
  181. package/Engines/WebGPU/webgpuComputeContext.js +1 -1
  182. package/Engines/WebGPU/webgpuComputeContext.js.map +1 -1
  183. package/Engines/WebGPU/webgpuConstants.d.ts +2 -1
  184. package/Engines/WebGPU/webgpuConstants.js +1 -0
  185. package/Engines/WebGPU/webgpuConstants.js.map +1 -1
  186. package/Engines/WebGPU/webgpuDrawContext.d.ts +1 -1
  187. package/Engines/WebGPU/webgpuDrawContext.js +3 -3
  188. package/Engines/WebGPU/webgpuDrawContext.js.map +1 -1
  189. package/Engines/WebGPU/webgpuHardwareTexture.d.ts +0 -1
  190. package/Engines/WebGPU/webgpuHardwareTexture.js +0 -3
  191. package/Engines/WebGPU/webgpuHardwareTexture.js.map +1 -1
  192. package/Engines/WebGPU/webgpuPipelineContext.d.ts +0 -8
  193. package/Engines/WebGPU/webgpuPipelineContext.js.map +1 -1
  194. package/Engines/WebGPU/webgpuShaderProcessorsGLSL.js +13 -13
  195. package/Engines/WebGPU/webgpuShaderProcessorsGLSL.js.map +1 -1
  196. package/Engines/WebGPU/webgpuShaderProcessorsWGSL.js +30 -30
  197. package/Engines/WebGPU/webgpuShaderProcessorsWGSL.js.map +1 -1
  198. package/Engines/WebGPU/webgpuTextureHelper.d.ts +0 -1
  199. package/Engines/WebGPU/webgpuTextureHelper.js +22 -37
  200. package/Engines/WebGPU/webgpuTextureHelper.js.map +1 -1
  201. package/Engines/engine.d.ts +48 -33
  202. package/Engines/engine.js +2 -6
  203. package/Engines/engine.js.map +1 -1
  204. package/Engines/engineCapabilities.d.ts +4 -0
  205. package/Engines/engineCapabilities.js.map +1 -1
  206. package/Engines/index.d.ts +1 -0
  207. package/Engines/index.js +1 -0
  208. package/Engines/index.js.map +1 -1
  209. package/Engines/nativeEngine.d.ts +1 -0
  210. package/Engines/nativeEngine.js +40 -12
  211. package/Engines/nativeEngine.js.map +1 -1
  212. package/Engines/nullEngine.js +3 -1
  213. package/Engines/nullEngine.js.map +1 -1
  214. package/Engines/renderTargetWrapper.d.ts +8 -0
  215. package/Engines/renderTargetWrapper.js +20 -0
  216. package/Engines/renderTargetWrapper.js.map +1 -1
  217. package/Engines/thinEngine.d.ts +18 -2
  218. package/Engines/thinEngine.js +51 -21
  219. package/Engines/thinEngine.js.map +1 -1
  220. package/Engines/webgpuEngine.d.ts +3 -7
  221. package/Engines/webgpuEngine.js +43 -42
  222. package/Engines/webgpuEngine.js.map +1 -1
  223. package/Events/keyboardEvents.d.ts +7 -1
  224. package/Events/keyboardEvents.js +11 -1
  225. package/Events/keyboardEvents.js.map +1 -1
  226. package/Gamepads/Controllers/daydreamController.js +1 -1
  227. package/Gamepads/Controllers/daydreamController.js.map +1 -1
  228. package/Gamepads/Controllers/oculusTouchController.js +2 -2
  229. package/Gamepads/Controllers/oculusTouchController.js.map +1 -1
  230. package/Gamepads/Controllers/webVRController.d.ts +1 -0
  231. package/Gamepads/Controllers/webVRController.js +1 -0
  232. package/Gamepads/Controllers/webVRController.js.map +1 -1
  233. package/Gamepads/gamepadManager.js +1 -1
  234. package/Gamepads/gamepadManager.js.map +1 -1
  235. package/Gizmos/boundingBoxGizmo.js +0 -10
  236. package/Gizmos/boundingBoxGizmo.js.map +1 -1
  237. package/Gizmos/gizmo.js +1 -1
  238. package/Gizmos/gizmo.js.map +1 -1
  239. package/Gizmos/gizmoManager.d.ts +2 -0
  240. package/Gizmos/gizmoManager.js +28 -24
  241. package/Gizmos/gizmoManager.js.map +1 -1
  242. package/Helpers/sceneHelpers.d.ts +1 -0
  243. package/Helpers/sceneHelpers.js.map +1 -1
  244. package/Inputs/scene.inputManager.d.ts +2 -3
  245. package/Inputs/scene.inputManager.js +14 -16
  246. package/Inputs/scene.inputManager.js.map +1 -1
  247. package/Instrumentation/sceneInstrumentation.js +2 -2
  248. package/Instrumentation/sceneInstrumentation.js.map +1 -1
  249. package/Layers/effectLayer.d.ts +2 -1
  250. package/Layers/effectLayer.js +25 -1
  251. package/Layers/effectLayer.js.map +1 -1
  252. package/Layers/effectLayerSceneComponent.d.ts +1 -1
  253. package/Layers/effectLayerSceneComponent.js +7 -3
  254. package/Layers/effectLayerSceneComponent.js.map +1 -1
  255. package/Layers/glowLayer.d.ts +1 -1
  256. package/Layers/glowLayer.js.map +1 -1
  257. package/Layers/highlightLayer.d.ts +1 -1
  258. package/Layers/highlightLayer.js +2 -1
  259. package/Layers/highlightLayer.js.map +1 -1
  260. package/Layers/layer.d.ts +2 -2
  261. package/Layers/layer.js.map +1 -1
  262. package/Layers/layerSceneComponent.d.ts +1 -1
  263. package/Layers/layerSceneComponent.js +7 -3
  264. package/Layers/layerSceneComponent.js.map +1 -1
  265. package/Lights/Shadows/cascadedShadowGenerator.js +2 -2
  266. package/Lights/Shadows/cascadedShadowGenerator.js.map +1 -1
  267. package/Lights/Shadows/shadowGenerator.js +7 -7
  268. package/Lights/Shadows/shadowGenerator.js.map +1 -1
  269. package/Loading/Plugins/babylonFileLoader.js +115 -37
  270. package/Loading/Plugins/babylonFileLoader.js.map +1 -1
  271. package/Loading/loadingScreen.js +8 -8
  272. package/Loading/loadingScreen.js.map +1 -1
  273. package/Loading/sceneLoader.js +7 -6
  274. package/Loading/sceneLoader.js.map +1 -1
  275. package/Materials/Background/backgroundMaterial.d.ts +1 -1
  276. package/Materials/Background/backgroundMaterial.js.map +1 -1
  277. package/Materials/Node/Blocks/Dual/clipPlanesBlock.d.ts +37 -0
  278. package/Materials/Node/Blocks/Dual/clipPlanesBlock.js +117 -0
  279. package/Materials/Node/Blocks/Dual/clipPlanesBlock.js.map +1 -0
  280. package/Materials/Node/Blocks/Dual/currentScreenBlock.js +12 -12
  281. package/Materials/Node/Blocks/Dual/currentScreenBlock.js.map +1 -1
  282. package/Materials/Node/Blocks/Dual/fogBlock.js +5 -5
  283. package/Materials/Node/Blocks/Dual/fogBlock.js.map +1 -1
  284. package/Materials/Node/Blocks/Dual/imageSourceBlock.js +13 -13
  285. package/Materials/Node/Blocks/Dual/imageSourceBlock.js.map +1 -1
  286. package/Materials/Node/Blocks/Dual/index.d.ts +1 -0
  287. package/Materials/Node/Blocks/Dual/index.js +1 -0
  288. package/Materials/Node/Blocks/Dual/index.js.map +1 -1
  289. package/Materials/Node/Blocks/Dual/lightBlock.js +10 -10
  290. package/Materials/Node/Blocks/Dual/lightBlock.js.map +1 -1
  291. package/Materials/Node/Blocks/Dual/reflectionTextureBaseBlock.js +28 -28
  292. package/Materials/Node/Blocks/Dual/reflectionTextureBaseBlock.js.map +1 -1
  293. package/Materials/Node/Blocks/Dual/reflectionTextureBlock.js +1 -1
  294. package/Materials/Node/Blocks/Dual/reflectionTextureBlock.js.map +1 -1
  295. package/Materials/Node/Blocks/Dual/sceneDepthBlock.js +7 -7
  296. package/Materials/Node/Blocks/Dual/sceneDepthBlock.js.map +1 -1
  297. package/Materials/Node/Blocks/Dual/textureBlock.js +32 -32
  298. package/Materials/Node/Blocks/Dual/textureBlock.js.map +1 -1
  299. package/Materials/Node/Blocks/Fragment/derivativeBlock.js +2 -2
  300. package/Materials/Node/Blocks/Fragment/derivativeBlock.js.map +1 -1
  301. package/Materials/Node/Blocks/Fragment/discardBlock.js +1 -1
  302. package/Materials/Node/Blocks/Fragment/discardBlock.js.map +1 -1
  303. package/Materials/Node/Blocks/Fragment/fragCoordBlock.js +1 -1
  304. package/Materials/Node/Blocks/Fragment/fragCoordBlock.js.map +1 -1
  305. package/Materials/Node/Blocks/Fragment/fragmentOutputBlock.js +10 -10
  306. package/Materials/Node/Blocks/Fragment/fragmentOutputBlock.js.map +1 -1
  307. package/Materials/Node/Blocks/Fragment/imageProcessingBlock.js +7 -7
  308. package/Materials/Node/Blocks/Fragment/imageProcessingBlock.js.map +1 -1
  309. package/Materials/Node/Blocks/Fragment/perturbNormalBlock.js +12 -12
  310. package/Materials/Node/Blocks/Fragment/perturbNormalBlock.js.map +1 -1
  311. package/Materials/Node/Blocks/Fragment/screenSizeBlock.js +1 -1
  312. package/Materials/Node/Blocks/Fragment/screenSizeBlock.js.map +1 -1
  313. package/Materials/Node/Blocks/Fragment/screenSpaceBlock.js +7 -7
  314. package/Materials/Node/Blocks/Fragment/screenSpaceBlock.js.map +1 -1
  315. package/Materials/Node/Blocks/Fragment/twirlBlock.js +4 -4
  316. package/Materials/Node/Blocks/Fragment/twirlBlock.js.map +1 -1
  317. package/Materials/Node/Blocks/Input/inputBlock.d.ts +2 -1
  318. package/Materials/Node/Blocks/Input/inputBlock.js +29 -24
  319. package/Materials/Node/Blocks/Input/inputBlock.js.map +1 -1
  320. package/Materials/Node/Blocks/PBR/anisotropyBlock.js +5 -5
  321. package/Materials/Node/Blocks/PBR/anisotropyBlock.js.map +1 -1
  322. package/Materials/Node/Blocks/PBR/clearCoatBlock.js +5 -5
  323. package/Materials/Node/Blocks/PBR/clearCoatBlock.js.map +1 -1
  324. package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.js +33 -33
  325. package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.js.map +1 -1
  326. package/Materials/Node/Blocks/PBR/reflectionBlock.js +11 -11
  327. package/Materials/Node/Blocks/PBR/reflectionBlock.js.map +1 -1
  328. package/Materials/Node/Blocks/PBR/refractionBlock.js +11 -11
  329. package/Materials/Node/Blocks/PBR/refractionBlock.js.map +1 -1
  330. package/Materials/Node/Blocks/PBR/sheenBlock.js +3 -3
  331. package/Materials/Node/Blocks/PBR/sheenBlock.js.map +1 -1
  332. package/Materials/Node/Blocks/PBR/subSurfaceBlock.js +1 -1
  333. package/Materials/Node/Blocks/PBR/subSurfaceBlock.js.map +1 -1
  334. package/Materials/Node/Blocks/Particle/particleBlendMultiplyBlock.js +1 -1
  335. package/Materials/Node/Blocks/Particle/particleBlendMultiplyBlock.js.map +1 -1
  336. package/Materials/Node/Blocks/Particle/particleRampGradientBlock.js +1 -1
  337. package/Materials/Node/Blocks/Particle/particleRampGradientBlock.js.map +1 -1
  338. package/Materials/Node/Blocks/Particle/particleTextureBlock.js +7 -7
  339. package/Materials/Node/Blocks/Particle/particleTextureBlock.js.map +1 -1
  340. package/Materials/Node/Blocks/Vertex/bonesBlock.js +3 -3
  341. package/Materials/Node/Blocks/Vertex/bonesBlock.js.map +1 -1
  342. package/Materials/Node/Blocks/Vertex/instancesBlock.js +3 -3
  343. package/Materials/Node/Blocks/Vertex/instancesBlock.js.map +1 -1
  344. package/Materials/Node/Blocks/Vertex/lightInformationBlock.js +5 -5
  345. package/Materials/Node/Blocks/Vertex/lightInformationBlock.js.map +1 -1
  346. package/Materials/Node/Blocks/Vertex/morphTargetsBlock.js +16 -16
  347. package/Materials/Node/Blocks/Vertex/morphTargetsBlock.js.map +1 -1
  348. package/Materials/Node/Blocks/Vertex/vertexOutputBlock.js +1 -1
  349. package/Materials/Node/Blocks/Vertex/vertexOutputBlock.js.map +1 -1
  350. package/Materials/Node/Blocks/addBlock.js +1 -1
  351. package/Materials/Node/Blocks/addBlock.js.map +1 -1
  352. package/Materials/Node/Blocks/arcTan2Block.js +1 -1
  353. package/Materials/Node/Blocks/arcTan2Block.js.map +1 -1
  354. package/Materials/Node/Blocks/clampBlock.js +3 -3
  355. package/Materials/Node/Blocks/clampBlock.js.map +1 -1
  356. package/Materials/Node/Blocks/cloudBlock.js +7 -7
  357. package/Materials/Node/Blocks/cloudBlock.js.map +1 -1
  358. package/Materials/Node/Blocks/colorMergerBlock.js +8 -8
  359. package/Materials/Node/Blocks/colorMergerBlock.js.map +1 -1
  360. package/Materials/Node/Blocks/colorSplitterBlock.js +5 -5
  361. package/Materials/Node/Blocks/colorSplitterBlock.js.map +1 -1
  362. package/Materials/Node/Blocks/conditionalBlock.js +10 -10
  363. package/Materials/Node/Blocks/conditionalBlock.js.map +1 -1
  364. package/Materials/Node/Blocks/crossBlock.js +1 -1
  365. package/Materials/Node/Blocks/crossBlock.js.map +1 -1
  366. package/Materials/Node/Blocks/customBlock.js +1 -1
  367. package/Materials/Node/Blocks/customBlock.js.map +1 -1
  368. package/Materials/Node/Blocks/desaturateBlock.js +4 -4
  369. package/Materials/Node/Blocks/desaturateBlock.js.map +1 -1
  370. package/Materials/Node/Blocks/distanceBlock.js +1 -1
  371. package/Materials/Node/Blocks/distanceBlock.js.map +1 -1
  372. package/Materials/Node/Blocks/divideBlock.js +1 -1
  373. package/Materials/Node/Blocks/divideBlock.js.map +1 -1
  374. package/Materials/Node/Blocks/dotBlock.js +1 -1
  375. package/Materials/Node/Blocks/dotBlock.js.map +1 -1
  376. package/Materials/Node/Blocks/elbowBlock.d.ts +27 -0
  377. package/Materials/Node/Blocks/elbowBlock.js +60 -0
  378. package/Materials/Node/Blocks/elbowBlock.js.map +1 -0
  379. package/Materials/Node/Blocks/fresnelBlock.js +2 -2
  380. package/Materials/Node/Blocks/fresnelBlock.js.map +1 -1
  381. package/Materials/Node/Blocks/gradientBlock.js +8 -8
  382. package/Materials/Node/Blocks/gradientBlock.js.map +1 -1
  383. package/Materials/Node/Blocks/index.d.ts +1 -0
  384. package/Materials/Node/Blocks/index.js +1 -0
  385. package/Materials/Node/Blocks/index.js.map +1 -1
  386. package/Materials/Node/Blocks/lengthBlock.js +1 -1
  387. package/Materials/Node/Blocks/lengthBlock.js.map +1 -1
  388. package/Materials/Node/Blocks/lerpBlock.js +1 -1
  389. package/Materials/Node/Blocks/lerpBlock.js.map +1 -1
  390. package/Materials/Node/Blocks/matrixBuilderBlock.js +1 -1
  391. package/Materials/Node/Blocks/matrixBuilderBlock.js.map +1 -1
  392. package/Materials/Node/Blocks/maxBlock.js +1 -1
  393. package/Materials/Node/Blocks/maxBlock.js.map +1 -1
  394. package/Materials/Node/Blocks/minBlock.js +1 -1
  395. package/Materials/Node/Blocks/minBlock.js.map +1 -1
  396. package/Materials/Node/Blocks/modBlock.js +1 -1
  397. package/Materials/Node/Blocks/modBlock.js.map +1 -1
  398. package/Materials/Node/Blocks/multiplyBlock.js +1 -1
  399. package/Materials/Node/Blocks/multiplyBlock.js.map +1 -1
  400. package/Materials/Node/Blocks/nLerpBlock.js +1 -1
  401. package/Materials/Node/Blocks/nLerpBlock.js.map +1 -1
  402. package/Materials/Node/Blocks/negateBlock.js +1 -1
  403. package/Materials/Node/Blocks/negateBlock.js.map +1 -1
  404. package/Materials/Node/Blocks/normalBlendBlock.js +5 -5
  405. package/Materials/Node/Blocks/normalBlendBlock.js.map +1 -1
  406. package/Materials/Node/Blocks/normalizeBlock.js +1 -1
  407. package/Materials/Node/Blocks/normalizeBlock.js.map +1 -1
  408. package/Materials/Node/Blocks/oneMinusBlock.js +1 -1
  409. package/Materials/Node/Blocks/oneMinusBlock.js.map +1 -1
  410. package/Materials/Node/Blocks/posterizeBlock.js +1 -1
  411. package/Materials/Node/Blocks/posterizeBlock.js.map +1 -1
  412. package/Materials/Node/Blocks/powBlock.js +1 -1
  413. package/Materials/Node/Blocks/powBlock.js.map +1 -1
  414. package/Materials/Node/Blocks/randomNumberBlock.js +2 -2
  415. package/Materials/Node/Blocks/randomNumberBlock.js.map +1 -1
  416. package/Materials/Node/Blocks/reciprocalBlock.js +1 -1
  417. package/Materials/Node/Blocks/reciprocalBlock.js.map +1 -1
  418. package/Materials/Node/Blocks/reflectBlock.js +1 -1
  419. package/Materials/Node/Blocks/reflectBlock.js.map +1 -1
  420. package/Materials/Node/Blocks/refractBlock.js +1 -1
  421. package/Materials/Node/Blocks/refractBlock.js.map +1 -1
  422. package/Materials/Node/Blocks/remapBlock.js +3 -3
  423. package/Materials/Node/Blocks/remapBlock.js.map +1 -1
  424. package/Materials/Node/Blocks/replaceColorBlock.js +3 -3
  425. package/Materials/Node/Blocks/replaceColorBlock.js.map +1 -1
  426. package/Materials/Node/Blocks/rotate2dBlock.js +1 -1
  427. package/Materials/Node/Blocks/rotate2dBlock.js.map +1 -1
  428. package/Materials/Node/Blocks/scaleBlock.js +1 -1
  429. package/Materials/Node/Blocks/scaleBlock.js.map +1 -1
  430. package/Materials/Node/Blocks/simplexPerlin3DBlock.js +1 -1
  431. package/Materials/Node/Blocks/simplexPerlin3DBlock.js.map +1 -1
  432. package/Materials/Node/Blocks/smoothStepBlock.js +1 -1
  433. package/Materials/Node/Blocks/smoothStepBlock.js.map +1 -1
  434. package/Materials/Node/Blocks/stepBlock.js +1 -1
  435. package/Materials/Node/Blocks/stepBlock.js.map +1 -1
  436. package/Materials/Node/Blocks/subtractBlock.js +1 -1
  437. package/Materials/Node/Blocks/subtractBlock.js.map +1 -1
  438. package/Materials/Node/Blocks/transformBlock.js +13 -13
  439. package/Materials/Node/Blocks/transformBlock.js.map +1 -1
  440. package/Materials/Node/Blocks/trigonometryBlock.js +2 -2
  441. package/Materials/Node/Blocks/trigonometryBlock.js.map +1 -1
  442. package/Materials/Node/Blocks/vectorMergerBlock.js +22 -22
  443. package/Materials/Node/Blocks/vectorMergerBlock.js.map +1 -1
  444. package/Materials/Node/Blocks/vectorSplitterBlock.js +8 -8
  445. package/Materials/Node/Blocks/vectorSplitterBlock.js.map +1 -1
  446. package/Materials/Node/Blocks/viewDirectionBlock.js +1 -1
  447. package/Materials/Node/Blocks/viewDirectionBlock.js.map +1 -1
  448. package/Materials/Node/Blocks/voronoiNoiseBlock.js +5 -5
  449. package/Materials/Node/Blocks/voronoiNoiseBlock.js.map +1 -1
  450. package/Materials/Node/Blocks/waveBlock.js +3 -3
  451. package/Materials/Node/Blocks/waveBlock.js.map +1 -1
  452. package/Materials/Node/Blocks/worleyNoise3DBlock.js +5 -5
  453. package/Materials/Node/Blocks/worleyNoise3DBlock.js.map +1 -1
  454. package/Materials/Node/Enums/nodeMaterialSystemValues.d.ts +3 -1
  455. package/Materials/Node/Enums/nodeMaterialSystemValues.js +2 -0
  456. package/Materials/Node/Enums/nodeMaterialSystemValues.js.map +1 -1
  457. package/Materials/Node/nodeMaterial.d.ts +4 -0
  458. package/Materials/Node/nodeMaterial.js +22 -11
  459. package/Materials/Node/nodeMaterial.js.map +1 -1
  460. package/Materials/Node/nodeMaterialBlock.js +12 -12
  461. package/Materials/Node/nodeMaterialBlock.js.map +1 -1
  462. package/Materials/Node/nodeMaterialBuildState.js +24 -24
  463. package/Materials/Node/nodeMaterialBuildState.js.map +1 -1
  464. package/Materials/Node/nodeMaterialBuildStateSharedData.js +1 -1
  465. package/Materials/Node/nodeMaterialBuildStateSharedData.js.map +1 -1
  466. package/Materials/PBR/pbrBaseMaterial.d.ts +2 -1
  467. package/Materials/PBR/pbrBaseMaterial.js +4 -3
  468. package/Materials/PBR/pbrBaseMaterial.js.map +1 -1
  469. package/Materials/PBR/pbrBaseSimpleMaterial.d.ts +1 -1
  470. package/Materials/PBR/pbrBaseSimpleMaterial.js.map +1 -1
  471. package/Materials/PBR/pbrMaterial.d.ts +1 -1
  472. package/Materials/PBR/pbrMaterial.js +2 -3
  473. package/Materials/PBR/pbrMaterial.js.map +1 -1
  474. package/Materials/PBR/pbrMetallicRoughnessMaterial.d.ts +1 -1
  475. package/Materials/PBR/pbrMetallicRoughnessMaterial.js.map +1 -1
  476. package/Materials/PBR/pbrSpecularGlossinessMaterial.d.ts +1 -1
  477. package/Materials/PBR/pbrSpecularGlossinessMaterial.js.map +1 -1
  478. package/Materials/Textures/Loaders/ddsTextureLoader.js +8 -1
  479. package/Materials/Textures/Loaders/ddsTextureLoader.js.map +1 -1
  480. package/Materials/Textures/Loaders/ktxTextureLoader.js +2 -2
  481. package/Materials/Textures/Loaders/ktxTextureLoader.js.map +1 -1
  482. package/Materials/Textures/MultiviewRenderTarget.d.ts +2 -1
  483. package/Materials/Textures/MultiviewRenderTarget.js +10 -2
  484. package/Materials/Textures/MultiviewRenderTarget.js.map +1 -1
  485. package/Materials/Textures/Procedurals/proceduralTexture.js +1 -1
  486. package/Materials/Textures/Procedurals/proceduralTexture.js.map +1 -1
  487. package/Materials/Textures/baseTexture.d.ts +1 -1
  488. package/Materials/Textures/baseTexture.js.map +1 -1
  489. package/Materials/Textures/dynamicTexture.d.ts +1 -1
  490. package/Materials/Textures/dynamicTexture.js.map +1 -1
  491. package/Materials/Textures/equiRectangularCubeTexture.js +1 -1
  492. package/Materials/Textures/equiRectangularCubeTexture.js.map +1 -1
  493. package/Materials/Textures/internalTexture.d.ts +2 -0
  494. package/Materials/Textures/internalTexture.js +2 -0
  495. package/Materials/Textures/internalTexture.js.map +1 -1
  496. package/Materials/Textures/mirrorTexture.d.ts +2 -2
  497. package/Materials/Textures/mirrorTexture.js +7 -3
  498. package/Materials/Textures/mirrorTexture.js.map +1 -1
  499. package/Materials/Textures/multiRenderTarget.d.ts +1 -1
  500. package/Materials/Textures/multiRenderTarget.js.map +1 -1
  501. package/Materials/Textures/prePassRenderTarget.d.ts +1 -1
  502. package/Materials/Textures/prePassRenderTarget.js.map +1 -1
  503. package/Materials/Textures/refractionTexture.d.ts +1 -1
  504. package/Materials/Textures/refractionTexture.js +2 -2
  505. package/Materials/Textures/refractionTexture.js.map +1 -1
  506. package/Materials/Textures/renderTargetTexture.d.ts +1 -1
  507. package/Materials/Textures/renderTargetTexture.js +2 -2
  508. package/Materials/Textures/renderTargetTexture.js.map +1 -1
  509. package/Materials/Textures/texture.d.ts +1 -1
  510. package/Materials/Textures/texture.js +5 -5
  511. package/Materials/Textures/texture.js.map +1 -1
  512. package/Materials/Textures/videoTexture.js +1 -0
  513. package/Materials/Textures/videoTexture.js.map +1 -1
  514. package/Materials/effect.js +3 -3
  515. package/Materials/effect.js.map +1 -1
  516. package/Materials/material.d.ts +3 -1
  517. package/Materials/material.js +11 -3
  518. package/Materials/material.js.map +1 -1
  519. package/Materials/materialHelper.js +9 -1
  520. package/Materials/materialHelper.js.map +1 -1
  521. package/Materials/materialPluginManager.js +3 -3
  522. package/Materials/materialPluginManager.js.map +1 -1
  523. package/Materials/multiMaterial.d.ts +3 -1
  524. package/Materials/multiMaterial.js +13 -11
  525. package/Materials/multiMaterial.js.map +1 -1
  526. package/Materials/pushMaterial.d.ts +1 -1
  527. package/Materials/pushMaterial.js.map +1 -1
  528. package/Materials/shaderMaterial.js +8 -4
  529. package/Materials/shaderMaterial.js.map +1 -1
  530. package/Materials/shadowDepthWrapper.d.ts +1 -1
  531. package/Materials/shadowDepthWrapper.js +3 -3
  532. package/Materials/shadowDepthWrapper.js.map +1 -1
  533. package/Materials/standardMaterial.d.ts +2 -6
  534. package/Materials/standardMaterial.js +5 -10
  535. package/Materials/standardMaterial.js.map +1 -1
  536. package/Maths/math.path.d.ts +1 -0
  537. package/Maths/math.path.js +1 -0
  538. package/Maths/math.path.js.map +1 -1
  539. package/Maths/math.size.js +1 -1
  540. package/Maths/math.size.js.map +1 -1
  541. package/Maths/math.vector.d.ts +5 -2
  542. package/Maths/math.vector.js +66 -47
  543. package/Maths/math.vector.js.map +1 -1
  544. package/Meshes/Builders/boxBuilder.js +5 -4
  545. package/Meshes/Builders/boxBuilder.js.map +1 -1
  546. package/Meshes/Builders/capsuleBuilder.js +4 -3
  547. package/Meshes/Builders/capsuleBuilder.js.map +1 -1
  548. package/Meshes/Builders/cylinderBuilder.d.ts +1 -1
  549. package/Meshes/Builders/cylinderBuilder.js +11 -8
  550. package/Meshes/Builders/cylinderBuilder.js.map +1 -1
  551. package/Meshes/Builders/decalBuilder.js +5 -2
  552. package/Meshes/Builders/decalBuilder.js.map +1 -1
  553. package/Meshes/Builders/discBuilder.js +3 -2
  554. package/Meshes/Builders/discBuilder.js.map +1 -1
  555. package/Meshes/Builders/geodesicBuilder.d.ts +1 -0
  556. package/Meshes/Builders/geodesicBuilder.js +1 -0
  557. package/Meshes/Builders/geodesicBuilder.js.map +1 -1
  558. package/Meshes/Builders/goldbergBuilder.d.ts +1 -0
  559. package/Meshes/Builders/goldbergBuilder.js +11 -1
  560. package/Meshes/Builders/goldbergBuilder.js.map +1 -1
  561. package/Meshes/Builders/groundBuilder.js +2 -1
  562. package/Meshes/Builders/groundBuilder.js.map +1 -1
  563. package/Meshes/Builders/icoSphereBuilder.js +2 -1
  564. package/Meshes/Builders/icoSphereBuilder.js.map +1 -1
  565. package/Meshes/Builders/linesBuilder.js.map +1 -1
  566. package/Meshes/Builders/planeBuilder.js +5 -4
  567. package/Meshes/Builders/planeBuilder.js.map +1 -1
  568. package/Meshes/Builders/polygonBuilder.js +8 -3
  569. package/Meshes/Builders/polygonBuilder.js.map +1 -1
  570. package/Meshes/Builders/polyhedronBuilder.js +3 -2
  571. package/Meshes/Builders/polyhedronBuilder.js.map +1 -1
  572. package/Meshes/Builders/ribbonBuilder.js +4 -3
  573. package/Meshes/Builders/ribbonBuilder.js.map +1 -1
  574. package/Meshes/Builders/sphereBuilder.js +2 -1
  575. package/Meshes/Builders/sphereBuilder.js.map +1 -1
  576. package/Meshes/Builders/tiledBoxBuilder.d.ts +30 -11
  577. package/Meshes/Builders/tiledBoxBuilder.js +34 -11
  578. package/Meshes/Builders/tiledBoxBuilder.js.map +1 -1
  579. package/Meshes/Builders/tiledPlaneBuilder.d.ts +21 -16
  580. package/Meshes/Builders/tiledPlaneBuilder.js +21 -16
  581. package/Meshes/Builders/tiledPlaneBuilder.js.map +1 -1
  582. package/Meshes/Builders/torusBuilder.js +2 -1
  583. package/Meshes/Builders/torusBuilder.js.map +1 -1
  584. package/Meshes/Builders/torusKnotBuilder.js +2 -1
  585. package/Meshes/Builders/torusKnotBuilder.js.map +1 -1
  586. package/Meshes/Compression/dracoCompression.d.ts +3 -0
  587. package/Meshes/Compression/dracoCompression.js +23 -7
  588. package/Meshes/Compression/dracoCompression.js.map +1 -1
  589. package/Meshes/abstractMesh.d.ts +14 -2
  590. package/Meshes/abstractMesh.js +51 -33
  591. package/Meshes/abstractMesh.js.map +1 -1
  592. package/Meshes/geometry.d.ts +1 -1
  593. package/Meshes/geometry.js +38 -3
  594. package/Meshes/geometry.js.map +1 -1
  595. package/Meshes/groundMesh.d.ts +1 -1
  596. package/Meshes/groundMesh.js.map +1 -1
  597. package/Meshes/instancedMesh.js +5 -6
  598. package/Meshes/instancedMesh.js.map +1 -1
  599. package/Meshes/mesh.d.ts +1 -1
  600. package/Meshes/mesh.js +53 -36
  601. package/Meshes/mesh.js.map +1 -1
  602. package/Meshes/mesh.lts.d.ts +1 -1
  603. package/Meshes/mesh.lts.js.map +1 -1
  604. package/Meshes/mesh.vertexData.d.ts +2 -2
  605. package/Meshes/mesh.vertexData.js +4 -3
  606. package/Meshes/mesh.vertexData.js.map +1 -1
  607. package/Meshes/polygonMesh.js +2 -2
  608. package/Meshes/polygonMesh.js.map +1 -1
  609. package/Meshes/subMesh.js +1 -2
  610. package/Meshes/subMesh.js.map +1 -1
  611. package/Meshes/subMesh.project.js +1 -2
  612. package/Meshes/subMesh.project.js.map +1 -1
  613. package/Meshes/thinInstanceMesh.js +5 -0
  614. package/Meshes/thinInstanceMesh.js.map +1 -1
  615. package/Meshes/trailMesh.d.ts +1 -1
  616. package/Meshes/trailMesh.js.map +1 -1
  617. package/Meshes/transformNode.js +40 -13
  618. package/Meshes/transformNode.js.map +1 -1
  619. package/Misc/HighDynamicRange/cubemapToSphericalPolynomial.d.ts +5 -0
  620. package/Misc/HighDynamicRange/cubemapToSphericalPolynomial.js +13 -2
  621. package/Misc/HighDynamicRange/cubemapToSphericalPolynomial.js.map +1 -1
  622. package/Misc/PerformanceViewer/performanceViewerCollectionStrategies.js +6 -12
  623. package/Misc/PerformanceViewer/performanceViewerCollectionStrategies.js.map +1 -1
  624. package/Misc/PerformanceViewer/performanceViewerCollector.js +36 -19
  625. package/Misc/PerformanceViewer/performanceViewerCollector.js.map +1 -1
  626. package/Misc/assetsManager.d.ts +2 -1
  627. package/Misc/assetsManager.js +15 -1
  628. package/Misc/assetsManager.js.map +1 -1
  629. package/Misc/basis.js +1 -1
  630. package/Misc/basis.js.map +1 -1
  631. package/Misc/brdfTextureTools.js +4 -1
  632. package/Misc/brdfTextureTools.js.map +1 -1
  633. package/Misc/dds.js +7 -0
  634. package/Misc/dds.js.map +1 -1
  635. package/Misc/decorators.d.ts +1 -1
  636. package/Misc/decorators.js +8 -1
  637. package/Misc/decorators.js.map +1 -1
  638. package/Misc/deepCopier.js +3 -3
  639. package/Misc/deepCopier.js.map +1 -1
  640. package/Misc/devTools.js +1 -1
  641. package/Misc/devTools.js.map +1 -1
  642. package/Misc/environmentTextureTools.js +2 -2
  643. package/Misc/environmentTextureTools.js.map +1 -1
  644. package/Misc/error.d.ts +51 -0
  645. package/Misc/error.js +66 -0
  646. package/Misc/error.js.map +1 -0
  647. package/Misc/fileTools.d.ts +4 -4
  648. package/Misc/fileTools.js +14 -12
  649. package/Misc/fileTools.js.map +1 -1
  650. package/Misc/index.d.ts +2 -0
  651. package/Misc/index.js +2 -0
  652. package/Misc/index.js.map +1 -1
  653. package/Misc/khronosTextureContainer2.js +4 -3
  654. package/Misc/khronosTextureContainer2.js.map +1 -1
  655. package/Misc/reflector.js +6 -6
  656. package/Misc/reflector.js.map +1 -1
  657. package/Misc/tools.js +15 -13
  658. package/Misc/tools.js.map +1 -1
  659. package/Misc/uniqueIdGenerator.js +1 -1
  660. package/Misc/uniqueIdGenerator.js.map +1 -1
  661. package/Offline/database.js +1 -1
  662. package/Offline/database.js.map +1 -1
  663. package/Particles/baseParticleSystem.d.ts +4 -1
  664. package/Particles/baseParticleSystem.js +20 -5
  665. package/Particles/baseParticleSystem.js.map +1 -1
  666. package/Particles/gpuParticleSystem.js +2 -1
  667. package/Particles/gpuParticleSystem.js.map +1 -1
  668. package/Particles/particleHelper.js +2 -2
  669. package/Particles/particleHelper.js.map +1 -1
  670. package/Particles/particleSystem.js +7 -1
  671. package/Particles/particleSystem.js.map +1 -1
  672. package/Physics/Plugins/ammoJSPlugin.d.ts +5 -1
  673. package/Physics/Plugins/ammoJSPlugin.js +16 -11
  674. package/Physics/Plugins/ammoJSPlugin.js.map +1 -1
  675. package/Physics/physicsEngine.d.ts +1 -0
  676. package/Physics/physicsEngine.js +3 -1
  677. package/Physics/physicsEngine.js.map +1 -1
  678. package/Physics/physicsImpostor.d.ts +2 -2
  679. package/Physics/physicsImpostor.js.map +1 -1
  680. package/PostProcesses/blurPostProcess.js +5 -5
  681. package/PostProcesses/blurPostProcess.js.map +1 -1
  682. package/PostProcesses/imageProcessingPostProcess.js +1 -1
  683. package/PostProcesses/imageProcessingPostProcess.js.map +1 -1
  684. package/PostProcesses/postProcess.js +1 -1
  685. package/PostProcesses/postProcess.js.map +1 -1
  686. package/PostProcesses/postProcessManager.js +2 -2
  687. package/PostProcesses/postProcessManager.js.map +1 -1
  688. package/Probes/reflectionProbe.js +2 -2
  689. package/Probes/reflectionProbe.js.map +1 -1
  690. package/Rendering/depthPeelingRenderer.js +3 -3
  691. package/Rendering/depthPeelingRenderer.js.map +1 -1
  692. package/Rendering/geometryBufferRenderer.js +8 -8
  693. package/Rendering/geometryBufferRenderer.js.map +1 -1
  694. package/Rendering/outlineRenderer.js +1 -1
  695. package/Rendering/outlineRenderer.js.map +1 -1
  696. package/Rendering/subSurfaceConfiguration.js +1 -1
  697. package/Rendering/subSurfaceConfiguration.js.map +1 -1
  698. package/Rendering/utilityLayerRenderer.js +4 -0
  699. package/Rendering/utilityLayerRenderer.js.map +1 -1
  700. package/Shaders/ShadersInclude/instancesDeclaration.js +1 -1
  701. package/Shaders/ShadersInclude/instancesDeclaration.js.map +1 -1
  702. package/Shaders/ShadersInclude/pbrBlockAlbedoOpacity.js +1 -1
  703. package/Shaders/ShadersInclude/pbrBlockAlbedoOpacity.js.map +1 -1
  704. package/Shaders/ShadersInclude/pbrFragmentExtraDeclaration.js +1 -1
  705. package/Shaders/ShadersInclude/pbrFragmentExtraDeclaration.js.map +1 -1
  706. package/Shaders/ShadersInclude/pointCloudVertex.js +1 -1
  707. package/Shaders/ShadersInclude/pointCloudVertex.js.map +1 -1
  708. package/Shaders/ShadersInclude/prePassVertex.js +1 -1
  709. package/Shaders/ShadersInclude/prePassVertex.js.map +1 -1
  710. package/Shaders/background.vertex.js +1 -1
  711. package/Shaders/background.vertex.js.map +1 -1
  712. package/Shaders/color.fragment.js +1 -1
  713. package/Shaders/color.fragment.js.map +1 -1
  714. package/Shaders/color.vertex.js +1 -1
  715. package/Shaders/color.vertex.js.map +1 -1
  716. package/Shaders/default.fragment.js +1 -1
  717. package/Shaders/default.fragment.js.map +1 -1
  718. package/Shaders/default.vertex.js +1 -1
  719. package/Shaders/default.vertex.js.map +1 -1
  720. package/Shaders/geometry.vertex.js +1 -1
  721. package/Shaders/geometry.vertex.js.map +1 -1
  722. package/Shaders/pbr.fragment.js +1 -1
  723. package/Shaders/pbr.fragment.js.map +1 -1
  724. package/Shaders/pbr.vertex.js +1 -1
  725. package/Shaders/pbr.vertex.js.map +1 -1
  726. package/ShadersWGSL/ShadersInclude/instancesDeclaration.js +1 -1
  727. package/ShadersWGSL/ShadersInclude/instancesDeclaration.js.map +1 -1
  728. package/ShadersWGSL/gpuUpdateParticles.compute.js +1 -1
  729. package/ShadersWGSL/gpuUpdateParticles.compute.js.map +1 -1
  730. package/Sprites/spriteManager.js +9 -10
  731. package/Sprites/spriteManager.js.map +1 -1
  732. package/Sprites/spriteMap.js +2 -2
  733. package/Sprites/spriteMap.js.map +1 -1
  734. package/Sprites/spriteRenderer.js +1 -1
  735. package/Sprites/spriteRenderer.js.map +1 -1
  736. package/XR/features/WebXRControllerPointerSelection.js +15 -9
  737. package/XR/features/WebXRControllerPointerSelection.js.map +1 -1
  738. package/XR/features/WebXRDOMOverlay.js +1 -1
  739. package/XR/features/WebXRDOMOverlay.js.map +1 -1
  740. package/XR/features/WebXRHandTracking.js +30 -30
  741. package/XR/features/WebXRHandTracking.js.map +1 -1
  742. package/XR/features/WebXRImageTracking.js +2 -2
  743. package/XR/features/WebXRImageTracking.js.map +1 -1
  744. package/XR/features/WebXRLayers.d.ts +28 -5
  745. package/XR/features/WebXRLayers.js +54 -20
  746. package/XR/features/WebXRLayers.js.map +1 -1
  747. package/XR/features/WebXRNearInteraction.d.ts +35 -3
  748. package/XR/features/WebXRNearInteraction.js +201 -40
  749. package/XR/features/WebXRNearInteraction.js.map +1 -1
  750. package/XR/motionController/webXRAbstractMotionController.js +1 -1
  751. package/XR/motionController/webXRAbstractMotionController.js.map +1 -1
  752. package/XR/motionController/webXRMotionControllerManager.js +2 -2
  753. package/XR/motionController/webXRMotionControllerManager.js.map +1 -1
  754. package/XR/motionController/webXRProfiledMotionController.js +1 -1
  755. package/XR/motionController/webXRProfiledMotionController.js.map +1 -1
  756. package/XR/webXRCamera.js +17 -4
  757. package/XR/webXRCamera.js.map +1 -1
  758. package/XR/webXRDefaultExperience.js +3 -0
  759. package/XR/webXRDefaultExperience.js.map +1 -1
  760. package/XR/webXREnterExitUI.js +2 -2
  761. package/XR/webXREnterExitUI.js.map +1 -1
  762. package/XR/webXRExperienceHelper.js +3 -2
  763. package/XR/webXRExperienceHelper.js.map +1 -1
  764. package/XR/webXRFeaturesManager.js +6 -6
  765. package/XR/webXRFeaturesManager.js.map +1 -1
  766. package/XR/webXRInputSource.js +3 -3
  767. package/XR/webXRInputSource.js.map +1 -1
  768. package/XR/webXRRenderTargetTextureProvider.d.ts +3 -2
  769. package/XR/webXRRenderTargetTextureProvider.js +37 -18
  770. package/XR/webXRRenderTargetTextureProvider.js.map +1 -1
  771. package/XR/webXRSessionManager.d.ts +1 -0
  772. package/XR/webXRSessionManager.js +7 -2
  773. package/XR/webXRSessionManager.js.map +1 -1
  774. package/assetContainer.d.ts +1 -1
  775. package/assetContainer.js +5 -4
  776. package/assetContainer.js.map +1 -1
  777. package/index.d.ts +1 -0
  778. package/index.js +1 -0
  779. package/index.js.map +1 -1
  780. package/node.d.ts +1 -1
  781. package/node.js.map +1 -1
  782. package/package.json +31 -16
  783. package/scene.d.ts +5 -2
  784. package/scene.js +46 -19
  785. package/scene.js.map +1 -1
  786. package/types.d.ts +1 -1
  787. package/types.js.map +1 -1
  788. package/DeviceInput/Implementations/nativeDeviceInputSystem.js.map +0 -1
  789. package/DeviceInput/Implementations/webDeviceInputSystem.js.map +0 -1
  790. package/DeviceInput/Interfaces/inputInterfaces.js.map +0 -1
  791. package/DeviceInput/deviceInputSystem.d.ts +0 -60
  792. package/DeviceInput/deviceInputSystem.js +0 -84
  793. package/DeviceInput/deviceInputSystem.js.map +0 -1
  794. package/Misc/baseError.d.ts +0 -7
  795. package/Misc/baseError.js +0 -18
  796. package/Misc/baseError.js.map +0 -1
@@ -3,6 +3,9 @@ import { Epsilon } from './math.constants.js';
3
3
  import { ArrayTools } from '../Misc/arrayTools.js';
4
4
  import { RegisterClass } from '../Misc/typeStore.js';
5
5
  import { PerformanceConfigurator } from '../Engines/performanceConfigurator.js';
6
+ var _ExtractAsInt = function (value) {
7
+ return parseInt(value.toString().replace(/\W/g, ""));
8
+ };
6
9
  /**
7
10
  * Class representing a vector containing 2 coordinates
8
11
  */
@@ -27,7 +30,7 @@ var Vector2 = /** @class */ (function () {
27
30
  * @returns a string with the Vector2 coordinates
28
31
  */
29
32
  Vector2.prototype.toString = function () {
30
- return "{X: " + this.x + " Y: " + this.y + "}";
33
+ return "{X: ".concat(this.x, " Y: ").concat(this.y, "}");
31
34
  };
32
35
  /**
33
36
  * Gets class name
@@ -41,8 +44,10 @@ var Vector2 = /** @class */ (function () {
41
44
  * @returns the Vector2 hash code as a number
42
45
  */
43
46
  Vector2.prototype.getHashCode = function () {
44
- var hash = this.x | 0;
45
- hash = (hash * 397) ^ (this.y | 0);
47
+ var x = _ExtractAsInt(this.x);
48
+ var y = _ExtractAsInt(this.y);
49
+ var hash = x;
50
+ hash = (hash * 397) ^ y;
46
51
  return hash;
47
52
  };
48
53
  // Operators
@@ -732,7 +737,7 @@ var Vector3 = /** @class */ (function () {
732
737
  * @returns a string with the Vector3 coordinates.
733
738
  */
734
739
  Vector3.prototype.toString = function () {
735
- return "{X: " + this._x + " Y: " + this._y + " Z: " + this._z + "}";
740
+ return "{X: ".concat(this._x, " Y: ").concat(this._y, " Z: ").concat(this._z, "}");
736
741
  };
737
742
  /**
738
743
  * Gets the class name
@@ -746,9 +751,12 @@ var Vector3 = /** @class */ (function () {
746
751
  * @returns a number which tends to be unique between Vector3 instances
747
752
  */
748
753
  Vector3.prototype.getHashCode = function () {
749
- var hash = this._x | 0;
750
- hash = (hash * 397) ^ (this._y | 0);
751
- hash = (hash * 397) ^ (this._z | 0);
754
+ var x = _ExtractAsInt(this._x);
755
+ var y = _ExtractAsInt(this._y);
756
+ var z = _ExtractAsInt(this._z);
757
+ var hash = x;
758
+ hash = (hash * 397) ^ y;
759
+ hash = (hash * 397) ^ z;
752
760
  return hash;
753
761
  };
754
762
  // Operators
@@ -2190,6 +2198,7 @@ var Vector3 = /** @class */ (function () {
2190
2198
  * @param axis2 defines the second axis
2191
2199
  * @param axis3 defines the third axis
2192
2200
  * @returns a new Vector3
2201
+ * @see https://doc.babylonjs.com/divingDeeper/mesh/transforms/center_origin/target_align
2193
2202
  */
2194
2203
  Vector3.RotationFromAxis = function (axis1, axis2, axis3) {
2195
2204
  var rotation = Vector3.Zero();
@@ -2246,7 +2255,7 @@ var Vector4 = /** @class */ (function () {
2246
2255
  * @returns a string containing all the vector values
2247
2256
  */
2248
2257
  Vector4.prototype.toString = function () {
2249
- return "{X: " + this.x + " Y: " + this.y + " Z: " + this.z + " W: " + this.w + "}";
2258
+ return "{X: ".concat(this.x, " Y: ").concat(this.y, " Z: ").concat(this.z, " W: ").concat(this.w, "}");
2250
2259
  };
2251
2260
  /**
2252
2261
  * Returns the string "Vector4".
@@ -2260,10 +2269,14 @@ var Vector4 = /** @class */ (function () {
2260
2269
  * @returns a unique hash code
2261
2270
  */
2262
2271
  Vector4.prototype.getHashCode = function () {
2263
- var hash = this.x | 0;
2264
- hash = (hash * 397) ^ (this.y | 0);
2265
- hash = (hash * 397) ^ (this.z | 0);
2266
- hash = (hash * 397) ^ (this.w | 0);
2272
+ var x = _ExtractAsInt(this.x);
2273
+ var y = _ExtractAsInt(this.y);
2274
+ var z = _ExtractAsInt(this.z);
2275
+ var w = _ExtractAsInt(this.w);
2276
+ var hash = x;
2277
+ hash = (hash * 397) ^ y;
2278
+ hash = (hash * 397) ^ z;
2279
+ hash = (hash * 397) ^ w;
2267
2280
  return hash;
2268
2281
  };
2269
2282
  // Operators
@@ -3045,7 +3058,7 @@ var Quaternion = /** @class */ (function () {
3045
3058
  * @returns a string with the Quaternion coordinates
3046
3059
  */
3047
3060
  Quaternion.prototype.toString = function () {
3048
- return "{X: " + this._x + " Y: " + this._y + " Z: " + this._z + " W: " + this._w + "}";
3061
+ return "{X: ".concat(this._x, " Y: ").concat(this._y, " Z: ").concat(this._z, " W: ").concat(this._w, "}");
3049
3062
  };
3050
3063
  /**
3051
3064
  * Gets the class name of the quaternion
@@ -3059,10 +3072,14 @@ var Quaternion = /** @class */ (function () {
3059
3072
  * @returns the quaternion hash code
3060
3073
  */
3061
3074
  Quaternion.prototype.getHashCode = function () {
3062
- var hash = this._x | 0;
3063
- hash = (hash * 397) ^ (this._y | 0);
3064
- hash = (hash * 397) ^ (this._z | 0);
3065
- hash = (hash * 397) ^ (this._w | 0);
3075
+ var x = _ExtractAsInt(this._x);
3076
+ var y = _ExtractAsInt(this._y);
3077
+ var z = _ExtractAsInt(this._z);
3078
+ var w = _ExtractAsInt(this._w);
3079
+ var hash = x;
3080
+ hash = (hash * 397) ^ y;
3081
+ hash = (hash * 397) ^ z;
3082
+ hash = (hash * 397) ^ w;
3066
3083
  return hash;
3067
3084
  };
3068
3085
  /**
@@ -3855,7 +3872,7 @@ var Matrix = /** @class */ (function () {
3855
3872
  PerformanceConfigurator.MatrixTrackedMatrices.push(this);
3856
3873
  }
3857
3874
  this._m = new PerformanceConfigurator.MatrixCurrentType(16);
3858
- this._markAsUpdated();
3875
+ this.markAsUpdated();
3859
3876
  }
3860
3877
  Object.defineProperty(Matrix, "Use64Bits", {
3861
3878
  /**
@@ -3875,8 +3892,10 @@ var Matrix = /** @class */ (function () {
3875
3892
  enumerable: false,
3876
3893
  configurable: true
3877
3894
  });
3878
- /** @hidden */
3879
- Matrix.prototype._markAsUpdated = function () {
3895
+ /**
3896
+ * Update the updateFlag to indicate that the matrix has been updated
3897
+ */
3898
+ Matrix.prototype.markAsUpdated = function () {
3880
3899
  this.updateFlag = Matrix._updateFlagSeed++;
3881
3900
  this._isIdentity = false;
3882
3901
  this._isIdentity3x2 = false;
@@ -4019,7 +4038,7 @@ var Matrix = /** @class */ (function () {
4019
4038
  for (var index = 0; index < 16; index++) {
4020
4039
  resultM[index] = m[index] + otherM[index];
4021
4040
  }
4022
- result._markAsUpdated();
4041
+ result.markAsUpdated();
4023
4042
  return this;
4024
4043
  };
4025
4044
  /**
@@ -4033,7 +4052,7 @@ var Matrix = /** @class */ (function () {
4033
4052
  for (var index = 0; index < 16; index++) {
4034
4053
  m[index] += otherM[index];
4035
4054
  }
4036
- this._markAsUpdated();
4055
+ this.markAsUpdated();
4037
4056
  return this;
4038
4057
  };
4039
4058
  /**
@@ -4104,7 +4123,7 @@ var Matrix = /** @class */ (function () {
4104
4123
  */
4105
4124
  Matrix.prototype.addAtIndex = function (index, value) {
4106
4125
  this._m[index] += value;
4107
- this._markAsUpdated();
4126
+ this.markAsUpdated();
4108
4127
  return this;
4109
4128
  };
4110
4129
  /**
@@ -4115,7 +4134,7 @@ var Matrix = /** @class */ (function () {
4115
4134
  */
4116
4135
  Matrix.prototype.multiplyAtIndex = function (index, value) {
4117
4136
  this._m[index] *= value;
4118
- this._markAsUpdated();
4137
+ this.markAsUpdated();
4119
4138
  return this;
4120
4139
  };
4121
4140
  /**
@@ -4129,7 +4148,7 @@ var Matrix = /** @class */ (function () {
4129
4148
  this._m[12] = x;
4130
4149
  this._m[13] = y;
4131
4150
  this._m[14] = z;
4132
- this._markAsUpdated();
4151
+ this.markAsUpdated();
4133
4152
  return this;
4134
4153
  };
4135
4154
  /**
@@ -4143,7 +4162,7 @@ var Matrix = /** @class */ (function () {
4143
4162
  this._m[12] += x;
4144
4163
  this._m[13] += y;
4145
4164
  this._m[14] += z;
4146
- this._markAsUpdated();
4165
+ this.markAsUpdated();
4147
4166
  return this;
4148
4167
  };
4149
4168
  /**
@@ -4247,7 +4266,7 @@ var Matrix = /** @class */ (function () {
4247
4266
  return this;
4248
4267
  }
4249
4268
  this.multiplyToArray(other, result._m, 0);
4250
- result._markAsUpdated();
4269
+ result.markAsUpdated();
4251
4270
  return this;
4252
4271
  };
4253
4272
  /**
@@ -4329,9 +4348,9 @@ var Matrix = /** @class */ (function () {
4329
4348
  * @returns the hash code
4330
4349
  */
4331
4350
  Matrix.prototype.getHashCode = function () {
4332
- var hash = this._m[0] | 0;
4351
+ var hash = _ExtractAsInt(this._m[0]);
4333
4352
  for (var i = 1; i < 16; i++) {
4334
- hash = (hash * 397) ^ (this._m[i] | 0);
4353
+ hash = (hash * 397) ^ _ExtractAsInt(this._m[i]);
4335
4354
  }
4336
4355
  return hash;
4337
4356
  };
@@ -4454,7 +4473,7 @@ var Matrix = /** @class */ (function () {
4454
4473
  this._m[i + 1] = y;
4455
4474
  this._m[i + 2] = z;
4456
4475
  this._m[i + 3] = w;
4457
- this._markAsUpdated();
4476
+ this.markAsUpdated();
4458
4477
  return this;
4459
4478
  };
4460
4479
  /**
@@ -4477,7 +4496,7 @@ var Matrix = /** @class */ (function () {
4477
4496
  for (var index = 0; index < 16; index++) {
4478
4497
  result._m[index] = this._m[index] * scale;
4479
4498
  }
4480
- result._markAsUpdated();
4499
+ result.markAsUpdated();
4481
4500
  return this;
4482
4501
  };
4483
4502
  /**
@@ -4490,7 +4509,7 @@ var Matrix = /** @class */ (function () {
4490
4509
  for (var index = 0; index < 16; index++) {
4491
4510
  result._m[index] += this._m[index] * scale;
4492
4511
  }
4493
- result._markAsUpdated();
4512
+ result.markAsUpdated();
4494
4513
  return this;
4495
4514
  };
4496
4515
  /**
@@ -4539,7 +4558,7 @@ var Matrix = /** @class */ (function () {
4539
4558
  m[8] *= -1;
4540
4559
  m[9] *= -1;
4541
4560
  m[14] *= -1;
4542
- this._markAsUpdated();
4561
+ this.markAsUpdated();
4543
4562
  };
4544
4563
  /**
4545
4564
  * Toggles projection matrix from being right handed to left handed in place and vice versa
@@ -4550,7 +4569,7 @@ var Matrix = /** @class */ (function () {
4550
4569
  m[9] *= -1;
4551
4570
  m[10] *= -1;
4552
4571
  m[11] *= -1;
4553
- this._markAsUpdated();
4572
+ this.markAsUpdated();
4554
4573
  };
4555
4574
  // Statics
4556
4575
  /**
@@ -4575,7 +4594,7 @@ var Matrix = /** @class */ (function () {
4575
4594
  for (var index = 0; index < 16; index++) {
4576
4595
  result._m[index] = array[index + offset];
4577
4596
  }
4578
- result._markAsUpdated();
4597
+ result.markAsUpdated();
4579
4598
  };
4580
4599
  /**
4581
4600
  * Stores an array into a matrix after having multiplied each component by a given factor
@@ -4588,7 +4607,7 @@ var Matrix = /** @class */ (function () {
4588
4607
  for (var index = 0; index < 16; index++) {
4589
4608
  result._m[index] = array[index + offset] * scale;
4590
4609
  }
4591
- result._markAsUpdated();
4610
+ result.markAsUpdated();
4592
4611
  };
4593
4612
  Object.defineProperty(Matrix, "IdentityReadOnly", {
4594
4613
  /**
@@ -4638,7 +4657,7 @@ var Matrix = /** @class */ (function () {
4638
4657
  m[13] = initialM42;
4639
4658
  m[14] = initialM43;
4640
4659
  m[15] = initialM44;
4641
- result._markAsUpdated();
4660
+ result.markAsUpdated();
4642
4661
  };
4643
4662
  /**
4644
4663
  * Creates new matrix from a list of values (16)
@@ -4679,7 +4698,7 @@ var Matrix = /** @class */ (function () {
4679
4698
  m[13] = initialM42;
4680
4699
  m[14] = initialM43;
4681
4700
  m[15] = initialM44;
4682
- result._markAsUpdated();
4701
+ result.markAsUpdated();
4683
4702
  return result;
4684
4703
  };
4685
4704
  /**
@@ -4725,7 +4744,7 @@ var Matrix = /** @class */ (function () {
4725
4744
  m[13] = translation._y;
4726
4745
  m[14] = translation._z;
4727
4746
  m[15] = 1;
4728
- result._markAsUpdated();
4747
+ result.markAsUpdated();
4729
4748
  };
4730
4749
  /**
4731
4750
  * Creates a new identity matrix
@@ -4865,7 +4884,7 @@ var Matrix = /** @class */ (function () {
4865
4884
  m[13] = 0.0;
4866
4885
  m[14] = 0.0;
4867
4886
  m[15] = 1.0;
4868
- result._markAsUpdated();
4887
+ result.markAsUpdated();
4869
4888
  };
4870
4889
  /**
4871
4890
  * Takes normalised vectors and returns a rotation matrix to align "from" with "to".
@@ -4913,7 +4932,7 @@ var Matrix = /** @class */ (function () {
4913
4932
  m[13] = 0;
4914
4933
  m[14] = 0;
4915
4934
  m[15] = 1;
4916
- result._markAsUpdated();
4935
+ result.markAsUpdated();
4917
4936
  };
4918
4937
  /**
4919
4938
  * Creates a rotation matrix
@@ -5010,7 +5029,7 @@ var Matrix = /** @class */ (function () {
5010
5029
  for (var index = 0; index < 16; index++) {
5011
5030
  resultM[index] = startM[index] * (1.0 - gradient) + endM[index] * gradient;
5012
5031
  }
5013
- result._markAsUpdated();
5032
+ result.markAsUpdated();
5014
5033
  };
5015
5034
  /**
5016
5035
  * Builds a new matrix whose values are computed by:
@@ -5275,7 +5294,7 @@ var Matrix = /** @class */ (function () {
5275
5294
  if (halfZRange) {
5276
5295
  result.multiplyToRef(mtxConvertNDCToHalfZRange, result);
5277
5296
  }
5278
- result._markAsUpdated();
5297
+ result.markAsUpdated();
5279
5298
  };
5280
5299
  /**
5281
5300
  * Creates a right-handed orthographic projection matrix
@@ -5306,7 +5325,7 @@ var Matrix = /** @class */ (function () {
5306
5325
  */
5307
5326
  Matrix.OrthoOffCenterRHToRef = function (left, right, bottom, top, znear, zfar, result, halfZRange) {
5308
5327
  Matrix.OrthoOffCenterLHToRef(left, right, bottom, top, znear, zfar, result, halfZRange);
5309
- result._m[10] *= -1; // No need to call _markAsUpdated as previous function already called it and let _isIdentityDirty to true
5328
+ result._m[10] *= -1; // No need to call markAsUpdated as previous function already called it and let _isIdentityDirty to true
5310
5329
  };
5311
5330
  /**
5312
5331
  * Creates a left-handed perspective projection matrix
@@ -5519,7 +5538,7 @@ var Matrix = /** @class */ (function () {
5519
5538
  if (halfZRange) {
5520
5539
  result.multiplyToRef(mtxConvertNDCToHalfZRange, result);
5521
5540
  }
5522
- result._markAsUpdated();
5541
+ result.markAsUpdated();
5523
5542
  };
5524
5543
  /**
5525
5544
  * Computes a complete transformation matrix
@@ -5600,7 +5619,7 @@ var Matrix = /** @class */ (function () {
5600
5619
  rm[13] = mm[7];
5601
5620
  rm[14] = mm[11];
5602
5621
  rm[15] = mm[15];
5603
- result._markAsUpdated();
5622
+ result.markAsUpdated();
5604
5623
  // identity-ness does not change when transposing
5605
5624
  result._updateIdentityStatus(matrix._isIdentity, matrix._isIdentityDirty);
5606
5625
  };
@@ -5670,7 +5689,7 @@ var Matrix = /** @class */ (function () {
5670
5689
  result._m[13] = 0.0;
5671
5690
  result._m[14] = 0.0;
5672
5691
  result._m[15] = 1.0;
5673
- result._markAsUpdated();
5692
+ result.markAsUpdated();
5674
5693
  };
5675
5694
  Matrix._updateFlagSeed = 0;
5676
5695
  Matrix._identityReadOnly = Matrix.Identity();