@realsee/five 6.6.0-alpha.1 → 6.6.0-alpha.2

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 (524) hide show
  1. package/docs/assets/hierarchy.js +1 -0
  2. package/docs/assets/icons.js +1 -1
  3. package/docs/assets/icons.svg +1 -1
  4. package/docs/assets/main.js +5 -5
  5. package/docs/assets/navigation.js +1 -1
  6. package/docs/assets/search.js +1 -1
  7. package/docs/assets/style.css +1440 -1255
  8. package/docs/classes/five.AnimationFrameLoop.html +16 -16
  9. package/docs/classes/five.Camera.html +41 -41
  10. package/docs/classes/five.Fetcher.html +5 -5
  11. package/docs/classes/five.Five.html +211 -211
  12. package/docs/classes/five.InternalWebGLRenderer.html +2 -2
  13. package/docs/classes/five.Model.html +72 -72
  14. package/docs/classes/five.ModelScene.html +34 -34
  15. package/docs/classes/five.Motion.html +17 -17
  16. package/docs/classes/five.NetworkSubscribe.html +35 -35
  17. package/docs/classes/five.PBMContainer.html +17 -17
  18. package/docs/classes/five.PBMCustomShader.html +11 -11
  19. package/docs/classes/five.PBMGroup.html +4 -4
  20. package/docs/classes/five.PBMMesh.html +2 -2
  21. package/docs/classes/five.PBMMeshMaterial.html +84 -84
  22. package/docs/classes/five.PBMPointCloud.html +3 -3
  23. package/docs/classes/five.PBMPointCloudMaterial.html +40 -40
  24. package/docs/classes/five.PBMSkinnedMesh.html +4 -4
  25. package/docs/classes/five.PanoCircleMesh.html +20 -20
  26. package/docs/classes/five.PanoCircleMeshCustom.html +20 -20
  27. package/docs/classes/five.PanoCircleMeshSolid.html +20 -20
  28. package/docs/classes/five.Parameter.html +114 -114
  29. package/docs/classes/five.Scene.html +9 -9
  30. package/docs/classes/five.Subscribe.html +37 -37
  31. package/docs/classes/five.TextureLoader.html +4 -4
  32. package/docs/classes/five.Tile.html +34 -34
  33. package/docs/classes/five.Tile3DModel.html +91 -91
  34. package/docs/classes/five.TileCache.html +8 -8
  35. package/docs/classes/five.TileNode.html +9 -9
  36. package/docs/classes/five.TileRequestScheduler.html +4 -4
  37. package/docs/classes/five.Tileset.html +37 -37
  38. package/docs/classes/five.Trajectory.html +8 -8
  39. package/docs/classes/five.TrajectoryNode.html +7 -7
  40. package/docs/classes/five.Work.html +42 -42
  41. package/docs/classes/five.WorkResolvedObserver.html +40 -40
  42. package/docs/classes/five.XRButton.html +3 -3
  43. package/docs/classes/gltf-loader.DDSLoader.html +3 -0
  44. package/docs/classes/gltf-loader.DRACOLoader.html +8 -0
  45. package/docs/classes/gltf-loader.GLTFLoader.html +19 -0
  46. package/docs/classes/gltf-loader.GLTFObject.html +9 -0
  47. package/docs/classes/gltf-loader.GLTFParser.html +6 -0
  48. package/docs/classes/gltf-loader.THREEGLTFLoader.html +8 -0
  49. package/docs/classes/line.Line.html +10 -10
  50. package/docs/classes/line.LineGeometry.html +17 -17
  51. package/docs/classes/line.LineMaterial.html +8 -8
  52. package/docs/classes/line.LineSegmentsGeometry.html +15 -15
  53. package/docs/classes/line.THREE_Line2.html +4 -4
  54. package/docs/classes/line.THREE_LineSegments2.html +4 -4
  55. package/docs/classes/plugins.BasePlugin.Controller.html +39 -0
  56. package/docs/classes/plugins.CSS3DRenderer.html +6 -0
  57. package/docs/classes/plugins.OrbitControls.html +41 -0
  58. package/docs/classes/plugins.RoundedBoxGeometry.html +3 -0
  59. package/docs/classes/react.Store.html +20 -20
  60. package/docs/classes/sticker.Sticker.html +17 -17
  61. package/docs/classes/vfx.Airflow.html +8 -8
  62. package/docs/classes/vfx.Flame.html +10 -10
  63. package/docs/classes/vfx.Particle.html +78 -78
  64. package/docs/classes/vfx.SpotLight.html +7 -7
  65. package/docs/documents/coordinate.html +4 -4
  66. package/docs/documents/five.FivePlugin.plugins.html +15 -15
  67. package/docs/documents/five.Pose.coordinate.html +4 -4
  68. package/docs/documents/plugins.html +15 -15
  69. package/docs/documents/react-component.html +32 -0
  70. package/docs/enums/five.VolumePlaneIntersect.html +4 -4
  71. package/docs/enums/plugins.BackgroundPluginType.WarningCodeType.html +2 -0
  72. package/docs/functions/five.coordinatesToVector.html +2 -0
  73. package/docs/functions/five.createDebugBoundingMesh.html +1 -1
  74. package/docs/functions/five.createWorks.html +1 -1
  75. package/docs/functions/five.defaultImageURLTransform.html +2 -2
  76. package/docs/functions/five.getViewportScale.html +1 -1
  77. package/docs/functions/five.headingToLongitude.html +4 -0
  78. package/docs/functions/five.imageSupport.html +1 -1
  79. package/docs/functions/five.isBoundingVolume.html +1 -1
  80. package/docs/functions/five.isPanoId.html +1 -1
  81. package/docs/functions/five.loadAt3d.html +1 -1
  82. package/docs/functions/five.loadB3dm.html +1 -1
  83. package/docs/functions/five.loadDome.html +1 -1
  84. package/docs/functions/five.loadDomez.html +1 -1
  85. package/docs/functions/five.loadFbx.html +1 -1
  86. package/docs/functions/five.loadGltf.html +1 -1
  87. package/docs/functions/five.loadPbm.html +1 -1
  88. package/docs/functions/five.loadPly.html +1 -1
  89. package/docs/functions/five.loadPnts.html +1 -1
  90. package/docs/functions/five.loadX3p.html +1 -1
  91. package/docs/functions/five.longitudeToHeading.html +4 -0
  92. package/docs/functions/five.makeBoundingVolume.html +1 -1
  93. package/docs/functions/five.panoEqual.html +1 -1
  94. package/docs/functions/five.panoParse.html +1 -1
  95. package/docs/functions/five.panoStringify.html +1 -1
  96. package/docs/functions/five.parseWork.html +2 -2
  97. package/docs/functions/five.vectorToCoordinates.html +2 -0
  98. package/docs/functions/five.workToJson.html +1 -1
  99. package/docs/functions/plugins.BackgroundPlugin.html +1 -0
  100. package/docs/functions/plugins.ItemMaskPlugin.html +1 -0
  101. package/docs/functions/plugins.OrientationPlugin.html +1 -0
  102. package/docs/functions/plugins.PanoAnimePlugin.html +1 -0
  103. package/docs/functions/plugins.TrajectoryPlugin.html +1 -0
  104. package/docs/functions/react.createFiveFeature.html +1 -1
  105. package/docs/functions/react.createFiveProvider.html +5 -5
  106. package/docs/functions/react.createStore.html +12 -12
  107. package/docs/functions/react.unsafe__useFiveInstance.html +4 -4
  108. package/docs/functions/react.useFiveAction.html +8 -8
  109. package/docs/functions/react.useFiveCameraDirection.html +3 -3
  110. package/docs/functions/react.useFiveCameraRaycaster.html +3 -3
  111. package/docs/functions/react.useFiveCurrentObserver.html +4 -4
  112. package/docs/functions/react.useFiveCurrentState.html +4 -4
  113. package/docs/functions/react.useFiveEventCallback.html +3 -3
  114. package/docs/functions/react.useFiveFloor.html +4 -4
  115. package/docs/functions/react.useFiveHelper.html +4 -4
  116. package/docs/functions/react.useFiveModelIntersectRaycaster.html +4 -4
  117. package/docs/functions/react.useFiveModelReadyState.html +3 -3
  118. package/docs/functions/react.useFiveProject2d.html +4 -4
  119. package/docs/functions/react.useFiveSceneEffect.html +4 -4
  120. package/docs/functions/react.useFiveState.html +1 -1
  121. package/docs/functions/react.useFiveWork.html +5 -5
  122. package/docs/functions/react.withFive.html +1 -1
  123. package/docs/functions/vue.unsafe__useFiveInject.html +4 -4
  124. package/docs/functions/vue.useFiveAction.html +10 -10
  125. package/docs/functions/vue.useFiveCameraDirection.html +3 -3
  126. package/docs/functions/vue.useFiveCameraRaycaster.html +3 -3
  127. package/docs/functions/vue.useFiveCurrentObserver.html +4 -4
  128. package/docs/functions/vue.useFiveCurrentState.html +4 -4
  129. package/docs/functions/vue.useFiveEventCallback.html +3 -3
  130. package/docs/functions/vue.useFiveFloor.html +4 -4
  131. package/docs/functions/vue.useFiveHelper.html +4 -4
  132. package/docs/functions/vue.useFiveModel.html +2 -2
  133. package/docs/functions/vue.useFiveModelBounding.html +2 -2
  134. package/docs/functions/vue.useFiveModelIntersectRaycaster.html +4 -4
  135. package/docs/functions/vue.useFiveModelReadyState.html +3 -3
  136. package/docs/functions/vue.useFiveProject2d.html +4 -4
  137. package/docs/functions/vue.useFiveScene.html +2 -2
  138. package/docs/functions/vue.useFiveState.html +4 -4
  139. package/docs/functions/vue.useFiveWorks.html +5 -5
  140. package/docs/hierarchy.html +1 -1
  141. package/docs/index.html +17 -17
  142. package/docs/interfaces/five.AddableObject.html +9 -9
  143. package/docs/interfaces/five.AjaxOptions.html +9 -9
  144. package/docs/interfaces/five.AnimationFrame.html +5 -5
  145. package/docs/interfaces/five.AnimationFrameContext.html +3 -3
  146. package/docs/interfaces/five.BaseEvent.html +5 -5
  147. package/docs/interfaces/five.BoundingVolume.html +15 -15
  148. package/docs/interfaces/five.BoxBoundingVolume.html +18 -0
  149. package/docs/interfaces/five.CameraPose.html +6 -6
  150. package/docs/interfaces/five.CullingVolume.html +9 -0
  151. package/docs/interfaces/five.Draco.html +12 -0
  152. package/docs/interfaces/five.EventCallback.html +255 -255
  153. package/docs/interfaces/five.FiveInitArgs.html +85 -85
  154. package/docs/interfaces/five.FiveLoadOptions.html +13 -13
  155. package/docs/interfaces/five.FloorplanControllerCustomInitArgs.html +17 -17
  156. package/docs/interfaces/five.GestureEvent.html +19 -19
  157. package/docs/interfaces/five.ImageOptions.html +14 -14
  158. package/docs/interfaces/five.ImageURLMappings.html +1 -1
  159. package/docs/interfaces/five.ImageURLOptions.html +15 -15
  160. package/docs/interfaces/five.IntersectEvent.html +8 -8
  161. package/docs/interfaces/five.IntersectMesh.html +2 -0
  162. package/docs/interfaces/five.IntersectMeshInterface.html +3 -3
  163. package/docs/interfaces/five.Intersection.html +5 -5
  164. package/docs/interfaces/five.KTX2.html +9 -0
  165. package/docs/interfaces/five.LoosePanoWork.html +10 -10
  166. package/docs/interfaces/five.LooseWork.html +15 -15
  167. package/docs/interfaces/five.LooseWorkInitial.html +11 -11
  168. package/docs/interfaces/five.LooseWorkModel.html +6 -6
  169. package/docs/interfaces/five.LooseWorkObserver.html +16 -16
  170. package/docs/interfaces/five.LooseWorkPanorama.html +13 -13
  171. package/docs/interfaces/five.LooseWorkVideo.html +4 -4
  172. package/docs/interfaces/five.LooseWorkWithExtrinsics.html +13 -13
  173. package/docs/interfaces/five.MapviewControllerCustomInitArgs.html +17 -17
  174. package/docs/interfaces/five.ModeChangeEvent.html +9 -9
  175. package/docs/interfaces/five.ModelControllerCustomInitArgs.html +18 -18
  176. package/docs/interfaces/five.ModelEvent.html +8 -8
  177. package/docs/interfaces/five.ModelLike.html +3 -3
  178. package/docs/interfaces/five.ModelSceneEvent.html +6 -6
  179. package/docs/interfaces/five.MotionKeyframe.html +4 -4
  180. package/docs/interfaces/five.MovePanoOptions.html +24 -24
  181. package/docs/interfaces/five.NetworkAbortError.html +1 -0
  182. package/docs/interfaces/five.NetworkFirbiddenError.html +1 -0
  183. package/docs/interfaces/five.NetworkOptions.html +7 -7
  184. package/docs/interfaces/five.NetworkProxyError.html +1 -0
  185. package/docs/interfaces/five.NetworkResourceEvent.html +9 -9
  186. package/docs/interfaces/five.NetworkResponseError.html +2 -0
  187. package/docs/interfaces/five.NetworkTimeoutError.html +1 -0
  188. package/docs/interfaces/five.ObjectEvent.html +6 -6
  189. package/docs/interfaces/five.PBMClipperParameter.html +3 -3
  190. package/docs/interfaces/five.PBMCustomShaderInitArgs.html +6 -6
  191. package/docs/interfaces/five.PBMCustomShaderSlots.html +3 -3
  192. package/docs/interfaces/five.PBMMaterial.html +1 -0
  193. package/docs/interfaces/five.PBMMeshMaterialParameters.html +28 -28
  194. package/docs/interfaces/five.PBMPanoDepth.html +9 -9
  195. package/docs/interfaces/five.PBMPanoPicture.html +11 -11
  196. package/docs/interfaces/five.PBMPointCloudMaterialParameters.html +28 -28
  197. package/docs/interfaces/five.PBMRefinedScreen.html +6 -6
  198. package/docs/interfaces/five.PanoCircleMeshCustomOptions.html +9 -9
  199. package/docs/interfaces/five.PanoCircleMeshInterface.html +20 -20
  200. package/docs/interfaces/five.PanoCircleMeshOptions.html +3 -3
  201. package/docs/interfaces/five.PanoCircleMeshSolidOptions.html +3 -3
  202. package/docs/interfaces/five.PanoEvent.html +11 -11
  203. package/docs/interfaces/five.PanoTextureEvent.html +9 -9
  204. package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +38 -38
  205. package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +18 -18
  206. package/docs/interfaces/five.ParameterMaterialValue.html +73 -73
  207. package/docs/interfaces/five.ParameterTilesetValue.html +31 -31
  208. package/docs/interfaces/five.ParameterValue.html +103 -103
  209. package/docs/interfaces/five.Pose.html +13 -13
  210. package/docs/interfaces/five.RegionBoundingVolume.html +21 -0
  211. package/docs/interfaces/five.RenderEvent.html +6 -6
  212. package/docs/interfaces/five.ResolvedParameterValue.html +105 -105
  213. package/docs/interfaces/five.SphereBoundingVolume.html +17 -0
  214. package/docs/interfaces/five.State.html +19 -19
  215. package/docs/interfaces/five.StateEvent.html +7 -7
  216. package/docs/interfaces/five.TextureOptions.html +16 -16
  217. package/docs/interfaces/five.Tile3DModelLoaderOptions.html +12 -12
  218. package/docs/interfaces/five.TileHeader.html +9 -9
  219. package/docs/interfaces/five.TilesetHeader.html +20 -20
  220. package/docs/interfaces/five.TilesetOptions.html +12 -12
  221. package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +9 -9
  222. package/docs/interfaces/five.TrajectoryHeader.html +5 -5
  223. package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +34 -34
  224. package/docs/interfaces/five.ViewLayer.html +90 -90
  225. package/docs/interfaces/five.Viewport.html +11 -11
  226. package/docs/interfaces/five.WebXRAxesParams.html +4 -4
  227. package/docs/interfaces/five.WebXRControllerParams.html +2 -2
  228. package/docs/interfaces/five.WorkCubeImage.html +8 -8
  229. package/docs/interfaces/five.WorkImage.html +13 -13
  230. package/docs/interfaces/five.WorkInitial.html +17 -17
  231. package/docs/interfaces/five.WorkInitialJson.html +8 -8
  232. package/docs/interfaces/five.WorkJson.html +12 -12
  233. package/docs/interfaces/five.WorkModel.html +12 -12
  234. package/docs/interfaces/five.WorkModelJson.html +5 -5
  235. package/docs/interfaces/five.WorkModelLayer.html +6 -6
  236. package/docs/interfaces/five.WorkModelLayerJson.html +5 -5
  237. package/docs/interfaces/five.WorkObserver.html +34 -34
  238. package/docs/interfaces/five.WorkObserverJson.html +8 -8
  239. package/docs/interfaces/five.WorkPanoramaJson.html +14 -14
  240. package/docs/interfaces/five.WorkPanoramasJson.html +3 -3
  241. package/docs/interfaces/five.WorkTile.html +14 -14
  242. package/docs/interfaces/five.WorkVideo.html +9 -9
  243. package/docs/interfaces/five.WorksEvent.html +9 -9
  244. package/docs/interfaces/five.XRControllerEvent.html +8 -8
  245. package/docs/interfaces/five.XRGestureEvent.html +11 -11
  246. package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +34 -34
  247. package/docs/interfaces/five.XRSessionEvent.html +7 -7
  248. package/docs/interfaces/gltf-loader.DDS.html +7 -0
  249. package/docs/interfaces/gltf-loader.GLTF.html +13 -0
  250. package/docs/interfaces/gltf-loader.GLTFReference.html +3 -0
  251. package/docs/interfaces/gltf-loader.THREEGLTF.html +8 -0
  252. package/docs/interfaces/plugins.BackgroundPluginController.html +37 -0
  253. package/docs/interfaces/plugins.BackgroundPluginType.Config.html +1 -0
  254. package/docs/interfaces/plugins.BackgroundPluginType.EventMap.html +20 -0
  255. package/docs/interfaces/plugins.BackgroundPluginType.Params.html +3 -0
  256. package/docs/interfaces/plugins.BackgroundPluginType.PluginDataItem.html +1 -0
  257. package/docs/interfaces/plugins.BasePlugin.BaseOptions.html +3 -0
  258. package/docs/interfaces/plugins.BasePlugin.Config.html +5 -0
  259. package/docs/interfaces/plugins.BasePlugin.State.html +8 -0
  260. package/docs/interfaces/plugins.BasePlugin.StateChangeParams.html +7 -0
  261. package/docs/interfaces/plugins.ItemMaskController.html +35 -0
  262. package/docs/interfaces/plugins.ItemMaskPluginType.Config.html +2 -0
  263. package/docs/interfaces/plugins.ItemMaskPluginType.EventMap.html +10 -0
  264. package/docs/interfaces/plugins.ItemMaskPluginType.ItemType.html +13 -0
  265. package/docs/interfaces/plugins.ItemMaskPluginType.MaskType.html +4 -0
  266. package/docs/interfaces/plugins.ItemMaskPluginType.Params.html +4 -0
  267. package/docs/interfaces/plugins.ItemMaskPluginType.State.html +14 -0
  268. package/docs/interfaces/plugins.Keyframe.html +3 -0
  269. package/docs/interfaces/plugins.OrientationPluginController.html +46 -0
  270. package/docs/interfaces/plugins.OrientationPluginType.Config.html +4 -0
  271. package/docs/interfaces/plugins.OrientationPluginType.EventMap.html +10 -0
  272. package/docs/interfaces/plugins.OrientationPluginType.Params.html +4 -0
  273. package/docs/interfaces/plugins.OrientationPluginType.State.html +10 -0
  274. package/docs/interfaces/plugins.PanoAnimeController.html +32 -0
  275. package/docs/interfaces/plugins.PanoAnimePluginType.Config.html +2 -0
  276. package/docs/interfaces/plugins.PanoAnimePluginType.EventMap.html +11 -0
  277. package/docs/interfaces/plugins.PanoAnimePluginType.Params.html +4 -0
  278. package/docs/interfaces/plugins.PanoAnimePluginType.State.html +8 -0
  279. package/docs/interfaces/plugins.PlayingState.html +3 -0
  280. package/docs/interfaces/plugins.PluginTemplateType.Config.html +3 -0
  281. package/docs/interfaces/plugins.PluginTemplateType.EventMap.html +10 -0
  282. package/docs/interfaces/plugins.PluginTemplateType.Params.html +4 -0
  283. package/docs/interfaces/plugins.PluginTemplateType.State.html +8 -0
  284. package/docs/interfaces/plugins.TrajectoryController.html +50 -0
  285. package/docs/interfaces/react.FiveActionReactCallbacks.html +27 -27
  286. package/docs/interfaces/react.FiveCanvasProps.html +5 -5
  287. package/docs/interfaces/react.FiveInjectionTypes.html +152 -144
  288. package/docs/interfaces/react.PropTypeOfFiveFeatures.html +2 -2
  289. package/docs/interfaces/sticker.IntersectionLike.html +7 -7
  290. package/docs/interfaces/vfx.ParticleArgs.html +67 -67
  291. package/docs/interfaces/vfx.ParticleTweenKeyframe.html +3 -3
  292. package/docs/interfaces/vue.FiveActionVueCallbacks.html +30 -30
  293. package/docs/modules/five.html +1 -232
  294. package/docs/modules/gltf-loader.html +1 -0
  295. package/docs/modules/line.html +1 -8
  296. package/docs/modules/plugins.BackgroundPluginType.html +1 -0
  297. package/docs/modules/plugins.BasePlugin.html +1 -0
  298. package/docs/modules/plugins.ItemMaskPluginType.html +1 -0
  299. package/docs/modules/plugins.OrientationPluginType.html +1 -0
  300. package/docs/modules/plugins.PanoAnimePluginType.html +1 -0
  301. package/docs/modules/plugins.PluginTemplateType.html +1 -0
  302. package/docs/modules/plugins.html +1 -0
  303. package/docs/modules/react.html +1 -37
  304. package/docs/modules/sticker.html +1 -3
  305. package/docs/modules/vfx.html +1 -8
  306. package/docs/modules/vue.html +1 -24
  307. package/docs/modules.html +1 -0
  308. package/docs/types/five.AjaxResponseType.html +1 -1
  309. package/docs/types/five.AjaxResponseTypeMapping.html +1 -1
  310. package/docs/types/five.AnimationFrameLoopType.html +1 -1
  311. package/docs/types/five.BoundingVolumeJson.html +1 -1
  312. package/docs/types/five.BoxBoundingVolumeJson.html +2 -1
  313. package/docs/types/five.ControllerCustomInitTypes.html +8 -1
  314. package/docs/types/five.ControllerEventTypes.html +66 -33
  315. package/docs/types/five.CubeFace.html +1 -1
  316. package/docs/types/five.EventTypes.html +26 -26
  317. package/docs/types/five.FivePlugin.html +4 -4
  318. package/docs/types/five.FivePluginInit.html +3 -3
  319. package/docs/types/five.FivePluginInstance.html +3 -3
  320. package/docs/types/five.GestureTypes.html +1 -1
  321. package/docs/types/five.LegacyEventType.html +149 -86
  322. package/docs/types/five.LoadResultType.html +12 -1
  323. package/docs/types/five.Mode.html +9 -9
  324. package/docs/types/five.Models.html +11 -11
  325. package/docs/types/five.MotionCircle.html +2 -2
  326. package/docs/types/five.MotionConfig.html +1 -1
  327. package/docs/types/five.MotionInitalValue.html +1 -1
  328. package/docs/types/five.MotionValue.html +1 -1
  329. package/docs/types/five.MovePanoEffect.html +3 -3
  330. package/docs/types/five.NetWorkMeta.html +8 -1
  331. package/docs/types/five.NetworkError.html +1 -1
  332. package/docs/types/five.NetworkErrorCallback.html +1 -1
  333. package/docs/types/five.NetworkProgressCallback.html +1 -1
  334. package/docs/types/five.NetworkResponse.html +3 -1
  335. package/docs/types/five.NetworkState.html +1 -1
  336. package/docs/types/five.NetworkSuccessCallback.html +1 -1
  337. package/docs/types/five.NetworkType.html +1 -1
  338. package/docs/types/five.PBMAlphaMode.html +1 -1
  339. package/docs/types/five.PBMColorStyle.html +1 -1
  340. package/docs/types/five.PBMFloorStyle.html +1 -1
  341. package/docs/types/five.PBMMeshShaderType.html +1 -1
  342. package/docs/types/five.PBMPointBack.html +1 -1
  343. package/docs/types/five.PBMPointCloudShaderType.html +1 -1
  344. package/docs/types/five.PBMPointShape.html +1 -1
  345. package/docs/types/five.PBMPointSize.html +1 -1
  346. package/docs/types/five.PBMTransition.html +1 -1
  347. package/docs/types/five.Pano.html +3 -1
  348. package/docs/types/five.PanoId.html +1 -1
  349. package/docs/types/five.ParseOptions.html +11 -6
  350. package/docs/types/five.PostProcessingType.html +1 -1
  351. package/docs/types/five.RegionBoundingVolumeJson.html +2 -1
  352. package/docs/types/five.Scissor.html +2 -2
  353. package/docs/types/five.SphereBoundingVolumeJson.html +2 -1
  354. package/docs/types/five.SubscribeEventMap.html +1 -1
  355. package/docs/types/five.Tile3dOptions.html +1 -1
  356. package/docs/types/five.TileCacheOptions.html +3 -1
  357. package/docs/types/five.TileContentData.html +6 -1
  358. package/docs/types/five.TileRequestOrder.html +1 -1
  359. package/docs/types/five.TileRequestSchedulerOptions.html +4 -1
  360. package/docs/types/five.TilesetFrameState.html +22 -1
  361. package/docs/types/five.TrajectoryContentData.html +7 -1
  362. package/docs/types/five.WebXRControllerKey.html +1 -1
  363. package/docs/types/five.WebXRControllerType.html +1 -1
  364. package/docs/types/five.Works.html +1 -1
  365. package/docs/types/line.LineMaterialParameters.html +8 -1
  366. package/docs/types/plugins.BackgroundPluginType.Mirror.html +1 -0
  367. package/docs/types/plugins.BackgroundPluginType.Mode.html +1 -0
  368. package/docs/types/plugins.BackgroundPluginType.PluginData.html +1 -0
  369. package/docs/types/plugins.BackgroundPluginType.State.html +2 -0
  370. package/docs/types/plugins.BasePlugin.EventMap.html +10 -0
  371. package/docs/types/plugins.ItemMaskPluginType.PluginData.html +3 -0
  372. package/docs/types/plugins.ItemMaskPluginType.ServerData.html +3 -0
  373. package/docs/types/plugins.OrientationPluginType.PluginData.html +1 -0
  374. package/docs/types/plugins.OrientationPluginType.ServerData.html +1 -0
  375. package/docs/types/plugins.PanoAnimePluginType.PluginData.html +1 -0
  376. package/docs/types/plugins.PanoAnimePluginType.ServerData.html +1 -0
  377. package/docs/types/plugins.PluginTemplateType.PluginData.html +1 -0
  378. package/docs/types/plugins.PluginTemplateType.ServerData.html +2 -0
  379. package/docs/types/react.FiveInjectionActionFeature.html +1 -1
  380. package/docs/types/react.FiveInjectionDataFeature.html +1 -1
  381. package/docs/types/react.FiveInjectionFeature.html +1 -1
  382. package/docs/types/react.FiveProviderPropTypes.html +11 -1
  383. package/docs/types/react.FiveProviderType.html +1 -1
  384. package/docs/types/react.StoreActionMapHanlder.html +1 -1
  385. package/docs/types/react.StoreActionMapType.html +1 -1
  386. package/docs/types/react.StoreProviderType.html +1 -1
  387. package/docs/types/react.StoreValueMapType.html +1 -1
  388. package/docs/types/vfx.ParticleType.html +1 -1
  389. package/docs/types/vue.FiveModelIntersectRaycaster.html +1 -1
  390. package/docs/types/vue.FiveProviderComponent.html +1 -1
  391. package/docs/types/vue.Project2d.html +1 -1
  392. package/docs/variables/five.PROXY_CONTROLLER_EVENT_NAMES.html +1 -1
  393. package/docs/variables/five.controllersDefaultInitArgs.html +1 -1
  394. package/docs/variables/five.draco.html +1 -0
  395. package/docs/variables/five.ktx2.html +1 -0
  396. package/docs/variables/react.FiveCanvas.html +6 -0
  397. package/docs/variables/react.INJECTION_PROPNAME.html +1 -1
  398. package/docs/variables/react.useFiveScene.html +7 -0
  399. package/docs/variables/vue.FiveCanvas.html +7 -7
  400. package/docs/variables/vue.FiveProvider.html +5 -5
  401. package/five/index.d.ts +33 -1
  402. package/five/index.js +93 -91
  403. package/five/index.mjs +4247 -4193
  404. package/gltf-loader/index.js +5 -5
  405. package/gltf-loader/index.mjs +160 -172
  406. package/line/index.js +4 -4
  407. package/line/index.mjs +15 -15
  408. package/package.json +4 -7
  409. package/plugins/index.js +10 -10
  410. package/plugins/index.mjs +42 -42
  411. package/react/index.d.ts +46 -37
  412. package/react/index.js +3 -3
  413. package/react/index.mjs +8 -8
  414. package/shader-lib/index.js +7 -7
  415. package/shader-lib/index.mjs +14 -14
  416. package/sticker/index.js +3 -3
  417. package/sticker/index.mjs +9 -9
  418. package/umd/five-gltf-loader.js +5 -5
  419. package/umd/five-line.js +4 -4
  420. package/umd/five-plugins.js +10 -10
  421. package/umd/five-react.js +3 -3
  422. package/umd/five-shader-lib.js +8 -8
  423. package/umd/five-sticker.js +3 -3
  424. package/umd/five-vfx.js +7 -7
  425. package/umd/five-vue.js +3 -3
  426. package/umd/five.js +94 -92
  427. package/vfx/index.js +6 -6
  428. package/vfx/index.mjs +12 -12
  429. package/vue/index.js +2 -2
  430. package/vue/index.mjs +2 -2
  431. package/work-downloader/index.js +3 -3
  432. package/work-downloader/index.mjs +4 -4
  433. package/docs/classes/five.BoxBoundingVolume.html +0 -19
  434. package/docs/classes/five.CullingVolume.html +0 -13
  435. package/docs/classes/five.Draco.html +0 -13
  436. package/docs/classes/five.IntersectMesh.html +0 -4
  437. package/docs/classes/five.KTX2.html +0 -10
  438. package/docs/classes/five.NetworkAbortError.html +0 -2
  439. package/docs/classes/five.NetworkFirbiddenError.html +0 -2
  440. package/docs/classes/five.NetworkProxyError.html +0 -2
  441. package/docs/classes/five.NetworkResponseError.html +0 -3
  442. package/docs/classes/five.NetworkTimeoutError.html +0 -2
  443. package/docs/classes/five.PBMMaterial.html +0 -2
  444. package/docs/classes/five.RegionBoundingVolume.html +0 -22
  445. package/docs/classes/five.SphereBoundingVolume.html +0 -18
  446. package/docs/classes/gltf_loader.DDSLoader.html +0 -3
  447. package/docs/classes/gltf_loader.DRACOLoader.html +0 -8
  448. package/docs/classes/gltf_loader.GLTFLoader.html +0 -19
  449. package/docs/classes/gltf_loader.GLTFObject.html +0 -9
  450. package/docs/classes/gltf_loader.GLTFParser.html +0 -6
  451. package/docs/classes/gltf_loader.THREEGLTFLoader.html +0 -8
  452. package/docs/classes/plugins-1.BackgroundPluginController.html +0 -38
  453. package/docs/classes/plugins-1.BasePlugin.Controller.html +0 -39
  454. package/docs/classes/plugins-1.CSS3DRenderer.html +0 -6
  455. package/docs/classes/plugins-1.ItemMaskController.html +0 -36
  456. package/docs/classes/plugins-1.OrbitControls.html +0 -41
  457. package/docs/classes/plugins-1.OrientationPluginController.html +0 -47
  458. package/docs/classes/plugins-1.PanoAnimeController.html +0 -33
  459. package/docs/classes/plugins-1.RoundedBoxGeometry.html +0 -3
  460. package/docs/classes/plugins-1.TrajectoryController.html +0 -51
  461. package/docs/documents/react_component.html +0 -32
  462. package/docs/enums/plugins-1.BackgroundPluginType.WarningCodeType.html +0 -2
  463. package/docs/functions/plugins-1.BackgroundPlugin.html +0 -1
  464. package/docs/functions/plugins-1.ItemMaskPlugin.html +0 -1
  465. package/docs/functions/plugins-1.OrientationPlugin.html +0 -1
  466. package/docs/functions/plugins-1.PanoAnimePlugin.html +0 -1
  467. package/docs/functions/plugins-1.TrajectoryPlugin.html +0 -1
  468. package/docs/functions/react.FiveCanvas.html +0 -6
  469. package/docs/functions/react.useFiveScene.html +0 -7
  470. package/docs/interfaces/gltf_loader.DDS.html +0 -7
  471. package/docs/interfaces/gltf_loader.GLTF.html +0 -13
  472. package/docs/interfaces/gltf_loader.GLTFReference.html +0 -3
  473. package/docs/interfaces/gltf_loader.THREEGLTF.html +0 -8
  474. package/docs/interfaces/plugins-1.BackgroundPluginType.Config.html +0 -1
  475. package/docs/interfaces/plugins-1.BackgroundPluginType.EventMap.html +0 -20
  476. package/docs/interfaces/plugins-1.BackgroundPluginType.Params.html +0 -3
  477. package/docs/interfaces/plugins-1.BackgroundPluginType.PluginDataItem.html +0 -1
  478. package/docs/interfaces/plugins-1.BasePlugin.BaseOptions.html +0 -3
  479. package/docs/interfaces/plugins-1.BasePlugin.Config.html +0 -5
  480. package/docs/interfaces/plugins-1.BasePlugin.State.html +0 -8
  481. package/docs/interfaces/plugins-1.BasePlugin.StateChangeParams.html +0 -7
  482. package/docs/interfaces/plugins-1.ItemMaskPluginType.Config.html +0 -2
  483. package/docs/interfaces/plugins-1.ItemMaskPluginType.EventMap.html +0 -10
  484. package/docs/interfaces/plugins-1.ItemMaskPluginType.ItemType.html +0 -13
  485. package/docs/interfaces/plugins-1.ItemMaskPluginType.MaskType.html +0 -4
  486. package/docs/interfaces/plugins-1.ItemMaskPluginType.Params.html +0 -4
  487. package/docs/interfaces/plugins-1.ItemMaskPluginType.State.html +0 -14
  488. package/docs/interfaces/plugins-1.Keyframe.html +0 -3
  489. package/docs/interfaces/plugins-1.OrientationPluginType.Config.html +0 -4
  490. package/docs/interfaces/plugins-1.OrientationPluginType.EventMap.html +0 -10
  491. package/docs/interfaces/plugins-1.OrientationPluginType.Params.html +0 -4
  492. package/docs/interfaces/plugins-1.OrientationPluginType.State.html +0 -10
  493. package/docs/interfaces/plugins-1.PanoAnimePluginType.Config.html +0 -2
  494. package/docs/interfaces/plugins-1.PanoAnimePluginType.EventMap.html +0 -11
  495. package/docs/interfaces/plugins-1.PanoAnimePluginType.Params.html +0 -4
  496. package/docs/interfaces/plugins-1.PanoAnimePluginType.State.html +0 -8
  497. package/docs/interfaces/plugins-1.PlayingState.html +0 -3
  498. package/docs/interfaces/plugins-1.PluginTemplateType.Config.html +0 -3
  499. package/docs/interfaces/plugins-1.PluginTemplateType.EventMap.html +0 -10
  500. package/docs/interfaces/plugins-1.PluginTemplateType.Params.html +0 -4
  501. package/docs/interfaces/plugins-1.PluginTemplateType.State.html +0 -8
  502. package/docs/modules/gltf_loader.html +0 -11
  503. package/docs/modules/plugins-1.BackgroundPluginType.html +0 -10
  504. package/docs/modules/plugins-1.BasePlugin.html +0 -7
  505. package/docs/modules/plugins-1.ItemMaskPluginType.html +0 -9
  506. package/docs/modules/plugins-1.OrientationPluginType.html +0 -7
  507. package/docs/modules/plugins-1.PanoAnimePluginType.html +0 -7
  508. package/docs/modules/plugins-1.PluginTemplateType.html +0 -7
  509. package/docs/modules/plugins-1.html +0 -22
  510. package/docs/types/plugins-1.BackgroundPluginType.Mirror.html +0 -1
  511. package/docs/types/plugins-1.BackgroundPluginType.Mode.html +0 -1
  512. package/docs/types/plugins-1.BackgroundPluginType.PluginData.html +0 -1
  513. package/docs/types/plugins-1.BackgroundPluginType.State.html +0 -1
  514. package/docs/types/plugins-1.BasePlugin.EventMap.html +0 -6
  515. package/docs/types/plugins-1.ItemMaskPluginType.PluginData.html +0 -1
  516. package/docs/types/plugins-1.ItemMaskPluginType.ServerData.html +0 -1
  517. package/docs/types/plugins-1.OrientationPluginType.PluginData.html +0 -1
  518. package/docs/types/plugins-1.OrientationPluginType.ServerData.html +0 -1
  519. package/docs/types/plugins-1.PanoAnimePluginType.PluginData.html +0 -1
  520. package/docs/types/plugins-1.PanoAnimePluginType.ServerData.html +0 -1
  521. package/docs/types/plugins-1.PluginTemplateType.PluginData.html +0 -1
  522. package/docs/types/plugins-1.PluginTemplateType.ServerData.html +0 -1
  523. package/docs/variables/five.draco-1.html +0 -1
  524. package/docs/variables/five.ktx2-1.html +0 -1
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five
4
- * Generated: 8/14/2025
5
- * Version: 6.6.0-alpha.1
4
+ * Generated: 2025/8/15
5
+ * Version: 6.6.0-alpha.2
6
6
  * Terms:
7
7
  * Realsee SDK License Agreement
8
8
  * Update: July 28, 2021
@@ -253,7 +253,7 @@
253
253
  * writing and signed by Realsee. You and Realsee hereto confirm that this
254
254
  * Agreement and all related documents shall be drafted in English.
255
255
  */import * as De from "three";
256
- import { Loader as ye, LoaderUtils as pe, FileLoader as _e, Color as re, SpotLight as or, PointLight as ir, DirectionalLight as ur, MeshBasicMaterial as he, MeshPhysicalMaterial as ke, Vector2 as Be, MeshStandardMaterial as ve, TangentSpaceNormalMap as lr, Interpolant as Ke, MeshPhongMaterial as fr, TextureLoader as cr, InterleavedBuffer as dr, InterleavedBufferAttribute as pr, BufferAttribute as Re, LinearFilter as Ve, LinearMipmapLinearFilter as je, RepeatWrapping as Pe, RGBFormat as Xe, PointsMaterial as hr, Material as ze, LineBasicMaterial as vr, DoubleSide as Tr, sRGBEncoding as We, BufferGeometry as Ze, SkinnedMesh as gr, Mesh as mr, LineSegments as Ar, Line as Sr, LineLoop as Er, Points as yr, Group as Ue, PerspectiveCamera as _r, MathUtils as Rr, OrthographicCamera as Lr, InterpolateLinear as Ye, AnimationClip as Mr, Bone as wr, Object3D as Ir, PropertyBinding as br, Matrix4 as qe, NearestFilter as xr, NearestMipmapNearestFilter as Cr, LinearMipmapNearestFilter as Or, NearestMipmapLinearFilter as Fr, ClampToEdgeWrapping as Dr, MirroredRepeatWrapping as Pr, InterpolateDiscrete as Ur, RGBAFormat as $e, FrontSide as Gr, TriangleFanDrawMode as Je, TriangleStripDrawMode as Nr, VectorKeyframeTrack as Hr, QuaternionKeyframeTrack as kr, NumberKeyframeTrack as Br, Skeleton as Kr, Box3 as Vr, Vector3 as Ee, Sphere as jr, CompressedTextureLoader as er, RGB_ETC1_Format as Xr, RGBA_S3TC_DXT5_Format as zr, RGBA_S3TC_DXT3_Format as Wr, RGB_S3TC_DXT1_Format as Yr } from "three";
256
+ import { Loader as Ee, LoaderUtils as pe, FileLoader as _e, Color as re, SpotLight as or, PointLight as ir, DirectionalLight as ur, MeshBasicMaterial as he, MeshPhysicalMaterial as ke, Vector2 as Be, MeshStandardMaterial as ve, TangentSpaceNormalMap as lr, Interpolant as Ke, MeshPhongMaterial as fr, TextureLoader as cr, InterleavedBuffer as dr, InterleavedBufferAttribute as pr, BufferAttribute as Re, RGBFormat as je, RGBAFormat as Ze, LinearMipmapLinearFilter as Ve, NearestMipmapLinearFilter as hr, LinearMipmapNearestFilter as vr, NearestMipmapNearestFilter as Tr, LinearFilter as Xe, NearestFilter as gr, RepeatWrapping as Fe, MirroredRepeatWrapping as mr, ClampToEdgeWrapping as Ar, PointsMaterial as Sr, Material as ze, LineBasicMaterial as yr, DoubleSide as Er, sRGBEncoding as We, BufferGeometry as $e, SkinnedMesh as _r, Mesh as Rr, LineSegments as Lr, Line as Mr, LineLoop as wr, Points as Ir, Group as Ue, PerspectiveCamera as br, MathUtils as xr, OrthographicCamera as Cr, InterpolateDiscrete as Or, InterpolateLinear as Ye, AnimationClip as Pr, Bone as Dr, Object3D as Fr, PropertyBinding as Ur, Matrix4 as qe, FrontSide as Gr, TriangleFanDrawMode as Je, Skeleton as Hr, Box3 as Nr, Vector3 as ye, Sphere as kr, TriangleStripDrawMode as Br, VectorKeyframeTrack as Kr, QuaternionKeyframeTrack as jr, NumberKeyframeTrack as Vr, CompressedTextureLoader as er, RGB_ETC1_Format as Xr, RGBA_S3TC_DXT5_Format as zr, RGBA_S3TC_DXT3_Format as Wr, RGB_S3TC_DXT1_Format as Yr } from "three";
257
257
  var Ge = function(p, T) {
258
258
  return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(u, m) {
259
259
  u.__proto__ = m;
@@ -270,11 +270,11 @@ function rr(p, T) {
270
270
  }
271
271
  p.prototype = T === null ? Object.create(T) : (u.prototype = T.prototype, new u());
272
272
  }
273
- var qr = function() {
273
+ var qr = (function() {
274
274
  function p(e) {
275
- ye.call(this, e), this.dracoLoader = null, this.ddsLoader = null;
275
+ Ee.call(this, e), this.dracoLoader = null, this.ddsLoader = null;
276
276
  }
277
- p.prototype = Object.assign(Object.create(ye.prototype), {
277
+ p.prototype = Object.assign(Object.create(Ee.prototype), {
278
278
  constructor: p,
279
279
  load: function(e, r, t, n) {
280
280
  var a = this, i;
@@ -304,9 +304,9 @@ var qr = function() {
304
304
  a = e;
305
305
  else {
306
306
  var s = pe.decodeText(new Uint8Array(e, 0, 4));
307
- if (s === F) {
307
+ if (s === P) {
308
308
  try {
309
- i[u.KHR_BINARY_GLTF] = new P(e);
309
+ i[u.KHR_BINARY_GLTF] = new F(e);
310
310
  } catch (d) {
311
311
  n && n(d);
312
312
  return;
@@ -465,15 +465,15 @@ var qr = function() {
465
465
  var n = [], a = r.extensions[this.name];
466
466
  return a.transmissionFactor !== void 0 && (e.premultipliedAlpha = !0, e.transparent = !0, e.opacity = e.opacity !== void 0 ? e.opacity : 0.5), Promise.all(n);
467
467
  };
468
- var F = "glTF", R = 12, I = { JSON: 1313821514, BIN: 5130562 };
469
- function P(e) {
468
+ var P = "glTF", R = 12, I = { JSON: 1313821514, BIN: 5130562 };
469
+ function F(e) {
470
470
  this.name = u.KHR_BINARY_GLTF, this.content = null, this.body = null;
471
471
  var r = new DataView(e, 0, R);
472
472
  if (this.header = {
473
473
  magic: pe.decodeText(new Uint8Array(e.slice(0, 4))),
474
474
  version: r.getUint32(4, !0),
475
475
  length: r.getUint32(8, !0)
476
- }, this.header.magic !== F)
476
+ }, this.header.magic !== P)
477
477
  throw new Error("THREE.GLTFLoader: Unsupported glTF-Binary header.");
478
478
  if (this.header.version < 2)
479
479
  throw new Error("THREE.GLTFLoader: Legacy binary file detected.");
@@ -512,13 +512,13 @@ var qr = function() {
512
512
  }
513
513
  }
514
514
  return r.getDependency("bufferView", a).then(function(A) {
515
- return new Promise(function(y) {
516
- n.decodeDracoFile(A, function(E) {
517
- for (var S in E.attributes) {
518
- var L = E.attributes[S], O = o[S];
515
+ return new Promise(function(E) {
516
+ n.decodeDracoFile(A, function(y) {
517
+ for (var S in y.attributes) {
518
+ var L = y.attributes[S], O = o[S];
519
519
  O !== void 0 && (L.normalized = O);
520
520
  }
521
- y(E);
521
+ E(y);
522
522
  }, s, l);
523
523
  });
524
524
  });
@@ -682,9 +682,9 @@ var qr = function() {
682
682
  r[i] = t[a + i];
683
683
  return r;
684
684
  }, D.prototype.beforeStart_ = D.prototype.copySampleValue_, D.prototype.afterEnd_ = D.prototype.copySampleValue_, D.prototype.interpolate_ = function(e, r, t, n) {
685
- for (var a = this.resultBuffer, i = this.sampleValues, s = this.valueSize, o = s * 2, l = s * 3, f = n - r, h = (t - r) / f, c = h * h, d = c * h, A = e * l, y = A - l, E = -2 * d + 3 * c, S = d - c, L = 1 - E, O = S - c + h, G = 0; G !== s; G++) {
686
- var te = i[y + G + s], ae = i[y + G + o] * f, $ = i[A + G + s], B = i[A + G] * f;
687
- a[G] = L * te + O * ae + E * $ + S * B;
685
+ for (var a = this.resultBuffer, i = this.sampleValues, s = this.valueSize, o = s * 2, l = s * 3, f = n - r, h = (t - r) / f, c = h * h, d = c * h, A = e * l, E = A - l, y = -2 * d + 3 * c, S = d - c, L = 1 - y, O = S - c + h, G = 0; G !== s; G++) {
686
+ var te = i[E + G + s], ae = i[E + G + o] * f, $ = i[A + G + s], B = i[A + G] * f;
687
+ a[G] = L * te + O * ae + y * $ + S * B;
688
688
  }
689
689
  return a;
690
690
  };
@@ -699,26 +699,14 @@ var qr = function() {
699
699
  var n = [], a = r.extensions[this.name];
700
700
  return a.lightMapTexture !== void 0 && n.push(t.assignTexture(e, "lightMap", a.lightMapTexture)), a.lightMapIntensity !== void 0 && (e.lightMapIntensity = a.lightMapIntensity), Promise.all(n);
701
701
  };
702
- var H = {
703
- FLOAT: 5126,
704
- //FLOAT_MAT2: 35674,
705
- FLOAT_MAT3: 35675,
706
- FLOAT_MAT4: 35676,
707
- FLOAT_VEC2: 35664,
708
- FLOAT_VEC3: 35665,
709
- FLOAT_VEC4: 35666,
710
- LINEAR: 9729,
711
- REPEAT: 10497,
712
- SAMPLER_2D: 35678,
702
+ var N = {
713
703
  POINTS: 0,
714
704
  LINES: 1,
715
705
  LINE_LOOP: 2,
716
706
  LINE_STRIP: 3,
717
707
  TRIANGLES: 4,
718
708
  TRIANGLE_STRIP: 5,
719
- TRIANGLE_FAN: 6,
720
- UNSIGNED_BYTE: 5121,
721
- UNSIGNED_SHORT: 5123
709
+ TRIANGLE_FAN: 6
722
710
  }, Q = {
723
711
  5120: Int8Array,
724
712
  5121: Uint8Array,
@@ -727,16 +715,16 @@ var qr = function() {
727
715
  5125: Uint32Array,
728
716
  5126: Float32Array
729
717
  }, Z = {
730
- 9728: xr,
731
- 9729: Ve,
732
- 9984: Cr,
733
- 9985: Or,
734
- 9986: Fr,
735
- 9987: je
718
+ 9728: gr,
719
+ 9729: Xe,
720
+ 9984: Tr,
721
+ 9985: vr,
722
+ 9986: hr,
723
+ 9987: Ve
736
724
  }, X = {
737
- 33071: Dr,
738
- 33648: Pr,
739
- 10497: Pe
725
+ 33071: Ar,
726
+ 33648: mr,
727
+ 10497: Fe
740
728
  }, z = {
741
729
  SCALAR: 1,
742
730
  VEC2: 2,
@@ -754,7 +742,7 @@ var qr = function() {
754
742
  COLOR_0: "color",
755
743
  WEIGHTS_0: "skinWeight",
756
744
  JOINTS_0: "skinIndex"
757
- }, V = {
745
+ }, j = {
758
746
  scale: "scale",
759
747
  translation: "position",
760
748
  rotation: "quaternion",
@@ -764,14 +752,14 @@ var qr = function() {
764
752
  // We use a custom interpolant (GLTFCubicSplineInterpolation) for CUBICSPLINE tracks. Each
765
753
  // keyframe track will be initialized with a default interpolation type, then modified.
766
754
  LINEAR: Ye,
767
- STEP: Ur
755
+ STEP: Or
768
756
  }, fe = {
769
757
  OPAQUE: "OPAQUE",
770
758
  MASK: "MASK",
771
759
  BLEND: "BLEND"
772
760
  }, Te = {
773
- "image/png": $e,
774
- "image/jpeg": Xe
761
+ "image/png": Ze,
762
+ "image/jpeg": je
775
763
  };
776
764
  function ge(e, r) {
777
765
  return typeof e != "string" || e === "" ? "" : (/^https?:\/\//i.test(r) && /^\//.test(e) && (r = r.replace(/(^https?:\/\/[^\/]+).*/i, "$1")), /^(https?:)?\/\//i.test(e) || /^data:.*,.*$/i.test(e) || /^blob:.*$/i.test(e) ? e : r + e);
@@ -951,21 +939,21 @@ var qr = function() {
951
939
  return Promise.resolve(null);
952
940
  var a = [];
953
941
  return n.bufferView !== void 0 ? a.push(this.getDependency("bufferView", n.bufferView)) : a.push(null), n.sparse !== void 0 && (a.push(this.getDependency("bufferView", n.sparse.indices.bufferView)), a.push(this.getDependency("bufferView", n.sparse.values.bufferView))), Promise.all(a).then(function(i) {
954
- var s = i[0], o = z[n.type], l = Q[n.componentType], f = l.BYTES_PER_ELEMENT, h = f * o, c = n.byteOffset || 0, d = n.bufferView !== void 0 ? t.bufferViews[n.bufferView].byteStride : void 0, A = n.normalized === !0, y, E;
942
+ var s = i[0], o = z[n.type], l = Q[n.componentType], f = l.BYTES_PER_ELEMENT, h = f * o, c = n.byteOffset || 0, d = n.bufferView !== void 0 ? t.bufferViews[n.bufferView].byteStride : void 0, A = n.normalized === !0, E, y;
955
943
  if (d && d !== h) {
956
944
  var S = Math.floor(c / d), L = "InterleavedBuffer:" + n.bufferView + ":" + n.componentType + ":" + S + ":" + n.count, O = r.cache.get(L);
957
- O || (y = new l(s, S * d, n.count * d / f), O = new dr(y, d / f), r.cache.add(L, O)), E = new pr(O, o, c % d / f, A);
945
+ O || (E = new l(s, S * d, n.count * d / f), O = new dr(E, d / f), r.cache.add(L, O)), y = new pr(O, o, c % d / f, A);
958
946
  } else
959
- s === null ? y = new l(n.count * o) : y = new l(s, c, n.count * o), E = new Re(y, o, A);
947
+ s === null ? E = new l(n.count * o) : E = new l(s, c, n.count * o), y = new Re(E, o, A);
960
948
  if (n.sparse !== void 0) {
961
949
  var G = z.SCALAR, te = Q[n.sparse.indices.componentType], ae = n.sparse.indices.byteOffset || 0, $ = n.sparse.values.byteOffset || 0, B = new te(i[1], ae, n.sparse.count * G), ue = new l(i[2], $, n.sparse.count * o);
962
- s !== null && (E = new Re(E.array.slice(), E.itemSize, E.normalized));
963
- for (var N = 0, be = B.length; N < be; N++) {
964
- var se = B[N];
965
- if (E.setX(se, ue[N * o]), o >= 2 && E.setY(se, ue[N * o + 1]), o >= 3 && E.setZ(se, ue[N * o + 2]), o >= 4 && E.setW(se, ue[N * o + 3]), o >= 5) throw new Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.");
950
+ s !== null && (y = new Re(y.array.slice(), y.itemSize, y.normalized));
951
+ for (var H = 0, be = B.length; H < be; H++) {
952
+ var se = B[H];
953
+ if (y.setX(se, ue[H * o]), o >= 2 && y.setY(se, ue[H * o + 1]), o >= 3 && y.setZ(se, ue[H * o + 2]), o >= 4 && y.setW(se, ue[H * o + 3]), o >= 5) throw new Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.");
966
954
  }
967
955
  }
968
- return E;
956
+ return y;
969
957
  });
970
958
  }, C.prototype.loadTexture = function(e) {
971
959
  var r = this, t = this.json, n = this.options, a = this.textureLoader, i = self.URL || self.webkitURL, s = t.textures[e], o = s.extensions || {}, l;
@@ -977,13 +965,13 @@ var qr = function() {
977
965
  return f = i.createObjectURL(d), f;
978
966
  })), Promise.resolve(f).then(function(c) {
979
967
  var d = n.manager.getHandler(c);
980
- return d || (d = o[u.MSFT_TEXTURE_DDS] ? r.extensions[u.MSFT_TEXTURE_DDS].ddsLoader : a), new Promise(function(A, y) {
981
- d.load(ge(c, n.path), A, void 0, y);
968
+ return d || (d = o[u.MSFT_TEXTURE_DDS] ? r.extensions[u.MSFT_TEXTURE_DDS].ddsLoader : a), new Promise(function(A, E) {
969
+ d.load(ge(c, n.path), A, void 0, E);
982
970
  });
983
971
  }).then(function(c) {
984
972
  h === !0 && i.revokeObjectURL(f), c.flipY = !1, s.name && (c.name = s.name), l.mimeType in Te && (c.format = Te[l.mimeType]);
985
973
  var d = t.samplers || {}, A = d[s.sampler] || {};
986
- return c.magFilter = Z[A.magFilter] || Ve, c.minFilter = Z[A.minFilter] || je, c.wrapS = X[A.wrapS] || Pe, c.wrapT = X[A.wrapT] || Pe, r.associations.set(c, {
974
+ return c.magFilter = Z[A.magFilter] || Xe, c.minFilter = Z[A.minFilter] || Ve, c.wrapS = X[A.wrapS] || Fe, c.wrapT = X[A.wrapT] || Fe, r.associations.set(c, {
987
975
  type: "textures",
988
976
  index: e
989
977
  }), c;
@@ -998,7 +986,7 @@ var qr = function() {
998
986
  case "metalnessMap":
999
987
  case "normalMap":
1000
988
  case "roughnessMap":
1001
- a.format = Xe;
989
+ a.format = je;
1002
990
  break;
1003
991
  }
1004
992
  if (t.texCoord !== void 0 && t.texCoord != 0 && !(r === "aoMap" && t.texCoord == 1) && console.warn("THREE.GLTFLoader: Custom UV set " + t.texCoord + " for texture " + r + " not yet supported."), n.extensions[u.KHR_TEXTURE_TRANSFORM]) {
@@ -1014,10 +1002,10 @@ var qr = function() {
1014
1002
  var r = e.geometry, t = e.material, n = r.attributes.tangent !== void 0, a = r.attributes.color !== void 0, i = r.attributes.normal === void 0, s = e.isSkinnedMesh === !0, o = Object.keys(r.morphAttributes).length > 0, l = o && r.morphAttributes.normal !== void 0;
1015
1003
  if (e.isPoints) {
1016
1004
  var f = "PointsMaterial:" + t.uuid, h = this.cache.get(f);
1017
- h || (h = new hr(), ze.prototype.copy.call(h, t), h.color.copy(t.color), h.map = t.map, h.sizeAttenuation = !1, this.cache.add(f, h)), t = h;
1005
+ h || (h = new Sr(), ze.prototype.copy.call(h, t), h.color.copy(t.color), h.map = t.map, h.sizeAttenuation = !1, this.cache.add(f, h)), t = h;
1018
1006
  } else if (e.isLine) {
1019
1007
  var f = "LineBasicMaterial:" + t.uuid, c = this.cache.get(f);
1020
- c || (c = new vr(), ze.prototype.copy.call(c, t), c.color.copy(t.color), this.cache.add(f, c)), t = c;
1008
+ c || (c = new yr(), ze.prototype.copy.call(c, t), c.color.copy(t.color), this.cache.add(f, c)), t = c;
1021
1009
  }
1022
1010
  if (n || a || i || s || o) {
1023
1011
  var f = "ClonedMaterial:" + t.uuid + ":";
@@ -1043,19 +1031,19 @@ var qr = function() {
1043
1031
  }
1044
1032
  c.baseColorTexture !== void 0 && l.push(r.assignTexture(s, "map", c.baseColorTexture)), s.metalness = c.metallicFactor !== void 0 ? c.metallicFactor : 1, s.roughness = c.roughnessFactor !== void 0 ? c.roughnessFactor : 1, c.metallicRoughnessTexture !== void 0 && (l.push(r.assignTexture(s, "metalnessMap", c.metallicRoughnessTexture)), l.push(r.assignTexture(s, "roughnessMap", c.metallicRoughnessTexture)));
1045
1033
  }
1046
- a.doubleSided === !0 && (s.side = Tr);
1034
+ a.doubleSided === !0 && (s.side = Er);
1047
1035
  var A = a.alphaMode || fe.OPAQUE;
1048
1036
  if (A === fe.BLEND ? (s.transparent = !0, s.depthWrite = !1) : (s.transparent = !1, A === fe.MASK && (s.alphaTest = a.alphaCutoff !== void 0 ? a.alphaCutoff : 0.5)), a.normalTexture !== void 0 && i !== he && (l.push(r.assignTexture(s, "normalMap", a.normalTexture)), s.normalScale = new Be(1, 1), a.normalTexture.scale !== void 0 && s.normalScale.set(a.normalTexture.scale, a.normalTexture.scale)), a.occlusionTexture !== void 0 && i !== he && (l.push(r.assignTexture(s, "aoMap", a.occlusionTexture)), a.occlusionTexture.strength !== void 0 && (s.aoMapIntensity = a.occlusionTexture.strength)), a.emissiveFactor !== void 0 && i !== he && (s.emissive = new re().fromArray(a.emissiveFactor)), a.emissiveTexture !== void 0 && i !== he && l.push(r.assignTexture(s, "emissiveMap", a.emissiveTexture)), o[u.KHR_MATERIALS_CLEARCOAT]) {
1049
- var y = n[u.KHR_MATERIALS_CLEARCOAT];
1050
- i = y.getMaterialType(), l.push(y.extendParams(s, { extensions: o }, r));
1037
+ var E = n[u.KHR_MATERIALS_CLEARCOAT];
1038
+ i = E.getMaterialType(), l.push(E.extendParams(s, { extensions: o }, r));
1051
1039
  }
1052
1040
  if (o[u.KHR_MATERIALS_TRANSMISSION]) {
1053
- var y = n[u.KHR_MATERIALS_TRANSMISSION];
1054
- i = y.getMaterialType(), l.push(y.extendParams(s, { extensions: o }, r));
1041
+ var E = n[u.KHR_MATERIALS_TRANSMISSION];
1042
+ i = E.getMaterialType(), l.push(E.extendParams(s, { extensions: o }, r));
1055
1043
  }
1056
1044
  if (o[u.REALSEE_MATERIALS_LIGHTMAP]) {
1057
- var E = n[u.REALSEE_MATERIALS_LIGHTMAP];
1058
- i = E.getMaterialType(), l.push(E.extendParams(s, { extensions: o }, r));
1045
+ var y = n[u.REALSEE_MATERIALS_LIGHTMAP];
1046
+ i = y.getMaterialType(), l.push(y.extendParams(s, { extensions: o }, r));
1059
1047
  }
1060
1048
  return Promise.all(l).then(function() {
1061
1049
  var S;
@@ -1063,13 +1051,13 @@ var qr = function() {
1063
1051
  });
1064
1052
  };
1065
1053
  function me(e, r, t) {
1066
- var n = r.attributes, a = new Vr();
1054
+ var n = r.attributes, a = new Nr();
1067
1055
  if (n.POSITION !== void 0) {
1068
1056
  var i = t.json.accessors[n.POSITION], s = i.min, o = i.max;
1069
1057
  if (s !== void 0 && o !== void 0)
1070
1058
  a.set(
1071
- new Ee(s[0], s[1], s[2]),
1072
- new Ee(o[0], o[1], o[2])
1059
+ new ye(s[0], s[1], s[2]),
1060
+ new ye(o[0], o[1], o[2])
1073
1061
  );
1074
1062
  else {
1075
1063
  console.warn("THREE.GLTFLoader: Missing min/max properties for accessor POSITION.");
@@ -1079,7 +1067,7 @@ var qr = function() {
1079
1067
  return;
1080
1068
  var l = r.targets;
1081
1069
  if (l !== void 0) {
1082
- for (var f = new Ee(), h = new Ee(), c = 0, d = l.length; c < d; c++) {
1070
+ for (var f = new ye(), h = new ye(), c = 0, d = l.length; c < d; c++) {
1083
1071
  var A = l[c];
1084
1072
  if (A.POSITION !== void 0) {
1085
1073
  var i = t.json.accessors[A.POSITION], s = i.min, o = i.max;
@@ -1089,10 +1077,10 @@ var qr = function() {
1089
1077
  a.expandByVector(f);
1090
1078
  }
1091
1079
  e.boundingBox = a;
1092
- var y = new jr();
1093
- a.getCenter(y.center), y.radius = a.min.distanceTo(a.max) / 2, e.boundingSphere = y;
1080
+ var E = new kr();
1081
+ a.getCenter(E.center), E.radius = a.min.distanceTo(a.max) / 2, e.boundingSphere = E;
1094
1082
  }
1095
- function j(e, r, t) {
1083
+ function V(e, r, t) {
1096
1084
  var n = r.attributes, a = [];
1097
1085
  function i(f, h) {
1098
1086
  return t.getDependency("accessor", f).then(function(c) {
@@ -1139,7 +1127,7 @@ var qr = function() {
1139
1127
  var r = this, t = this.extensions, n = this.primitiveCache;
1140
1128
  function a(d) {
1141
1129
  return t[u.KHR_DRACO_MESH_COMPRESSION].decodePrimitive(d, r).then(function(A) {
1142
- return j(A, d, r);
1130
+ return V(A, d, r);
1143
1131
  });
1144
1132
  }
1145
1133
  for (var i = [], s = 0, o = e.length; s < o; s++) {
@@ -1148,7 +1136,7 @@ var qr = function() {
1148
1136
  i.push(h.promise);
1149
1137
  else {
1150
1138
  var c;
1151
- l.extensions && l.extensions[u.KHR_DRACO_MESH_COMPRESSION] ? c = a(l) : c = j(new Ze(), l, r), n[f] = { primitive: l, promise: c }, i.push(c);
1139
+ l.extensions && l.extensions[u.KHR_DRACO_MESH_COMPRESSION] ? c = a(l) : c = V(new $e(), l, r), n[f] = { primitive: l, promise: c }, i.push(c);
1152
1140
  }
1153
1141
  }
1154
1142
  return Promise.all(i);
@@ -1158,25 +1146,25 @@ var qr = function() {
1158
1146
  i.push(l);
1159
1147
  }
1160
1148
  return i.push(r.loadGeometries(a)), Promise.all(i).then(function(f) {
1161
- for (var h = f.slice(0, f.length - 1), c = f[f.length - 1], d = [], A = 0, y = c.length; A < y; A++) {
1162
- var E = c[A], S = a[A], L, O = h[A];
1163
- if (S.mode === H.TRIANGLES || S.mode === H.TRIANGLE_STRIP || S.mode === H.TRIANGLE_FAN || S.mode === void 0)
1164
- L = n.isSkinnedMesh === !0 ? new gr(E, O) : new mr(E, O), L.isSkinnedMesh === !0 && !L.geometry.attributes.skinWeight.normalized && L.normalizeSkinWeights(), S.mode === H.TRIANGLE_STRIP ? L.geometry = ie(L.geometry, Nr) : S.mode === H.TRIANGLE_FAN && (L.geometry = ie(L.geometry, Je));
1165
- else if (S.mode === H.LINES)
1166
- L = new Ar(E, O);
1167
- else if (S.mode === H.LINE_STRIP)
1168
- L = new Sr(E, O);
1169
- else if (S.mode === H.LINE_LOOP)
1170
- L = new Er(E, O);
1171
- else if (S.mode === H.POINTS)
1172
- L = new yr(E, O);
1149
+ for (var h = f.slice(0, f.length - 1), c = f[f.length - 1], d = [], A = 0, E = c.length; A < E; A++) {
1150
+ var y = c[A], S = a[A], L, O = h[A];
1151
+ if (S.mode === N.TRIANGLES || S.mode === N.TRIANGLE_STRIP || S.mode === N.TRIANGLE_FAN || S.mode === void 0)
1152
+ L = n.isSkinnedMesh === !0 ? new _r(y, O) : new Rr(y, O), L.isSkinnedMesh === !0 && !L.geometry.attributes.skinWeight.normalized && L.normalizeSkinWeights(), S.mode === N.TRIANGLE_STRIP ? L.geometry = ie(L.geometry, Br) : S.mode === N.TRIANGLE_FAN && (L.geometry = ie(L.geometry, Je));
1153
+ else if (S.mode === N.LINES)
1154
+ L = new Lr(y, O);
1155
+ else if (S.mode === N.LINE_STRIP)
1156
+ L = new Mr(y, O);
1157
+ else if (S.mode === N.LINE_LOOP)
1158
+ L = new wr(y, O);
1159
+ else if (S.mode === N.POINTS)
1160
+ L = new Ir(y, O);
1173
1161
  else
1174
1162
  throw new Error("THREE.GLTFLoader: Primitive mode unsupported: " + S.mode);
1175
1163
  Object.keys(L.geometry.morphAttributes).length > 0 && Ie(L, n), L.name = n.name || "mesh_" + e, c.length > 1 && (L.name += "_" + A), W(L, n), r.assignFinalMaterial(L), d.push(L);
1176
1164
  }
1177
1165
  if (d.length === 1)
1178
1166
  return d[0];
1179
- for (var G = new Ue(), A = 0, y = d.length; A < y; A++)
1167
+ for (var G = new Ue(), A = 0, E = d.length; A < E; A++)
1180
1168
  G.add(d[A]);
1181
1169
  return G;
1182
1170
  });
@@ -1186,7 +1174,7 @@ var qr = function() {
1186
1174
  console.warn("THREE.GLTFLoader: Missing camera parameters.");
1187
1175
  return;
1188
1176
  }
1189
- return t.type === "perspective" ? r = new _r(Rr.radToDeg(n.yfov), n.aspectRatio || 1, n.znear || 1, n.zfar || 2e6) : t.type === "orthographic" && (r = new Lr(-n.xmag, n.xmag, n.ymag, -n.ymag, n.znear, n.zfar)), t.name && (r.name = t.name), W(r, t), Promise.resolve(r);
1177
+ return t.type === "perspective" ? r = new br(xr.radToDeg(n.yfov), n.aspectRatio || 1, n.znear || 1, n.zfar || 2e6) : t.type === "orthographic" && (r = new Cr(-n.xmag, n.xmag, n.ymag, -n.ymag, n.znear, n.zfar)), t.name && (r.name = t.name), W(r, t), Promise.resolve(r);
1190
1178
  }, C.prototype.loadSkin = function(e) {
1191
1179
  var r = this.json.skins[e], t = { joints: r.joints };
1192
1180
  return r.inverseBindMatrices === void 0 ? Promise.resolve(t) : this.getDependency("accessor", r.inverseBindMatrices).then(function(n) {
@@ -1194,8 +1182,8 @@ var qr = function() {
1194
1182
  });
1195
1183
  }, C.prototype.loadAnimation = function(e) {
1196
1184
  for (var r = this.json, t = r.animations[e], n = [], a = [], i = [], s = [], o = [], l = 0, f = t.channels.length; l < f; l++) {
1197
- var h = t.channels[l], c = t.samplers[h.sampler], d = h.target, A = d.node !== void 0 ? d.node : d.id, y = t.parameters !== void 0 ? t.parameters[c.input] : c.input, E = t.parameters !== void 0 ? t.parameters[c.output] : c.output;
1198
- n.push(this.getDependency("node", A)), a.push(this.getDependency("accessor", y)), i.push(this.getDependency("accessor", E)), s.push(c), o.push(d);
1185
+ var h = t.channels[l], c = t.samplers[h.sampler], d = h.target, A = d.node !== void 0 ? d.node : d.id, E = t.parameters !== void 0 ? t.parameters[c.input] : c.input, y = t.parameters !== void 0 ? t.parameters[c.output] : c.output;
1186
+ n.push(this.getDependency("node", A)), a.push(this.getDependency("accessor", E)), i.push(this.getDependency("accessor", y)), s.push(c), o.push(d);
1199
1187
  }
1200
1188
  return Promise.all([
1201
1189
  Promise.all(n),
@@ -1205,25 +1193,25 @@ var qr = function() {
1205
1193
  Promise.all(o)
1206
1194
  ]).then(function(S) {
1207
1195
  for (var L = S[0], O = S[1], G = S[2], te = S[3], ae = S[4], $ = [], B = 0, ue = L.length; B < ue; B++) {
1208
- var N = L[B], be = O[B], se = G[B], xe = te[B], Ce = ae[B];
1209
- if (N !== void 0) {
1210
- N.updateMatrix(), N.matrixAutoUpdate = !0;
1196
+ var H = L[B], be = O[B], se = G[B], xe = te[B], Ce = ae[B];
1197
+ if (H !== void 0) {
1198
+ H.updateMatrix(), H.matrixAutoUpdate = !0;
1211
1199
  var Ae;
1212
- switch (V[Ce.path]) {
1213
- case V.weights:
1214
- Ae = Br;
1200
+ switch (j[Ce.path]) {
1201
+ case j.weights:
1202
+ Ae = Vr;
1215
1203
  break;
1216
- case V.rotation:
1217
- Ae = kr;
1204
+ case j.rotation:
1205
+ Ae = jr;
1218
1206
  break;
1219
- case V.position:
1220
- case V.scale:
1207
+ case j.position:
1208
+ case j.scale:
1221
1209
  default:
1222
- Ae = Hr;
1210
+ Ae = Kr;
1223
1211
  break;
1224
1212
  }
1225
- var nr = N.name ? N.name : N.uuid, tr = xe.interpolation !== void 0 ? Le[xe.interpolation] : Ye, Se = [];
1226
- V[Ce.path] === V.weights ? N.traverse(function(de) {
1213
+ var nr = H.name ? H.name : H.uuid, tr = xe.interpolation !== void 0 ? Le[xe.interpolation] : Ye, Se = [];
1214
+ j[Ce.path] === j.weights ? H.traverse(function(de) {
1227
1215
  de.isMesh === !0 && de.morphTargetInfluences && Se.push(de.name ? de.name : de.uuid);
1228
1216
  }) : Se.push(nr);
1229
1217
  var q = se.array;
@@ -1239,29 +1227,29 @@ var qr = function() {
1239
1227
  ce = 1 / 65535;
1240
1228
  else
1241
1229
  throw new Error("THREE.GLTFLoader: Unsupported output accessor component type.");
1242
- for (var He = new Float32Array(q.length), ee = 0, Oe = q.length; ee < Oe; ee++)
1243
- He[ee] = q[ee] * ce;
1244
- q = He;
1230
+ for (var Ne = new Float32Array(q.length), ee = 0, Oe = q.length; ee < Oe; ee++)
1231
+ Ne[ee] = q[ee] * ce;
1232
+ q = Ne;
1245
1233
  }
1246
1234
  for (var ee = 0, Oe = Se.length; ee < Oe; ee++) {
1247
- var Fe = new Ae(
1248
- Se[ee] + "." + V[Ce.path],
1235
+ var Pe = new Ae(
1236
+ Se[ee] + "." + j[Ce.path],
1249
1237
  be.array,
1250
1238
  q,
1251
1239
  tr
1252
1240
  );
1253
- xe.interpolation === "CUBICSPLINE" && (Fe.createInterpolant = function(sr) {
1241
+ xe.interpolation === "CUBICSPLINE" && (Pe.createInterpolant = function(sr) {
1254
1242
  return new D(this.times, this.values, this.getValueSize() / 3, sr);
1255
- }, Fe.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline = !0), $.push(Fe);
1243
+ }, Pe.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline = !0), $.push(Pe);
1256
1244
  }
1257
1245
  }
1258
1246
  }
1259
1247
  var ar = t.name ? t.name : "animation_" + e;
1260
- return new Mr(ar, void 0, $);
1248
+ return new Pr(ar, void 0, $);
1261
1249
  });
1262
1250
  }, C.prototype.loadNode = function(e) {
1263
1251
  var r = this.json, t = this.extensions, n = this, a = r.meshReferences, i = r.meshUses, s = r.nodes[e];
1264
- return function() {
1252
+ return (function() {
1265
1253
  var o = [];
1266
1254
  return s.mesh !== void 0 && o.push(n.getDependency("mesh", s.mesh).then(function(l) {
1267
1255
  var f;
@@ -1276,19 +1264,19 @@ var qr = function() {
1276
1264
  c.morphTargetInfluences[d] = s.weights[d];
1277
1265
  }), f;
1278
1266
  })), s.camera !== void 0 && o.push(n.getDependency("camera", s.camera)), s.extensions && s.extensions[u.KHR_LIGHTS_PUNCTUAL] && s.extensions[u.KHR_LIGHTS_PUNCTUAL].light !== void 0 && o.push(n.getDependency("light", s.extensions[u.KHR_LIGHTS_PUNCTUAL].light)), Promise.all(o);
1279
- }().then(function(o) {
1267
+ })().then(function(o) {
1280
1268
  var l;
1281
- if (s.isBone === !0 ? l = new wr() : o.length > 1 ? l = new Ue() : o.length === 1 ? l = o[0] : l = new Ir(), l !== o[0])
1269
+ if (s.isBone === !0 ? l = new Dr() : o.length > 1 ? l = new Ue() : o.length === 1 ? l = o[0] : l = new Fr(), l !== o[0])
1282
1270
  for (var f = 0, h = o.length; f < h; f++)
1283
1271
  l.add(o[f]);
1284
- if (s.name && (l.userData.name = s.name, l.name = br.sanitizeNodeName(s.name)), W(l, s), s.extensions && oe(t, l, s), s.matrix !== void 0) {
1272
+ if (s.name && (l.userData.name = s.name, l.name = Ur.sanitizeNodeName(s.name)), W(l, s), s.extensions && oe(t, l, s), s.matrix !== void 0) {
1285
1273
  var c = new qe();
1286
1274
  c.fromArray(s.matrix), l.applyMatrix4(c);
1287
1275
  } else
1288
1276
  s.translation !== void 0 && l.position.fromArray(s.translation), s.rotation !== void 0 && l.quaternion.fromArray(s.rotation), s.scale !== void 0 && l.scale.fromArray(s.scale);
1289
1277
  return n.associations.set(l, { type: "nodes", index: e }), l;
1290
1278
  });
1291
- }, C.prototype.loadScene = /* @__PURE__ */ function() {
1279
+ }, C.prototype.loadScene = /* @__PURE__ */ (function() {
1292
1280
  function e(r, t, n, a) {
1293
1281
  var i = n.nodes[r];
1294
1282
  return a.getDependency("node", r).then(function(s) {
@@ -1303,15 +1291,15 @@ var qr = function() {
1303
1291
  return s.traverse(function(f) {
1304
1292
  if (f.isMesh) {
1305
1293
  for (var h = [], c = [], d = 0, A = l.length; d < A; d++) {
1306
- var y = l[d];
1307
- if (y) {
1308
- h.push(y);
1309
- var E = new qe();
1310
- o.inverseBindMatrices !== void 0 && E.fromArray(o.inverseBindMatrices.array, d * 16), c.push(E);
1294
+ var E = l[d];
1295
+ if (E) {
1296
+ h.push(E);
1297
+ var y = new qe();
1298
+ o.inverseBindMatrices !== void 0 && y.fromArray(o.inverseBindMatrices.array, d * 16), c.push(y);
1311
1299
  } else
1312
1300
  console.warn('THREE.GLTFLoader: Joint "%s" could not be found.', o.joints[d]);
1313
1301
  }
1314
- f.bind(new Kr(h, c), f.matrixWorld);
1302
+ f.bind(new Hr(h, c), f.matrixWorld);
1315
1303
  }
1316
1304
  }), s;
1317
1305
  });
@@ -1335,9 +1323,9 @@ var qr = function() {
1335
1323
  return o;
1336
1324
  });
1337
1325
  };
1338
- }(), p;
1339
- }(), k = function(p) {
1340
- ye.call(this, p), this.decoderPath = "", this.decoderConfig = {}, this.decoderBinary = null, this.decoderPending = null, this.workerLimit = 4, this.workerPool = [], this.workerNextTaskID = 1, this.workerSourceURL = "", this.defaultAttributeIDs = {
1326
+ })(), p;
1327
+ })(), k = function(p) {
1328
+ Ee.call(this, p), this.decoderPath = "", this.decoderConfig = {}, this.decoderBinary = null, this.decoderPending = null, this.workerLimit = 4, this.workerPool = [], this.workerNextTaskID = 1, this.workerSourceURL = "", this.defaultAttributeIDs = {
1341
1329
  position: "POSITION",
1342
1330
  normal: "NORMAL",
1343
1331
  color: "COLOR",
@@ -1349,7 +1337,7 @@ var qr = function() {
1349
1337
  uv: "Float32Array"
1350
1338
  };
1351
1339
  };
1352
- k.prototype = Object.assign(Object.create(ye.prototype), {
1340
+ k.prototype = Object.assign(Object.create(Ee.prototype), {
1353
1341
  constructor: k,
1354
1342
  setDecoderPath: function(p) {
1355
1343
  return this.decoderPath = p, this;
@@ -1407,8 +1395,8 @@ k.prototype = Object.assign(Object.create(ye.prototype), {
1407
1395
  "THREE.DRACOLoader: Unable to re-decode a buffer with different settings. Buffer has already been transferred."
1408
1396
  );
1409
1397
  }
1410
- var _, x = this.workerNextTaskID++, F = p.byteLength, R = this._getWorker(x, F).then((I) => (_ = I, new Promise((P, b) => {
1411
- _._callbacks[x] = { resolve: P, reject: b }, _.postMessage({ type: "decode", id: x, taskConfig: T, buffer: p }, [p]);
1398
+ var _, x = this.workerNextTaskID++, P = p.byteLength, R = this._getWorker(x, P).then((I) => (_ = I, new Promise((F, b) => {
1399
+ _._callbacks[x] = { resolve: F, reject: b }, _.postMessage({ type: "decode", id: x, taskConfig: T, buffer: p }, [p]);
1412
1400
  }))).then((I) => this._createGeometry(I.geometry));
1413
1401
  return R.catch(() => !0).then(() => {
1414
1402
  _ && x && this._releaseTask(_, x);
@@ -1418,7 +1406,7 @@ k.prototype = Object.assign(Object.create(ye.prototype), {
1418
1406
  }), R;
1419
1407
  },
1420
1408
  _createGeometry: function(p) {
1421
- var T = new Ze();
1409
+ var T = new $e();
1422
1410
  p.index && T.setIndex(new Re(p.index.array, 1));
1423
1411
  for (var u = 0; u < p.attributes.length; u++) {
1424
1412
  var m = p.attributes[u], v = m.name, g = m.array, _ = m.itemSize;
@@ -1495,52 +1483,52 @@ k.DRACOWorker = function() {
1495
1483
  var g = v.data;
1496
1484
  switch (g.type) {
1497
1485
  case "init":
1498
- p = g.decoderConfig, T = new Promise(function(F) {
1486
+ p = g.decoderConfig, T = new Promise(function(P) {
1499
1487
  p.onModuleLoaded = function(R) {
1500
- F({ draco: R });
1488
+ P({ draco: R });
1501
1489
  }, DracoDecoderModule(p);
1502
1490
  });
1503
1491
  break;
1504
1492
  case "decode":
1505
1493
  var _ = g.buffer, x = g.taskConfig;
1506
- T.then((F) => {
1507
- var R = F.draco, I = new R.Decoder(), P = new R.DecoderBuffer();
1508
- P.Init(new Int8Array(_), _.byteLength);
1494
+ T.then((P) => {
1495
+ var R = P.draco, I = new R.Decoder(), F = new R.DecoderBuffer();
1496
+ F.Init(new Int8Array(_), _.byteLength);
1509
1497
  try {
1510
- var b = u(R, I, P, x), M = b.attributes.map((w) => w.array.buffer);
1498
+ var b = u(R, I, F, x), M = b.attributes.map((w) => w.array.buffer);
1511
1499
  b.index && M.push(b.index.array.buffer), self.postMessage({ type: "decode", id: g.id, geometry: b }, M);
1512
1500
  } catch (w) {
1513
1501
  console.error(w), self.postMessage({ type: "error", id: g.id, error: w.message });
1514
1502
  } finally {
1515
- R.destroy(P), R.destroy(I);
1503
+ R.destroy(F), R.destroy(I);
1516
1504
  }
1517
1505
  });
1518
1506
  break;
1519
1507
  }
1520
1508
  };
1521
1509
  function u(v, g, _, x) {
1522
- var F = x.attributeIDs, R = x.attributeTypes, I, P, b = g.GetEncodedGeometryType(_);
1510
+ var P = x.attributeIDs, R = x.attributeTypes, I, F, b = g.GetEncodedGeometryType(_);
1523
1511
  if (b === v.TRIANGULAR_MESH)
1524
- I = new v.Mesh(), P = g.DecodeBufferToMesh(_, I);
1512
+ I = new v.Mesh(), F = g.DecodeBufferToMesh(_, I);
1525
1513
  else if (b === v.POINT_CLOUD)
1526
- I = new v.PointCloud(), P = g.DecodeBufferToPointCloud(_, I);
1514
+ I = new v.PointCloud(), F = g.DecodeBufferToPointCloud(_, I);
1527
1515
  else
1528
1516
  throw new Error("THREE.DRACOLoader: Unexpected geometry type.");
1529
- if (!P.ok() || I.ptr === 0)
1530
- throw new Error("THREE.DRACOLoader: Decoding failed: " + P.error_msg());
1517
+ if (!F.ok() || I.ptr === 0)
1518
+ throw new Error("THREE.DRACOLoader: Decoding failed: " + F.error_msg());
1531
1519
  var M = { index: null, attributes: [] };
1532
- for (var w in F) {
1520
+ for (var w in P) {
1533
1521
  var K = self[R[w]], ne, D;
1534
1522
  if (x.useUniqueIDs)
1535
- D = F[w], ne = g.GetAttributeByUniqueId(I, D);
1523
+ D = P[w], ne = g.GetAttributeByUniqueId(I, D);
1536
1524
  else {
1537
- if (D = g.GetAttributeId(I, v[F[w]]), D === -1) continue;
1525
+ if (D = g.GetAttributeId(I, v[P[w]]), D === -1) continue;
1538
1526
  ne = g.GetAttribute(I, D);
1539
1527
  }
1540
1528
  M.attributes.push(m(v, g, I, w, K, ne));
1541
1529
  }
1542
1530
  if (b === v.TRIANGULAR_MESH) {
1543
- for (var J = I.num_faces(), H = J * 3, Q = new Uint32Array(H), Z = new v.DracoInt32Array(), X = 0; X < J; ++X) {
1531
+ for (var J = I.num_faces(), N = J * 3, Q = new Uint32Array(N), Z = new v.DracoInt32Array(), X = 0; X < J; ++X) {
1544
1532
  g.GetFaceFromMesh(I, X, Z);
1545
1533
  for (var z = 0; z < 3; ++z)
1546
1534
  Q[X * 3 + z] = Z.GetValue(z);
@@ -1549,9 +1537,9 @@ k.DRACOWorker = function() {
1549
1537
  }
1550
1538
  return v.destroy(I), M;
1551
1539
  }
1552
- function m(v, g, _, x, F, R) {
1553
- var I = R.num_components(), P = _.num_points(), b = P * I, M, w;
1554
- switch (F) {
1540
+ function m(v, g, _, x, P, R) {
1541
+ var I = R.num_components(), F = _.num_points(), b = F * I, M, w;
1542
+ switch (P) {
1555
1543
  case Float32Array:
1556
1544
  M = new v.DracoFloat32Array(), g.GetAttributeFloatForAllPoints(_, R, M), w = new Float32Array(b);
1557
1545
  break;
@@ -1598,13 +1586,13 @@ k.releaseDecoderModule = function() {
1598
1586
  k.getDecoderModule = function() {
1599
1587
  console.warn("THREE.DRACOLoader: The .getDecoderModule() method has been removed. Use instance methods.");
1600
1588
  };
1601
- var Ne = function(p) {
1589
+ var He = function(p) {
1602
1590
  er.call(this, p);
1603
1591
  };
1604
- Ne.prototype = Object.assign(Object.create(er.prototype), {
1605
- constructor: Ne,
1592
+ He.prototype = Object.assign(Object.create(er.prototype), {
1593
+ constructor: He,
1606
1594
  parse: function(p, T) {
1607
- var u = { mipmaps: [], width: 0, height: 0, format: null, mipmapCount: 1 }, m = 542327876, v = 131072, g = 512, _ = 1024, x = 2048, F = 4096, R = 8192, I = 16384, P = 32768, b = 4;
1595
+ var u = { mipmaps: [], width: 0, height: 0, format: null, mipmapCount: 1 }, m = 542327876, v = 131072, g = 512, _ = 1024, x = 2048, P = 4096, R = 8192, I = 16384, F = 32768, b = 4;
1608
1596
  function M(l) {
1609
1597
  return l.charCodeAt(0) + (l.charCodeAt(1) << 8) + (l.charCodeAt(2) << 16) + (l.charCodeAt(3) << 24);
1610
1598
  }
@@ -1617,7 +1605,7 @@ Ne.prototype = Object.assign(Object.create(er.prototype), {
1617
1605
  );
1618
1606
  }
1619
1607
  function K(l, f, h, c) {
1620
- for (var d = h * c * 4, A = new Uint8Array(l, f, d), y = new Uint8Array(d), E = 0, S = 0, L = 0; L < c; L++)
1608
+ for (var d = h * c * 4, A = new Uint8Array(l, f, d), E = new Uint8Array(d), y = 0, S = 0, L = 0; L < c; L++)
1621
1609
  for (var O = 0; O < h; O++) {
1622
1610
  var G = A[S];
1623
1611
  S++;
@@ -1626,11 +1614,11 @@ Ne.prototype = Object.assign(Object.create(er.prototype), {
1626
1614
  var ae = A[S];
1627
1615
  S++;
1628
1616
  var $ = A[S];
1629
- S++, y[E] = ae, E++, y[E] = te, E++, y[E] = G, E++, y[E] = $, E++;
1617
+ S++, E[y] = ae, y++, E[y] = te, y++, E[y] = G, y++, E[y] = $, y++;
1630
1618
  }
1631
- return y;
1619
+ return E;
1632
1620
  }
1633
- var ne = M("DXT1"), D = M("DXT3"), J = M("DXT5"), H = M("ETC1"), Q = 31, Z = 0, X = 1, z = 2, le = 3, V = 4, Le = 7, fe = 20, Te = 21, ge = 22, Me = 23, oe = 24, W = 25, we = 26, Ie = 28, U = new Int32Array(p, 0, Q);
1621
+ var ne = M("DXT1"), D = M("DXT3"), J = M("DXT5"), N = M("ETC1"), Q = 31, Z = 0, X = 1, z = 2, le = 3, j = 4, Le = 7, fe = 20, Te = 21, ge = 22, Me = 23, oe = 24, W = 25, we = 26, Ie = 28, U = new Int32Array(p, 0, Q);
1634
1622
  if (U[Z] !== m)
1635
1623
  return console.error("THREE.DDSLoader.parse: Invalid magic number in DDS header."), u;
1636
1624
  if (!U[fe] & b)
@@ -1646,20 +1634,20 @@ Ne.prototype = Object.assign(Object.create(er.prototype), {
1646
1634
  case J:
1647
1635
  Y = 16, u.format = zr;
1648
1636
  break;
1649
- case H:
1637
+ case N:
1650
1638
  Y = 8, u.format = Xr;
1651
1639
  break;
1652
1640
  default:
1653
1641
  if (U[ge] === 32 && U[Me] & 16711680 && U[oe] & 65280 && U[W] & 255 && U[we] & 4278190080)
1654
- me = !0, Y = 64, u.format = $e;
1642
+ me = !0, Y = 64, u.format = Ze;
1655
1643
  else
1656
1644
  return console.error("THREE.DDSLoader.parse: Unsupported FourCC code ", w(C)), u;
1657
1645
  }
1658
1646
  u.mipmapCount = 1, U[z] & v && T !== !1 && (u.mipmapCount = Math.max(1, U[Le]));
1659
- var j = U[Ie];
1660
- if (u.isCubemap = !!(j & g), u.isCubemap && (!(j & _) || !(j & x) || !(j & F) || !(j & R) || !(j & I) || !(j & P)))
1647
+ var V = U[Ie];
1648
+ if (u.isCubemap = !!(V & g), u.isCubemap && (!(V & _) || !(V & x) || !(V & P) || !(V & R) || !(V & I) || !(V & F)))
1661
1649
  return console.error("THREE.DDSLoader.parse: Incomplete cubemap faces"), u;
1662
- u.width = U[V], u.height = U[le];
1650
+ u.width = U[j], u.height = U[le];
1663
1651
  for (var ie = U[X] + 4, e = u.isCubemap ? 6 : 1, r = 0; r < e; r++)
1664
1652
  for (var t = u.width, n = u.height, a = 0; a < u.mipmapCount; a++) {
1665
1653
  if (me)
@@ -1674,7 +1662,7 @@ Ne.prototype = Object.assign(Object.create(er.prototype), {
1674
1662
  });
1675
1663
  var Qe = (
1676
1664
  /** @class */
1677
- function(p) {
1665
+ (function(p) {
1678
1666
  rr(T, p);
1679
1667
  function T(u) {
1680
1668
  var m = p.call(this) || this;
@@ -1684,18 +1672,18 @@ var Qe = (
1684
1672
  var u = p.prototype.clone.call(this, !0), m = new De.AnimationMixer(u);
1685
1673
  return u.mixer = m, u.needsRender = !0, u;
1686
1674
  }, T;
1687
- }(De.Group)
1675
+ })(De.Group)
1688
1676
  ), Jr = "https://vr-public.realsee-cdn.cn/release/static/image/release/five/resource/draco/1.5.6/", $r = (
1689
1677
  /** @class */
1690
- function(p) {
1678
+ (function(p) {
1691
1679
  rr(T, p);
1692
1680
  function T(u) {
1693
1681
  var m = p.call(this, u) || this;
1694
- return m.ddsLoader = new Ne(u), m.dracoLoader = new k(u), m.dracoLoader.setDecoderPath(Jr), m;
1682
+ return m.ddsLoader = new He(u), m.dracoLoader = new k(u), m.dracoLoader.setDecoderPath(Jr), m;
1695
1683
  }
1696
1684
  return Object.defineProperty(T, "version", {
1697
1685
  get: function() {
1698
- return "6.6.0-alpha.1";
1686
+ return "6.6.0-alpha.2";
1699
1687
  },
1700
1688
  enumerable: !1,
1701
1689
  configurable: !0
@@ -1703,16 +1691,16 @@ var Qe = (
1703
1691
  return p.prototype.load.call(this, u, m, v, g);
1704
1692
  }, T.prototype.parse = function(u, m, v, g) {
1705
1693
  return p.prototype.parse.call(this, u, m, function(_) {
1706
- var x = new Qe(_.scene), F = _.scenes.map(function(R) {
1694
+ var x = new Qe(_.scene), P = _.scenes.map(function(R) {
1707
1695
  return R === _.scene ? x : new Qe(R);
1708
1696
  });
1709
- v(Object.assign(_, { scene: x, scenes: F }));
1697
+ v(Object.assign(_, { scene: x, scenes: P }));
1710
1698
  }, g);
1711
1699
  }, T;
1712
- }(qr)
1700
+ })(qr)
1713
1701
  );
1714
1702
  export {
1715
- Ne as DDSLoader,
1703
+ He as DDSLoader,
1716
1704
  k as DRACOLoader,
1717
1705
  $r as GLTFLoader,
1718
1706
  Qe as GLTFObject,