@realsee/five-webgpu 1.0.0-alpha.13 → 1.0.0-alpha.15

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 (386) hide show
  1. package/_virtual/_rolldown/runtime.js +3 -3
  2. package/docs/assets/hierarchy.js +1 -1
  3. package/docs/assets/navigation.js +1 -1
  4. package/docs/assets/search.js +1 -1
  5. package/docs/classes/index.AdaptiveLuminancePass.html +1 -1
  6. package/docs/classes/index.BoundingMesh.html +1 -1
  7. package/docs/classes/index.Camera.html +1 -1
  8. package/docs/classes/index.EyeDomeLightingPass.html +1 -1
  9. package/docs/classes/index.Five.html +65 -64
  10. package/docs/classes/index.FivePass.html +1 -1
  11. package/docs/classes/index.FiveRenderer.html +4 -4
  12. package/docs/classes/index.FlowingFireworks3DPass.html +1 -1
  13. package/docs/classes/index.FlowingLight2DPass.html +1 -1
  14. package/docs/classes/index.FlowingLight3DPass.html +1 -1
  15. package/docs/classes/index.GaussianBlurPass.html +1 -1
  16. package/docs/classes/index.InternalWebGPURenderer.html +4 -4
  17. package/docs/classes/index.Model.html +1 -1
  18. package/docs/classes/index.ModelScene.html +1 -1
  19. package/docs/classes/index.NetworkSubscribe.html +1 -1
  20. package/docs/classes/index.PBMCustomNode.html +1 -1
  21. package/docs/classes/index.PBMGaussianSplattingNodeMaterial.html +1 -1
  22. package/docs/classes/index.PBMGaussianSplattingObject.html +1 -1
  23. package/docs/classes/index.PBMGaussianSplattingRenderMesh.html +1 -1
  24. package/docs/classes/index.PBMGroup.html +1 -1
  25. package/docs/classes/index.PBMMesh.html +1 -1
  26. package/docs/classes/index.PBMMeshBasicMaterial.html +1 -1
  27. package/docs/classes/index.PBMMeshBasicNodeMaterial.html +1 -1
  28. package/docs/classes/index.PBMMeshPanoOnlyMaterial.html +1 -1
  29. package/docs/classes/index.PBMMeshPanoOnlyNodeMaterial.html +1 -1
  30. package/docs/classes/index.PBMMeshPhongMaterial.html +1 -1
  31. package/docs/classes/index.PBMMeshPhongNodeMaterial.html +1 -1
  32. package/docs/classes/index.PBMMeshPhysicalMaterial.html +1 -1
  33. package/docs/classes/index.PBMMeshPhysicalNodeMaterial.html +1 -1
  34. package/docs/classes/index.PBMPanoFilter.html +1 -1
  35. package/docs/classes/index.PBMPointCloud.html +1 -1
  36. package/docs/classes/index.PBMPointCloudMaterial.html +1 -1
  37. package/docs/classes/index.PBMSkinnedMesh.html +1 -1
  38. package/docs/classes/index.PBMUpdateable.html +1 -1
  39. package/docs/classes/index.PanoCircleMesh.html +9 -5
  40. package/docs/classes/index.PanoCircleMeshCustom.html +9 -5
  41. package/docs/classes/index.PanoCircleMeshSolid.html +9 -5
  42. package/docs/classes/index.Parameter.html +1 -1
  43. package/docs/classes/index.Scene.html +1 -1
  44. package/docs/classes/index.Subscribe.html +1 -1
  45. package/docs/classes/index.Tile3D.html +1 -1
  46. package/docs/classes/index.TileNode.html +1 -1
  47. package/docs/classes/index.TrajectoryNode.html +1 -1
  48. package/docs/classes/index.Work.html +15 -22
  49. package/docs/classes/index.WorkResolvedObserver.html +22 -22
  50. package/docs/functions/index.createWorks.html +1 -1
  51. package/docs/functions/index.parseWork.html +1 -1
  52. package/docs/hierarchy.html +1 -1
  53. package/docs/interfaces/index.AddableObject.html +1 -1
  54. package/docs/interfaces/index.AjaxOptions.html +1 -1
  55. package/docs/interfaces/index.BaseEvent.html +1 -1
  56. package/docs/interfaces/index.Clock.html +1 -1
  57. package/docs/interfaces/index.EventCallback.html +3 -3
  58. package/docs/interfaces/index.GestureEvent.html +1 -1
  59. package/docs/interfaces/index.IPBMMaterial.html +1 -1
  60. package/docs/interfaces/index.ImageOptions.html +1 -1
  61. package/docs/interfaces/index.IntersectEvent.html +1 -1
  62. package/docs/interfaces/index.IntersectMesh.html +1 -1
  63. package/docs/interfaces/index.IntersectMeshInterface.html +1 -1
  64. package/docs/interfaces/index.Intersection.html +1 -1
  65. package/docs/interfaces/index.LooseWorkObserver.html +2 -2
  66. package/docs/interfaces/index.LooseWorkPanorama.html +2 -2
  67. package/docs/interfaces/index.LooseWorkWithExtrinsics.html +8 -8
  68. package/docs/interfaces/index.ModeChangeEvent.html +1 -1
  69. package/docs/interfaces/index.ModelControllerCustomInitArgs.html +1 -1
  70. package/docs/interfaces/index.ModelEvent.html +1 -1
  71. package/docs/interfaces/index.ModelSceneEvent.html +1 -1
  72. package/docs/interfaces/index.ModelTileEvent.html +1 -1
  73. package/docs/interfaces/index.MovePanoOptions.html +1 -1
  74. package/docs/interfaces/index.NetworkAbortError.html +1 -1
  75. package/docs/interfaces/index.NetworkFirbiddenError.html +1 -1
  76. package/docs/interfaces/index.NetworkOptions.html +1 -1
  77. package/docs/interfaces/index.NetworkProxyError.html +1 -1
  78. package/docs/interfaces/index.NetworkResourceEvent.html +1 -1
  79. package/docs/interfaces/index.NetworkResponseError.html +1 -1
  80. package/docs/interfaces/index.NetworkTimeoutError.html +1 -1
  81. package/docs/interfaces/index.ObjectEvent.html +1 -1
  82. package/docs/interfaces/index.PanoCircleMeshInterface.html +8 -4
  83. package/docs/interfaces/index.PanoCircleMeshOptions.html +2 -2
  84. package/docs/interfaces/index.PanoCircleMeshSolidOptions.html +2 -2
  85. package/docs/interfaces/index.PanoEvent.html +1 -1
  86. package/docs/interfaces/index.PanoPrepareEvent.html +1 -1
  87. package/docs/interfaces/index.PanoTextureEvent.html +1 -1
  88. package/docs/interfaces/index.PanoramaControllerCustomInitArgs.html +1 -1
  89. package/docs/interfaces/index.PanoramaLikeControllerCustomInitArgs.html +1 -1
  90. package/docs/interfaces/index.ParameterMaterialValue.html +1 -1
  91. package/docs/interfaces/index.ParameterTilesetValue.html +1 -1
  92. package/docs/interfaces/index.ParameterValue.html +1 -1
  93. package/docs/interfaces/index.Pose.html +1 -1
  94. package/docs/interfaces/index.RenderEvent.html +1 -1
  95. package/docs/interfaces/index.ResolvedParameterValue.html +1 -1
  96. package/docs/interfaces/index.State.html +1 -1
  97. package/docs/interfaces/index.StateEvent.html +1 -1
  98. package/docs/interfaces/index.TextureOptions.html +1 -1
  99. package/docs/interfaces/index.TopviewControllerCustomInitArgs.html +1 -1
  100. package/docs/interfaces/index.VRPanoramaControllerCustomInitArgs.html +1 -1
  101. package/docs/interfaces/index.ViewLayer.html +1 -1
  102. package/docs/interfaces/index.WorkCubeHdrGainmapImage.html +2 -2
  103. package/docs/interfaces/index.WorkCubeImage.html +2 -2
  104. package/docs/interfaces/index.WorkImage.html +5 -5
  105. package/docs/interfaces/index.WorkInitial.html +8 -8
  106. package/docs/interfaces/index.WorkInitialJson.html +2 -2
  107. package/docs/interfaces/index.WorkJson.html +2 -4
  108. package/docs/interfaces/index.WorkModel.html +8 -8
  109. package/docs/interfaces/index.WorkModelJson.html +2 -2
  110. package/docs/interfaces/index.WorkModelLayer.html +6 -6
  111. package/docs/interfaces/index.WorkModelLayerJson.html +2 -2
  112. package/docs/interfaces/index.WorkObserver.html +23 -23
  113. package/docs/interfaces/index.WorkObserverJson.html +2 -2
  114. package/docs/interfaces/index.WorkPanoramaJson.html +2 -2
  115. package/docs/interfaces/index.WorkPanoramasJson.html +2 -2
  116. package/docs/interfaces/index.WorkTile.html +5 -5
  117. package/docs/interfaces/index.WorkVideo.html +4 -4
  118. package/docs/interfaces/index.WorksEvent.html +1 -1
  119. package/docs/interfaces/index.XRControllerEvent.html +1 -1
  120. package/docs/interfaces/index.XRGestureEvent.html +2 -2
  121. package/docs/interfaces/index.XRPanoramaControllerCustomInitArgs.html +1 -1
  122. package/docs/interfaces/index.XRSessionEvent.html +1 -1
  123. package/docs/modules/index.html +1 -1
  124. package/docs/types/index.LegacyEventType.html +3 -3
  125. package/docs/types/index.OutputTextureDataType.html +1 -1
  126. package/docs/types/index.ParseOptions.html +8 -8
  127. package/docs/types/index.PointCloudTransparencyMode.html +2 -0
  128. package/docs/types/index.Works.html +1 -1
  129. package/docs/variables/index.loadAt3d.html +2 -0
  130. package/docs/variables/index.loadDome.html +2 -0
  131. package/docs/variables/index.loadDomez.html +2 -0
  132. package/docs/variables/index.loadGltf.html +2 -0
  133. package/docs/variables/index.loadPbm.html +2 -0
  134. package/docs/variables/index.loadPly.html +2 -0
  135. package/five/application/five.d.ts +3 -2
  136. package/five/chunks/at3d.js +338 -0
  137. package/five/chunks/at3d.mjs +338 -0
  138. package/five/chunks/dome.js +338 -0
  139. package/five/chunks/dome.mjs +338 -0
  140. package/five/chunks/domez.js +338 -0
  141. package/five/chunks/domez.mjs +338 -0
  142. package/five/chunks/fbx.js +338 -0
  143. package/five/chunks/fbx.mjs +338 -0
  144. package/five/chunks/fflate.js +338 -0
  145. package/five/chunks/fflate.mjs +338 -0
  146. package/five/chunks/glTF-helpers.js +804 -0
  147. package/five/chunks/glTF-helpers.mjs +804 -0
  148. package/five/chunks/gltf.js +338 -0
  149. package/five/chunks/gltf.mjs +338 -0
  150. package/five/chunks/imageBitmap.js +338 -0
  151. package/five/chunks/imageBitmap.mjs +338 -0
  152. package/five/chunks/imageSupport.js +338 -0
  153. package/five/chunks/imageSupport.mjs +338 -0
  154. package/five/chunks/lzma.js +383 -0
  155. package/five/chunks/lzma.mjs +383 -0
  156. package/five/chunks/memoryUsage.js +339 -0
  157. package/five/chunks/memoryUsage.mjs +339 -0
  158. package/five/chunks/minimal.js +338 -0
  159. package/five/chunks/minimal.mjs +338 -0
  160. package/five/chunks/pbm.js +338 -0
  161. package/five/chunks/pbm.mjs +338 -0
  162. package/five/chunks/pbmGaussianSplattingObject.js +338 -0
  163. package/five/chunks/pbmGaussianSplattingObject.mjs +338 -0
  164. package/five/chunks/pbmMeshMaterial.js +338 -0
  165. package/five/chunks/pbmMeshMaterial.mjs +338 -0
  166. package/five/chunks/pick.js +338 -0
  167. package/five/chunks/pick.mjs +338 -0
  168. package/five/chunks/ply.js +339 -0
  169. package/five/chunks/ply.mjs +339 -0
  170. package/five/chunks/spz.js +364 -0
  171. package/five/chunks/spz.mjs +364 -0
  172. package/five/controllers/panorama.d.ts +6 -0
  173. package/five/core/webglBlendEquationFix.d.ts +41 -0
  174. package/five/index.d.ts +0 -1
  175. package/five/index.js +49 -626
  176. package/five/index.mjs +229 -32052
  177. package/five/meshes/panoCircleMesh.d.ts +1 -0
  178. package/five/meshes/panoCircleMeshCustom.d.ts +1 -0
  179. package/five/meshes/panoCircleMeshSolid.d.ts +1 -0
  180. package/five/meshes/panoSphereMesh.d.ts +1 -0
  181. package/five/model/index.d.ts +18 -6
  182. package/five/model/loaders/glTF-helpers/extensions/KHR_gaussian_splatting_compression_spz.d.ts +1 -1
  183. package/five/model/loaders/glTF-helpers/extensions/KHR_gaussian_splatting_compression_spz_2.d.ts +1 -1
  184. package/five/model/loaders/spz.d.ts +1 -2
  185. package/five/model/loaders/spz.worker.d.ts +37 -0
  186. package/five/renderer/five-renderer.d.ts +1 -1
  187. package/five/renderer/index.d.ts +1 -1
  188. package/five/renderer/postprocessing/passes/pass.js +3 -3
  189. package/five/renderer/postprocessing/passes/pass.mjs +3 -3
  190. package/five/renderer/tools/full-screen-quad.js +3 -3
  191. package/five/renderer/tools/full-screen-quad.mjs +3 -3
  192. package/five/texture/initTexture.d.ts +8 -0
  193. package/five/texture/videoTextureBridge.d.ts +124 -15
  194. package/five/thirdparty/sha256.d.ts +149 -0
  195. package/five/types/panoCircleMeshInterface.d.ts +6 -0
  196. package/five/utils/calculateThreeMouse.js +3 -3
  197. package/five/utils/calculateThreeMouse.mjs +3 -3
  198. package/five/utils/distance.js +3 -3
  199. package/five/utils/distance.mjs +3 -3
  200. package/five/utils/isNil.js +3 -3
  201. package/five/utils/isNil.mjs +3 -3
  202. package/five/utils/memoryUsage.d.ts +1 -1
  203. package/five/utils/uuid.js +3 -3
  204. package/five/utils/uuid.mjs +3 -3
  205. package/five/work/looseWorkType.d.ts +2 -2
  206. package/five/work/work.d.ts +1 -8
  207. package/five/work/workJsonType.d.ts +2 -4
  208. package/gltf-loader/index.js +3 -3
  209. package/gltf-loader/index.mjs +3 -50
  210. package/line/index.js +3 -3
  211. package/line/index.mjs +3 -88
  212. package/package.json +1 -1
  213. package/plugins/BackgroundPlugin/Controller.js +4 -4
  214. package/plugins/BackgroundPlugin/Controller.mjs +4 -4
  215. package/plugins/BackgroundPlugin/index.js +3 -3
  216. package/plugins/BackgroundPlugin/index.mjs +3 -3
  217. package/plugins/BasePlugin/index.js +3 -3
  218. package/plugins/BasePlugin/index.mjs +3 -3
  219. package/plugins/CSS2DPlugin/Controller.js +3 -3
  220. package/plugins/CSS2DPlugin/Controller.mjs +3 -3
  221. package/plugins/CSS2DPlugin/index.js +3 -3
  222. package/plugins/CSS2DPlugin/index.mjs +3 -3
  223. package/plugins/CSS2DPlugin/style.css_raw.js +4 -4
  224. package/plugins/CSS2DPlugin/style.css_raw.mjs +4 -4
  225. package/plugins/CSS3DPlugin/Controller.js +3 -3
  226. package/plugins/CSS3DPlugin/Controller.mjs +3 -3
  227. package/plugins/CSS3DPlugin/index.js +3 -3
  228. package/plugins/CSS3DPlugin/index.mjs +3 -3
  229. package/plugins/CSS3DPlugin/style.css_raw.js +4 -4
  230. package/plugins/CSS3DPlugin/style.css_raw.mjs +4 -4
  231. package/plugins/FloorplanPlugin/Controller.js +3 -3
  232. package/plugins/FloorplanPlugin/Controller.mjs +3 -3
  233. package/plugins/FloorplanPlugin/index.js +3 -3
  234. package/plugins/FloorplanPlugin/index.mjs +3 -3
  235. package/plugins/FloorplanPlugin/render/assets.js +3 -3
  236. package/plugins/FloorplanPlugin/render/assets.mjs +3 -3
  237. package/plugins/FloorplanPlugin/render/index.js +3 -3
  238. package/plugins/FloorplanPlugin/render/index.mjs +3 -3
  239. package/plugins/FloorplanPlugin/render/isPointInPolygon.js +3 -3
  240. package/plugins/FloorplanPlugin/render/isPointInPolygon.mjs +3 -3
  241. package/plugins/FloorplanPlugin/render/renderFloor.js +3 -3
  242. package/plugins/FloorplanPlugin/render/renderFloor.mjs +3 -3
  243. package/plugins/FloorplanPlugin/render/roomLabelVisibility.js +3 -3
  244. package/plugins/FloorplanPlugin/render/roomLabelVisibility.mjs +3 -3
  245. package/plugins/FloorplanPlugin/render/style.css_raw.js +4 -4
  246. package/plugins/FloorplanPlugin/render/style.css_raw.mjs +4 -4
  247. package/plugins/FloorplanPlugin/utils/changeMode.js +3 -3
  248. package/plugins/FloorplanPlugin/utils/changeMode.mjs +3 -3
  249. package/plugins/FloorplanPlugin/utils/changeModelCanvasOpacity.js +3 -3
  250. package/plugins/FloorplanPlugin/utils/changeModelCanvasOpacity.mjs +3 -3
  251. package/plugins/FloorplanPlugin/utils/correctFiveState.js +3 -3
  252. package/plugins/FloorplanPlugin/utils/correctFiveState.mjs +3 -3
  253. package/plugins/FloorplanPlugin/utils/equal.js +3 -3
  254. package/plugins/FloorplanPlugin/utils/equal.mjs +3 -3
  255. package/plugins/FloorplanPlugin/utils/filter.js +3 -3
  256. package/plugins/FloorplanPlugin/utils/filter.mjs +3 -3
  257. package/plugins/FloorplanPlugin/utils/fiveModelLoad.js +3 -3
  258. package/plugins/FloorplanPlugin/utils/fiveModelLoad.mjs +3 -3
  259. package/plugins/FloorplanPlugin/utils/formatData.js +3 -3
  260. package/plugins/FloorplanPlugin/utils/formatData.mjs +3 -3
  261. package/plugins/FloorplanPlugin/utils/formatFloorplanJson.js +3 -3
  262. package/plugins/FloorplanPlugin/utils/formatFloorplanJson.mjs +3 -3
  263. package/plugins/FloorplanPlugin/utils/formatPosition.js +3 -3
  264. package/plugins/FloorplanPlugin/utils/formatPosition.mjs +3 -3
  265. package/plugins/FloorplanPlugin/utils/getDistanceFromModel.js +3 -3
  266. package/plugins/FloorplanPlugin/utils/getDistanceFromModel.mjs +3 -3
  267. package/plugins/FloorplanPlugin/utils/getPxmm.js +3 -3
  268. package/plugins/FloorplanPlugin/utils/getPxmm.mjs +3 -3
  269. package/plugins/FloorplanPlugin/utils/isTruelyObject.js +3 -3
  270. package/plugins/FloorplanPlugin/utils/isTruelyObject.mjs +3 -3
  271. package/plugins/FloorplanPlugin/utils/nearlyEqual.js +3 -3
  272. package/plugins/FloorplanPlugin/utils/nearlyEqual.mjs +3 -3
  273. package/plugins/FloorplanPlugin/utils/polylabel.js +3 -3
  274. package/plugins/FloorplanPlugin/utils/polylabel.mjs +3 -3
  275. package/plugins/FloorplanPlugin/utils/to.js +3 -3
  276. package/plugins/FloorplanPlugin/utils/to.mjs +3 -3
  277. package/plugins/GaussianSplattingEntranceAnimationPlugin/Controller.js +3 -3
  278. package/plugins/GaussianSplattingEntranceAnimationPlugin/Controller.mjs +3 -3
  279. package/plugins/GaussianSplattingEntranceAnimationPlugin/index.js +3 -3
  280. package/plugins/GaussianSplattingEntranceAnimationPlugin/index.mjs +3 -3
  281. package/plugins/Object3DHelperPlugin/Controller.js +3 -3
  282. package/plugins/Object3DHelperPlugin/Controller.mjs +3 -3
  283. package/plugins/Object3DHelperPlugin/Controllers/BaseController.js +3 -3
  284. package/plugins/Object3DHelperPlugin/Controllers/BaseController.mjs +3 -3
  285. package/plugins/Object3DHelperPlugin/Controllers/BoundingBoxController.js +3 -3
  286. package/plugins/Object3DHelperPlugin/Controllers/BoundingBoxController.mjs +3 -3
  287. package/plugins/Object3DHelperPlugin/Controllers/MoveController.js +3 -3
  288. package/plugins/Object3DHelperPlugin/Controllers/MoveController.mjs +3 -3
  289. package/plugins/Object3DHelperPlugin/Controllers/RotateController.js +3 -3
  290. package/plugins/Object3DHelperPlugin/Controllers/RotateController.mjs +3 -3
  291. package/plugins/Object3DHelperPlugin/FiveControllerWrapper.js +3 -3
  292. package/plugins/Object3DHelperPlugin/FiveControllerWrapper.mjs +3 -3
  293. package/plugins/Object3DHelperPlugin/Helper/BaseHelper.js +3 -3
  294. package/plugins/Object3DHelperPlugin/Helper/BaseHelper.mjs +3 -3
  295. package/plugins/Object3DHelperPlugin/Helper/BoundingBoxHelper.js +3 -3
  296. package/plugins/Object3DHelperPlugin/Helper/BoundingBoxHelper.mjs +3 -3
  297. package/plugins/Object3DHelperPlugin/Helper/MoveHelper.js +3 -3
  298. package/plugins/Object3DHelperPlugin/Helper/MoveHelper.mjs +3 -3
  299. package/plugins/Object3DHelperPlugin/Helper/RotateHelper.js +3 -3
  300. package/plugins/Object3DHelperPlugin/Helper/RotateHelper.mjs +3 -3
  301. package/plugins/Object3DHelperPlugin/constant.js +3 -3
  302. package/plugins/Object3DHelperPlugin/constant.mjs +3 -3
  303. package/plugins/Object3DHelperPlugin/index.js +3 -3
  304. package/plugins/Object3DHelperPlugin/index.mjs +3 -3
  305. package/plugins/Object3DHelperPlugin/utils/ArrowGroup.js +3 -3
  306. package/plugins/Object3DHelperPlugin/utils/ArrowGroup.mjs +3 -3
  307. package/plugins/Object3DHelperPlugin/utils/CenterHandle.js +3 -3
  308. package/plugins/Object3DHelperPlugin/utils/CenterHandle.mjs +3 -3
  309. package/plugins/Object3DHelperPlugin/utils/PlaneHandle.js +3 -3
  310. package/plugins/Object3DHelperPlugin/utils/PlaneHandle.mjs +3 -3
  311. package/plugins/Object3DHelperPlugin/utils/calculateScaleByCamera.js +3 -3
  312. package/plugins/Object3DHelperPlugin/utils/calculateScaleByCamera.mjs +3 -3
  313. package/plugins/Object3DHelperPlugin/utils/cameraHooks.js +3 -3
  314. package/plugins/Object3DHelperPlugin/utils/cameraHooks.mjs +3 -3
  315. package/plugins/Object3DHelperPlugin/utils/direction.js +3 -3
  316. package/plugins/Object3DHelperPlugin/utils/direction.mjs +3 -3
  317. package/plugins/Object3DHelperPlugin/utils/getMouseRaycaster.js +3 -3
  318. package/plugins/Object3DHelperPlugin/utils/getMouseRaycaster.mjs +3 -3
  319. package/plugins/Object3DHelperPlugin/utils/getOrthographicCameraDirection.js +3 -3
  320. package/plugins/Object3DHelperPlugin/utils/getOrthographicCameraDirection.mjs +3 -3
  321. package/plugins/Object3DHelperPlugin/utils/setObjectQuaternion.js +3 -3
  322. package/plugins/Object3DHelperPlugin/utils/setObjectQuaternion.mjs +3 -3
  323. package/plugins/Object3DHelperPlugin/utils/solidGuide.js +3 -3
  324. package/plugins/Object3DHelperPlugin/utils/solidGuide.mjs +3 -3
  325. package/plugins/Object3DHelperPlugin/utils/tipsDom.js +3 -3
  326. package/plugins/Object3DHelperPlugin/utils/tipsDom.mjs +3 -3
  327. package/plugins/PanoAnimePlugin/Controller.js +3 -3
  328. package/plugins/PanoAnimePlugin/Controller.mjs +3 -3
  329. package/plugins/PanoAnimePlugin/index.js +3 -3
  330. package/plugins/PanoAnimePlugin/index.mjs +3 -3
  331. package/plugins/WordPassPlugin/Controller.js +3 -3
  332. package/plugins/WordPassPlugin/Controller.mjs +3 -3
  333. package/plugins/WordPassPlugin/hersheyFont.js +3 -3
  334. package/plugins/WordPassPlugin/hersheyFont.mjs +3 -3
  335. package/plugins/WordPassPlugin/index.js +3 -3
  336. package/plugins/WordPassPlugin/index.mjs +3 -3
  337. package/plugins/WordPassPlugin/textToStrokeOrderStrokes.js +4 -4
  338. package/plugins/WordPassPlugin/textToStrokeOrderStrokes.mjs +4 -4
  339. package/plugins/WordPassPlugin/word-pass.js +3 -3
  340. package/plugins/WordPassPlugin/word-pass.mjs +3 -3
  341. package/plugins/index.js +3 -3
  342. package/plugins/index.mjs +3 -3
  343. package/plugins/thirdParty/CSS2DRenderer.js +3 -3
  344. package/plugins/thirdParty/CSS2DRenderer.mjs +3 -3
  345. package/plugins/thirdParty/CSS3DRenderer.js +3 -3
  346. package/plugins/thirdParty/CSS3DRenderer.mjs +3 -3
  347. package/plugins/thirdParty/doctorstrange-model.js +75 -75
  348. package/plugins/thirdParty/doctorstrange-model.mjs +75 -75
  349. package/plugins/thirdParty/domevents.js +3 -3
  350. package/plugins/thirdParty/domevents.mjs +3 -3
  351. package/plugins/utils/absoluteUrl.js +3 -3
  352. package/plugins/utils/absoluteUrl.mjs +3 -3
  353. package/plugins/utils/calculatePath.js +3 -3
  354. package/plugins/utils/calculatePath.mjs +3 -3
  355. package/plugins/utils/clamp.js +3 -3
  356. package/plugins/utils/clamp.mjs +3 -3
  357. package/plugins/utils/uuid.js +3 -3
  358. package/plugins/utils/uuid.mjs +3 -3
  359. package/react/hooks/useFiveModelReadyState.d.ts +1 -1
  360. package/react/index.js +3 -3
  361. package/react/index.mjs +3 -644
  362. package/sticker/index.js +13 -4
  363. package/sticker/index.mjs +43 -260
  364. package/umd/five-gltf-loader.js +3 -3
  365. package/umd/five-line.js +3 -3
  366. package/umd/five-plugins.js +4 -4
  367. package/umd/five-react.js +2 -2
  368. package/umd/five-sticker.js +13 -4
  369. package/umd/five-vfx.js +2 -2
  370. package/umd/five.js +152 -190
  371. package/vfx/index.js +3 -3
  372. package/vfx/index.mjs +3 -486
  373. package/work-downloader/index.js +3 -3
  374. package/work-downloader/index.mjs +3 -315
  375. package/docs/functions/index.loadAt3d.html +0 -1
  376. package/docs/functions/index.loadDome.html +0 -1
  377. package/docs/functions/index.loadDomez.html +0 -1
  378. package/docs/functions/index.loadGltf.html +0 -1
  379. package/docs/functions/index.loadPbm.html +0 -1
  380. package/docs/functions/index.loadPly.html +0 -10
  381. package/five/certificates/hardware.d.ts +0 -1
  382. package/five/thirdparty/jsrsasign.d.ts +0 -753
  383. package/five/work/_ALLOW_HOST.d.ts +0 -2
  384. package/five/work/keychain.d.ts +0 -5
  385. package/five/work/verify.d.ts +0 -7
  386. package/five/work/workVerify.d.ts +0 -2
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */import{MoveHelperAbstract as e}from"./BaseHelper.mjs";import{AXES_THREE_COLOR as t}from"../constant.mjs";import{ArrowGroup as n}from"../utils/ArrowGroup.mjs";import{CenterHandle as r}from"../utils/CenterHandle.mjs";import{PlaneHandle as i}from"../utils/PlaneHandle.mjs";import a from"../utils/calculateScaleByCamera.mjs";import{getOrthographicCameraDirection as o}from"../utils/getOrthographicCameraDirection.mjs";import{tipsDom as s}from"../utils/tipsDom.mjs";import*as c from"three/webgpu";var l=class extends e{constructor(e,a){super(e,a),this.name=`MoveHelper`,(a==null?void 0:a.xArrowEnable)!==!1&&(this.xArrow=new n({direction:`x`,color:t.X})),(a==null?void 0:a.yArrowEnable)!==!1&&(this.yArrow=new n({direction:`y`,color:t.Y})),(a==null?void 0:a.zArrowEnable)!==!1&&(this.zArrow=new n({direction:`z`,color:t.Z})),(a==null?void 0:a.centerHandleEnable)!==!1&&(this.centerHandle=new r),(a==null?void 0:a.xyPlaneEnable)!==!1&&(this.xyPlane=new i({direction:`xy`,color:t.Z})),(a==null?void 0:a.xzPlaneEnable)!==!1&&(this.xzPlane=new i({direction:`xz`,color:t.Y})),(a==null?void 0:a.yzPlaneEnable)!==!1&&(this.yzPlane=new i({direction:`yz`,color:t.X})),a!=null&&a.container&&(a==null?void 0:a.moveTipsEnable)!==!1&&(this.container=a.container,this.moveTips=s({display:`none`}),this.container.appendChild(this.moveTips.element)),this.add(...[this.xArrow,this.yArrow,this.zArrow,this.centerHandle,this.xyPlane,this.xzPlane,this.yzPlane].filter(Boolean))}update(e){if(this.xArrow&&(this.xArrow.visible=!0),this.yArrow&&(this.yArrow.visible=!0),this.zArrow&&(this.zArrow.visible=!0),this.centerHandle&&this.centerHandle.update(e),e.type===`OrthographicCamera`){let t=new c.Vector3(1,0,0).applyQuaternion(this.quaternion),n=new c.Vector3(0,1,0).applyQuaternion(this.quaternion),r=new c.Vector3(0,0,1).applyQuaternion(this.quaternion),i=e.pose,a=o(i),s=.0872665;Math.abs(t.angleTo(a)-0)<s||Math.abs(t.angleTo(a)-Math.PI)<s?this.xArrow&&(this.xArrow.visible=!1):Math.abs(n.angleTo(a)-0)<s||Math.abs(n.angleTo(a)-Math.PI)<s?this.yArrow&&(this.yArrow.visible=!1):(Math.abs(r.angleTo(a)-0)<s||Math.abs(r.angleTo(a)-Math.PI)<s)&&this.zArrow&&(this.zArrow.visible=!1)}}show(){var e;super.show(),this.xArrow&&this.add(this.xArrow),this.yArrow&&this.add(this.yArrow),this.zArrow&&this.add(this.zArrow),this.centerHandle&&this.add(this.centerHandle),this.xyPlane&&this.add(this.xyPlane),this.xzPlane&&this.add(this.xzPlane),this.yzPlane&&this.add(this.yzPlane),(e=this.moveTips)==null||e.hide()}setScaleByCamera(e){this.scale.setScalar(a(e,this.position))}showDraggingHelper(e){this.xArrow&&(e.includes(`x`)?this.add(this.xArrow):this.remove(this.xArrow)),this.yArrow&&(e.includes(`y`)?this.add(this.yArrow):this.remove(this.yArrow)),this.zArrow&&(e.includes(`z`)?this.add(this.zArrow):this.remove(this.zArrow)),this.centerHandle&&(e.includes(`plane`)?this.add(this.centerHandle):this.remove(this.centerHandle)),this.xyPlane&&(e.includes(`xy`)?this.add(this.xyPlane):this.remove(this.xyPlane)),this.xzPlane&&(e.includes(`xz`)?this.add(this.xzPlane):this.remove(this.xzPlane)),this.yzPlane&&(e.includes(`yz`)?this.add(this.yzPlane):this.remove(this.yzPlane))}dispose(){var e,t;this.remove(...[this.xArrow,this.yArrow,this.zArrow,this.centerHandle,this.xyPlane,this.xzPlane,this.yzPlane].filter(Boolean)),(t=(e=this.moveTips)==null?void 0:e.element)==null||t.remove(),super.dispose()}};export{l as MoveHelper};
338
+ */import{MoveHelperAbstract}from"./BaseHelper.mjs";import{AXES_THREE_COLOR}from"../constant.mjs";import{ArrowGroup}from"../utils/ArrowGroup.mjs";import{CenterHandle}from"../utils/CenterHandle.mjs";import{PlaneHandle}from"../utils/PlaneHandle.mjs";import calculateScaleByCamera from"../utils/calculateScaleByCamera.mjs";import{getOrthographicCameraDirection}from"../utils/getOrthographicCameraDirection.mjs";import{tipsDom}from"../utils/tipsDom.mjs";import*as THREE from"three/webgpu";var MoveHelper=class extends MoveHelperAbstract{constructor(originObject3D,config){super(originObject3D,config),this.name=`MoveHelper`,(config==null?void 0:config.xArrowEnable)!==!1&&(this.xArrow=new ArrowGroup({direction:`x`,color:AXES_THREE_COLOR.X})),(config==null?void 0:config.yArrowEnable)!==!1&&(this.yArrow=new ArrowGroup({direction:`y`,color:AXES_THREE_COLOR.Y})),(config==null?void 0:config.zArrowEnable)!==!1&&(this.zArrow=new ArrowGroup({direction:`z`,color:AXES_THREE_COLOR.Z})),(config==null?void 0:config.centerHandleEnable)!==!1&&(this.centerHandle=new CenterHandle),(config==null?void 0:config.xyPlaneEnable)!==!1&&(this.xyPlane=new PlaneHandle({direction:`xy`,color:AXES_THREE_COLOR.Z})),(config==null?void 0:config.xzPlaneEnable)!==!1&&(this.xzPlane=new PlaneHandle({direction:`xz`,color:AXES_THREE_COLOR.Y})),(config==null?void 0:config.yzPlaneEnable)!==!1&&(this.yzPlane=new PlaneHandle({direction:`yz`,color:AXES_THREE_COLOR.X})),config!=null&&config.container&&(config==null?void 0:config.moveTipsEnable)!==!1&&(this.container=config.container,this.moveTips=tipsDom({display:`none`}),this.container.appendChild(this.moveTips.element)),this.add(...[this.xArrow,this.yArrow,this.zArrow,this.centerHandle,this.xyPlane,this.xzPlane,this.yzPlane].filter(Boolean))}update(camera){if(this.xArrow&&(this.xArrow.visible=!0),this.yArrow&&(this.yArrow.visible=!0),this.zArrow&&(this.zArrow.visible=!0),this.centerHandle&&this.centerHandle.update(camera),camera.type===`OrthographicCamera`){let worldDirectionX=new THREE.Vector3(1,0,0).applyQuaternion(this.quaternion),worldDirectionY=new THREE.Vector3(0,1,0).applyQuaternion(this.quaternion),worldDirectionZ=new THREE.Vector3(0,0,1).applyQuaternion(this.quaternion),pose=camera.pose,orthographicCameraDirection=getOrthographicCameraDirection(pose),hideThreshold=.0872665;Math.abs(worldDirectionX.angleTo(orthographicCameraDirection)-0)<hideThreshold||Math.abs(worldDirectionX.angleTo(orthographicCameraDirection)-Math.PI)<hideThreshold?this.xArrow&&(this.xArrow.visible=!1):Math.abs(worldDirectionY.angleTo(orthographicCameraDirection)-0)<hideThreshold||Math.abs(worldDirectionY.angleTo(orthographicCameraDirection)-Math.PI)<hideThreshold?this.yArrow&&(this.yArrow.visible=!1):(Math.abs(worldDirectionZ.angleTo(orthographicCameraDirection)-0)<hideThreshold||Math.abs(worldDirectionZ.angleTo(orthographicCameraDirection)-Math.PI)<hideThreshold)&&this.zArrow&&(this.zArrow.visible=!1)}}show(){var _a;super.show(),this.xArrow&&this.add(this.xArrow),this.yArrow&&this.add(this.yArrow),this.zArrow&&this.add(this.zArrow),this.centerHandle&&this.add(this.centerHandle),this.xyPlane&&this.add(this.xyPlane),this.xzPlane&&this.add(this.xzPlane),this.yzPlane&&this.add(this.yzPlane),(_a=this.moveTips)==null||_a.hide()}setScaleByCamera(camera){this.scale.setScalar(calculateScaleByCamera(camera,this.position))}showDraggingHelper(directions){this.xArrow&&(directions.includes(`x`)?this.add(this.xArrow):this.remove(this.xArrow)),this.yArrow&&(directions.includes(`y`)?this.add(this.yArrow):this.remove(this.yArrow)),this.zArrow&&(directions.includes(`z`)?this.add(this.zArrow):this.remove(this.zArrow)),this.centerHandle&&(directions.includes(`plane`)?this.add(this.centerHandle):this.remove(this.centerHandle)),this.xyPlane&&(directions.includes(`xy`)?this.add(this.xyPlane):this.remove(this.xyPlane)),this.xzPlane&&(directions.includes(`xz`)?this.add(this.xzPlane):this.remove(this.xzPlane)),this.yzPlane&&(directions.includes(`yz`)?this.add(this.yzPlane):this.remove(this.yzPlane))}dispose(){var _a,_b;this.remove(...[this.xArrow,this.yArrow,this.zArrow,this.centerHandle,this.xyPlane,this.xzPlane,this.yzPlane].filter(Boolean)),(_b=(_a=this.moveTips)==null?void 0:_a.element)==null||_b.remove(),super.dispose()}};export{MoveHelper};
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */const e=require("../../../_virtual/_rolldown/runtime.js"),t=require("./BaseHelper.js"),n=require("../constant.js"),r=require("../utils/calculateScaleByCamera.js"),i=require("../utils/tipsDom.js");let a=require("three/webgpu");a=e.__toESM(a,1);var o=class extends t.RotateHelperAbstract{constructor(e,t){super(e,t),this.name=`RotateHelper`,this.children=[],(t==null?void 0:t.yzCircleEnable)!==!1&&(this.xCircle=new s({direction:`x`,color:n.AXES_THREE_COLOR.X})),(t==null?void 0:t.xzCircleEnable)!==!1&&(this.yCircle=new s({direction:`y`,color:n.AXES_THREE_COLOR.Y})),(t==null?void 0:t.xyCircleEnable)!==!1&&(this.zCircle=new s({direction:`z`,color:n.AXES_THREE_COLOR.Z})),t!=null&&t.container&&(t==null?void 0:t.angleTipsEnable)!==!1&&(this.container=t==null?void 0:t.container,this.angleTips=i.tipsDom({display:`none`}),this.container.appendChild(this.angleTips.element)),this.add(...[this.xCircle,this.yCircle,this.zCircle].filter(Boolean)),this.show()}hide(){this.children.forEach(e=>e.hide())}show(){var e;this.children.forEach(e=>e.showCircle()),(e=this.angleTips)==null||e.hide()}setScaleByCamera(e){this.scale.setScalar(r.default(e,this.position))}update(e){if(e.type===`OrthographicCamera`)return;let t=this.helperObject.position.clone().sub(e.position).normalize(),n=new a.Vector3(1,0,0).applyQuaternion(this.quaternion),r=new a.Vector3(0,1,0).applyQuaternion(this.quaternion),i=new a.Vector3(0,0,1).applyQuaternion(this.quaternion),o=t.angleTo(n),s=t.angleTo(r),c=t.angleTo(i),l=Math.PI/2,u=s>=l,d=c>=l,f=o>=l;if(this.xCircle){let e=this.xCircle.circle.gapAngle;u&&d?this.xCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,e,Math.PI/2-e*2):u&&!d?this.xCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,Math.PI/2+e,Math.PI/2-e*2):!u&&d?this.xCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,Math.PI/2*3+e,Math.PI/2-e*2):!u&&!d&&(this.xCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,Math.PI+e,Math.PI/2-e*2)),this.xCircle.angleSector&&(this.xCircle.angleSector.offsetAngle=e=>e,u&&d||u&&!d?this.xCircle.angleSector.baseAxes=new a.Vector3(0,0,1):!u&&d?(this.xCircle.angleSector.baseAxes=new a.Vector3(0,-1,0),this.xCircle.angleSector.offsetAngle=e=>e-Math.PI/2):!u&&!d&&(this.xCircle.angleSector.baseAxes=new a.Vector3(0,0,-1),this.xCircle.angleSector.offsetAngle=e=>e-Math.PI))}if(this.yCircle){this.yCircle.angleSector.offsetAngle=e=>e;let e=this.yCircle.circle.gapAngle;f&&d?this.yCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,e,Math.PI/2-e*2):f&&!d?this.yCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,Math.PI/2*3+e,Math.PI/2-e*2):!f&&d?this.yCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,Math.PI/2+e,Math.PI/2-e*2):!f&&!d&&(this.yCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,Math.PI+e,Math.PI/2-e*2)),f&&d?this.yCircle.angleSector.baseAxes=new a.Vector3(1,0,0):f&&!d?(this.yCircle.angleSector.baseAxes=new a.Vector3(0,0,-1),this.yCircle.angleSector.offsetAngle=e=>e-Math.PI/2):!f&&d?(this.yCircle.angleSector.baseAxes=new a.Vector3(0,0,1),this.yCircle.angleSector.offsetAngle=e=>e+Math.PI/2):!f&&!d&&(this.yCircle.angleSector.baseAxes=new a.Vector3(-1,0,0),this.yCircle.angleSector.offsetAngle=e=>e+Math.PI)}if(this.zCircle){this.zCircle.angleSector.offsetAngle=e=>e;let e=this.zCircle.circle.gapAngle;f&&u?this.zCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,e,Math.PI/2-e*2):f&&!u?this.zCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,Math.PI/2*3+e,Math.PI/2-e*2):!f&&u?this.zCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,Math.PI/2+e,Math.PI/2-e*2):!f&&!u&&(this.zCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,Math.PI+e,Math.PI/2-e*2)),this.zCircle.angleSector&&(f&&u?this.zCircle.angleSector.baseAxes=new a.Vector3(1,0,0):f&&!u?(this.zCircle.angleSector.baseAxes=new a.Vector3(0,-1,0),this.zCircle.angleSector.offsetAngle=e=>e-Math.PI/2):!f&&u?(this.zCircle.angleSector.baseAxes=new a.Vector3(0,1,0),this.zCircle.angleSector.offsetAngle=e=>e+Math.PI/2):!f&&!u&&(this.zCircle.angleSector.baseAxes=new a.Vector3(-1,0,0),this.zCircle.angleSector.offsetAngle=e=>e+Math.PI))}}showDraggingHelper(e){var t;this.hide(),this.children.filter(t=>e.includes(t.direction)).forEach(e=>e.showRing()),(t=this.angleTips)==null||t.show()}dispose(){var e,t;this.removeFromParent(),(t=(e=this.angleTips)==null?void 0:e.element)==null||t.remove()}},s=class extends a.Group{constructor(e){super(),this.direction=e.direction,this.circle=new c(e),this.ring=new l(e),this.angleSector=new u(e),this.add(this.circle,this.ring,this.angleSector),this.direction===`y`?this.rotation.x=Math.PI/2:this.direction===`x`&&(this.rotation.y=-Math.PI/2)}showCircle(){this.add(this.circle),this.remove(this.ring,this.angleSector)}showRing(){this.add(this.ring,this.angleSector),this.remove(this.circle)}hide(){this.remove(this.ring,this.angleSector,this.circle)}},c=class extends a.Mesh{constructor(e){var t;super(),this.gapAngle=.02,this.geometry=new a.RingGeometry(.3,.35,20,8,this.gapAngle,Math.PI/2-this.gapAngle*2),this.material=new a.MeshBasicMaterial({opacity:.6,transparent:!0,color:(t=e.color)==null?16777215:t,side:a.DoubleSide,depthTest:!1}),this.direction=e.direction,this.renderOrder=n.RENDER_ORDER.ROTATE_HELPER,this.geometry.name=`RotateHelperCircleGeometry-${this.direction}`}},l=class extends a.Group{constructor(e){super(),this.direction=e.direction;let t=.015,n=Array(8).fill(null).map((e,n)=>{let r=new a.RingGeometry(.3,.35,20,8,Math.PI/4*n+t,Math.PI/4-t*2),i=new a.MeshBasicMaterial({opacity:1,color:16777215,depthTest:!1,depthWrite:!1,transparent:!0,side:a.DoubleSide}),o=new a.Mesh(r,i);return o.name=`AxesDashedRing-${this.direction}-${n}`,o});this.add(...n)}},u=class extends a.Mesh{constructor(e){var t;switch(super(),this.offsetAngle=e=>e,e.direction){case`x`:this.baseAxes=new a.Vector3(0,0,1);break;case`y`:this.baseAxes=new a.Vector3(1,0,0);break;case`z`:this.baseAxes=new a.Vector3(1,0,0);break}this.geometry=new a.CircleGeometry(.3505,48,0,1e-4),this.material=new a.MeshBasicMaterial({opacity:.4,color:(t=e.color)==null?16777215:t,depthTest:!1,depthWrite:!1,transparent:!0,side:a.DoubleSide}),this.direction=e.direction,this.angleDirection=1}setClockwiseDirection(){this.angleDirection=-1}setCounterClockwiseDirection(){this.angleDirection=1}toggleDirection(){this.angleDirection=this.angleDirection===1?-1:1}setBaseAxes(e){this.baseAxes=e.clone().normalize()}getDirection(){return this.angleDirection===-1?`clockwise`:`counterclockwise`}};exports.RotateHelper=o;
338
+ */const require_runtime=require("../../../_virtual/_rolldown/runtime.js"),require_BaseHelper=require("./BaseHelper.js"),require_constant=require("../constant.js"),require_calculateScaleByCamera=require("../utils/calculateScaleByCamera.js"),require_tipsDom=require("../utils/tipsDom.js");let three_webgpu=require("three/webgpu");three_webgpu=require_runtime.__toESM(three_webgpu,1);var RotateHelper=class extends require_BaseHelper.RotateHelperAbstract{constructor(originObject3D,config){super(originObject3D,config),this.name=`RotateHelper`,this.children=[],(config==null?void 0:config.yzCircleEnable)!==!1&&(this.xCircle=new RotateCircleGroup({direction:`x`,color:require_constant.AXES_THREE_COLOR.X})),(config==null?void 0:config.xzCircleEnable)!==!1&&(this.yCircle=new RotateCircleGroup({direction:`y`,color:require_constant.AXES_THREE_COLOR.Y})),(config==null?void 0:config.xyCircleEnable)!==!1&&(this.zCircle=new RotateCircleGroup({direction:`z`,color:require_constant.AXES_THREE_COLOR.Z})),config!=null&&config.container&&(config==null?void 0:config.angleTipsEnable)!==!1&&(this.container=config==null?void 0:config.container,this.angleTips=require_tipsDom.tipsDom({display:`none`}),this.container.appendChild(this.angleTips.element)),this.add(...[this.xCircle,this.yCircle,this.zCircle].filter(Boolean)),this.show()}hide(){this.children.forEach(child=>child.hide())}show(){var _a;this.children.forEach(child=>child.showCircle()),(_a=this.angleTips)==null||_a.hide()}setScaleByCamera(camera){this.scale.setScalar(require_calculateScaleByCamera.default(camera,this.position))}update(camera){if(camera.type===`OrthographicCamera`)return;let cameraDirection=this.helperObject.position.clone().sub(camera.position).normalize(),worldDirectionX=new three_webgpu.Vector3(1,0,0).applyQuaternion(this.quaternion),worldDirectionY=new three_webgpu.Vector3(0,1,0).applyQuaternion(this.quaternion),worldDirectionZ=new three_webgpu.Vector3(0,0,1).applyQuaternion(this.quaternion),angleX=cameraDirection.angleTo(worldDirectionX),angleY=cameraDirection.angleTo(worldDirectionY),angleZ=cameraDirection.angleTo(worldDirectionZ),threshold=Math.PI/2,positiveY=angleY>=threshold,positiveZ=angleZ>=threshold,positiveX=angleX>=threshold;if(this.xCircle){let gapAngle=this.xCircle.circle.gapAngle;positiveY&&positiveZ?this.xCircle.circle.geometry=new three_webgpu.RingGeometry(.3,.35,20,8,gapAngle,Math.PI/2-gapAngle*2):positiveY&&!positiveZ?this.xCircle.circle.geometry=new three_webgpu.RingGeometry(.3,.35,20,8,Math.PI/2+gapAngle,Math.PI/2-gapAngle*2):!positiveY&&positiveZ?this.xCircle.circle.geometry=new three_webgpu.RingGeometry(.3,.35,20,8,Math.PI/2*3+gapAngle,Math.PI/2-gapAngle*2):!positiveY&&!positiveZ&&(this.xCircle.circle.geometry=new three_webgpu.RingGeometry(.3,.35,20,8,Math.PI+gapAngle,Math.PI/2-gapAngle*2)),this.xCircle.angleSector&&(this.xCircle.angleSector.offsetAngle=angle=>angle,positiveY&&positiveZ||positiveY&&!positiveZ?this.xCircle.angleSector.baseAxes=new three_webgpu.Vector3(0,0,1):!positiveY&&positiveZ?(this.xCircle.angleSector.baseAxes=new three_webgpu.Vector3(0,-1,0),this.xCircle.angleSector.offsetAngle=angle=>angle-Math.PI/2):!positiveY&&!positiveZ&&(this.xCircle.angleSector.baseAxes=new three_webgpu.Vector3(0,0,-1),this.xCircle.angleSector.offsetAngle=angle=>angle-Math.PI))}if(this.yCircle){this.yCircle.angleSector.offsetAngle=angle=>angle;let gapAngle=this.yCircle.circle.gapAngle;positiveX&&positiveZ?this.yCircle.circle.geometry=new three_webgpu.RingGeometry(.3,.35,20,8,gapAngle,Math.PI/2-gapAngle*2):positiveX&&!positiveZ?this.yCircle.circle.geometry=new three_webgpu.RingGeometry(.3,.35,20,8,Math.PI/2*3+gapAngle,Math.PI/2-gapAngle*2):!positiveX&&positiveZ?this.yCircle.circle.geometry=new three_webgpu.RingGeometry(.3,.35,20,8,Math.PI/2+gapAngle,Math.PI/2-gapAngle*2):!positiveX&&!positiveZ&&(this.yCircle.circle.geometry=new three_webgpu.RingGeometry(.3,.35,20,8,Math.PI+gapAngle,Math.PI/2-gapAngle*2)),positiveX&&positiveZ?this.yCircle.angleSector.baseAxes=new three_webgpu.Vector3(1,0,0):positiveX&&!positiveZ?(this.yCircle.angleSector.baseAxes=new three_webgpu.Vector3(0,0,-1),this.yCircle.angleSector.offsetAngle=angle=>angle-Math.PI/2):!positiveX&&positiveZ?(this.yCircle.angleSector.baseAxes=new three_webgpu.Vector3(0,0,1),this.yCircle.angleSector.offsetAngle=angle=>angle+Math.PI/2):!positiveX&&!positiveZ&&(this.yCircle.angleSector.baseAxes=new three_webgpu.Vector3(-1,0,0),this.yCircle.angleSector.offsetAngle=angle=>angle+Math.PI)}if(this.zCircle){this.zCircle.angleSector.offsetAngle=angle=>angle;let gapAngle=this.zCircle.circle.gapAngle;positiveX&&positiveY?this.zCircle.circle.geometry=new three_webgpu.RingGeometry(.3,.35,20,8,gapAngle,Math.PI/2-gapAngle*2):positiveX&&!positiveY?this.zCircle.circle.geometry=new three_webgpu.RingGeometry(.3,.35,20,8,Math.PI/2*3+gapAngle,Math.PI/2-gapAngle*2):!positiveX&&positiveY?this.zCircle.circle.geometry=new three_webgpu.RingGeometry(.3,.35,20,8,Math.PI/2+gapAngle,Math.PI/2-gapAngle*2):!positiveX&&!positiveY&&(this.zCircle.circle.geometry=new three_webgpu.RingGeometry(.3,.35,20,8,Math.PI+gapAngle,Math.PI/2-gapAngle*2)),this.zCircle.angleSector&&(positiveX&&positiveY?this.zCircle.angleSector.baseAxes=new three_webgpu.Vector3(1,0,0):positiveX&&!positiveY?(this.zCircle.angleSector.baseAxes=new three_webgpu.Vector3(0,-1,0),this.zCircle.angleSector.offsetAngle=angle=>angle-Math.PI/2):!positiveX&&positiveY?(this.zCircle.angleSector.baseAxes=new three_webgpu.Vector3(0,1,0),this.zCircle.angleSector.offsetAngle=angle=>angle+Math.PI/2):!positiveX&&!positiveY&&(this.zCircle.angleSector.baseAxes=new three_webgpu.Vector3(-1,0,0),this.zCircle.angleSector.offsetAngle=angle=>angle+Math.PI))}}showDraggingHelper(directions){var _a;this.hide(),this.children.filter(child=>directions.includes(child.direction)).forEach(child=>child.showRing()),(_a=this.angleTips)==null||_a.show()}dispose(){var _a,_b;this.removeFromParent(),(_b=(_a=this.angleTips)==null?void 0:_a.element)==null||_b.remove()}},RotateCircleGroup=class extends three_webgpu.Group{constructor(options){super(),this.direction=options.direction,this.circle=new Circle(options),this.ring=new DashedRing(options),this.angleSector=new AngleSector(options),this.add(this.circle,this.ring,this.angleSector),this.direction===`y`?this.rotation.x=Math.PI/2:this.direction===`x`&&(this.rotation.y=-Math.PI/2)}showCircle(){this.add(this.circle),this.remove(this.ring,this.angleSector)}showRing(){this.add(this.ring,this.angleSector),this.remove(this.circle)}hide(){this.remove(this.ring,this.angleSector,this.circle)}},Circle=class extends three_webgpu.Mesh{constructor(options){var _a;super(),this.gapAngle=.02,this.geometry=new three_webgpu.RingGeometry(.3,.35,20,8,this.gapAngle,Math.PI/2-this.gapAngle*2),this.material=new three_webgpu.MeshBasicMaterial({opacity:.6,transparent:!0,color:(_a=options.color)==null?16777215:_a,side:three_webgpu.DoubleSide,depthTest:!1}),this.direction=options.direction,this.renderOrder=require_constant.RENDER_ORDER.ROTATE_HELPER,this.geometry.name=`RotateHelperCircleGeometry-${this.direction}`}},DashedRing=class extends three_webgpu.Group{constructor(options){super(),this.direction=options.direction;let gapAngle=.015,meshes=Array(8).fill(null).map((_,i)=>{let geometry=new three_webgpu.RingGeometry(.3,.35,20,8,Math.PI/4*i+gapAngle,Math.PI/4-gapAngle*2),material=new three_webgpu.MeshBasicMaterial({opacity:1,color:16777215,depthTest:!1,depthWrite:!1,transparent:!0,side:three_webgpu.DoubleSide}),mesh=new three_webgpu.Mesh(geometry,material);return mesh.name=`AxesDashedRing-${this.direction}-${i}`,mesh});this.add(...meshes)}},AngleSector=class extends three_webgpu.Mesh{constructor(options){var _a;switch(super(),this.offsetAngle=angle=>angle,options.direction){case`x`:this.baseAxes=new three_webgpu.Vector3(0,0,1);break;case`y`:this.baseAxes=new three_webgpu.Vector3(1,0,0);break;case`z`:this.baseAxes=new three_webgpu.Vector3(1,0,0);break}this.geometry=new three_webgpu.CircleGeometry(.3505,48,0,1e-4),this.material=new three_webgpu.MeshBasicMaterial({opacity:.4,color:(_a=options.color)==null?16777215:_a,depthTest:!1,depthWrite:!1,transparent:!0,side:three_webgpu.DoubleSide}),this.direction=options.direction,this.angleDirection=1}setClockwiseDirection(){this.angleDirection=-1}setCounterClockwiseDirection(){this.angleDirection=1}toggleDirection(){this.angleDirection=this.angleDirection===1?-1:1}setBaseAxes(axes){this.baseAxes=axes.clone().normalize()}getDirection(){return this.angleDirection===-1?`clockwise`:`counterclockwise`}};exports.RotateHelper=RotateHelper;
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */import{RotateHelperAbstract as e}from"./BaseHelper.mjs";import{AXES_THREE_COLOR as t,RENDER_ORDER as n}from"../constant.mjs";import r from"../utils/calculateScaleByCamera.mjs";import{tipsDom as i}from"../utils/tipsDom.mjs";import*as a from"three/webgpu";var o=class extends e{constructor(e,n){super(e,n),this.name=`RotateHelper`,this.children=[],(n==null?void 0:n.yzCircleEnable)!==!1&&(this.xCircle=new s({direction:`x`,color:t.X})),(n==null?void 0:n.xzCircleEnable)!==!1&&(this.yCircle=new s({direction:`y`,color:t.Y})),(n==null?void 0:n.xyCircleEnable)!==!1&&(this.zCircle=new s({direction:`z`,color:t.Z})),n!=null&&n.container&&(n==null?void 0:n.angleTipsEnable)!==!1&&(this.container=n==null?void 0:n.container,this.angleTips=i({display:`none`}),this.container.appendChild(this.angleTips.element)),this.add(...[this.xCircle,this.yCircle,this.zCircle].filter(Boolean)),this.show()}hide(){this.children.forEach(e=>e.hide())}show(){var e;this.children.forEach(e=>e.showCircle()),(e=this.angleTips)==null||e.hide()}setScaleByCamera(e){this.scale.setScalar(r(e,this.position))}update(e){if(e.type===`OrthographicCamera`)return;let t=this.helperObject.position.clone().sub(e.position).normalize(),n=new a.Vector3(1,0,0).applyQuaternion(this.quaternion),r=new a.Vector3(0,1,0).applyQuaternion(this.quaternion),i=new a.Vector3(0,0,1).applyQuaternion(this.quaternion),o=t.angleTo(n),s=t.angleTo(r),c=t.angleTo(i),l=Math.PI/2,u=s>=l,d=c>=l,f=o>=l;if(this.xCircle){let e=this.xCircle.circle.gapAngle;u&&d?this.xCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,e,Math.PI/2-e*2):u&&!d?this.xCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,Math.PI/2+e,Math.PI/2-e*2):!u&&d?this.xCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,Math.PI/2*3+e,Math.PI/2-e*2):!u&&!d&&(this.xCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,Math.PI+e,Math.PI/2-e*2)),this.xCircle.angleSector&&(this.xCircle.angleSector.offsetAngle=e=>e,u&&d||u&&!d?this.xCircle.angleSector.baseAxes=new a.Vector3(0,0,1):!u&&d?(this.xCircle.angleSector.baseAxes=new a.Vector3(0,-1,0),this.xCircle.angleSector.offsetAngle=e=>e-Math.PI/2):!u&&!d&&(this.xCircle.angleSector.baseAxes=new a.Vector3(0,0,-1),this.xCircle.angleSector.offsetAngle=e=>e-Math.PI))}if(this.yCircle){this.yCircle.angleSector.offsetAngle=e=>e;let e=this.yCircle.circle.gapAngle;f&&d?this.yCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,e,Math.PI/2-e*2):f&&!d?this.yCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,Math.PI/2*3+e,Math.PI/2-e*2):!f&&d?this.yCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,Math.PI/2+e,Math.PI/2-e*2):!f&&!d&&(this.yCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,Math.PI+e,Math.PI/2-e*2)),f&&d?this.yCircle.angleSector.baseAxes=new a.Vector3(1,0,0):f&&!d?(this.yCircle.angleSector.baseAxes=new a.Vector3(0,0,-1),this.yCircle.angleSector.offsetAngle=e=>e-Math.PI/2):!f&&d?(this.yCircle.angleSector.baseAxes=new a.Vector3(0,0,1),this.yCircle.angleSector.offsetAngle=e=>e+Math.PI/2):!f&&!d&&(this.yCircle.angleSector.baseAxes=new a.Vector3(-1,0,0),this.yCircle.angleSector.offsetAngle=e=>e+Math.PI)}if(this.zCircle){this.zCircle.angleSector.offsetAngle=e=>e;let e=this.zCircle.circle.gapAngle;f&&u?this.zCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,e,Math.PI/2-e*2):f&&!u?this.zCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,Math.PI/2*3+e,Math.PI/2-e*2):!f&&u?this.zCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,Math.PI/2+e,Math.PI/2-e*2):!f&&!u&&(this.zCircle.circle.geometry=new a.RingGeometry(.3,.35,20,8,Math.PI+e,Math.PI/2-e*2)),this.zCircle.angleSector&&(f&&u?this.zCircle.angleSector.baseAxes=new a.Vector3(1,0,0):f&&!u?(this.zCircle.angleSector.baseAxes=new a.Vector3(0,-1,0),this.zCircle.angleSector.offsetAngle=e=>e-Math.PI/2):!f&&u?(this.zCircle.angleSector.baseAxes=new a.Vector3(0,1,0),this.zCircle.angleSector.offsetAngle=e=>e+Math.PI/2):!f&&!u&&(this.zCircle.angleSector.baseAxes=new a.Vector3(-1,0,0),this.zCircle.angleSector.offsetAngle=e=>e+Math.PI))}}showDraggingHelper(e){var t;this.hide(),this.children.filter(t=>e.includes(t.direction)).forEach(e=>e.showRing()),(t=this.angleTips)==null||t.show()}dispose(){var e,t;this.removeFromParent(),(t=(e=this.angleTips)==null?void 0:e.element)==null||t.remove()}},s=class extends a.Group{constructor(e){super(),this.direction=e.direction,this.circle=new c(e),this.ring=new l(e),this.angleSector=new u(e),this.add(this.circle,this.ring,this.angleSector),this.direction===`y`?this.rotation.x=Math.PI/2:this.direction===`x`&&(this.rotation.y=-Math.PI/2)}showCircle(){this.add(this.circle),this.remove(this.ring,this.angleSector)}showRing(){this.add(this.ring,this.angleSector),this.remove(this.circle)}hide(){this.remove(this.ring,this.angleSector,this.circle)}},c=class extends a.Mesh{constructor(e){var t;super(),this.gapAngle=.02,this.geometry=new a.RingGeometry(.3,.35,20,8,this.gapAngle,Math.PI/2-this.gapAngle*2),this.material=new a.MeshBasicMaterial({opacity:.6,transparent:!0,color:(t=e.color)==null?16777215:t,side:a.DoubleSide,depthTest:!1}),this.direction=e.direction,this.renderOrder=n.ROTATE_HELPER,this.geometry.name=`RotateHelperCircleGeometry-${this.direction}`}},l=class extends a.Group{constructor(e){super(),this.direction=e.direction;let t=.015,n=Array(8).fill(null).map((e,n)=>{let r=new a.RingGeometry(.3,.35,20,8,Math.PI/4*n+t,Math.PI/4-t*2),i=new a.MeshBasicMaterial({opacity:1,color:16777215,depthTest:!1,depthWrite:!1,transparent:!0,side:a.DoubleSide}),o=new a.Mesh(r,i);return o.name=`AxesDashedRing-${this.direction}-${n}`,o});this.add(...n)}},u=class extends a.Mesh{constructor(e){var t;switch(super(),this.offsetAngle=e=>e,e.direction){case`x`:this.baseAxes=new a.Vector3(0,0,1);break;case`y`:this.baseAxes=new a.Vector3(1,0,0);break;case`z`:this.baseAxes=new a.Vector3(1,0,0);break}this.geometry=new a.CircleGeometry(.3505,48,0,1e-4),this.material=new a.MeshBasicMaterial({opacity:.4,color:(t=e.color)==null?16777215:t,depthTest:!1,depthWrite:!1,transparent:!0,side:a.DoubleSide}),this.direction=e.direction,this.angleDirection=1}setClockwiseDirection(){this.angleDirection=-1}setCounterClockwiseDirection(){this.angleDirection=1}toggleDirection(){this.angleDirection=this.angleDirection===1?-1:1}setBaseAxes(e){this.baseAxes=e.clone().normalize()}getDirection(){return this.angleDirection===-1?`clockwise`:`counterclockwise`}};export{o as RotateHelper};
338
+ */import{RotateHelperAbstract}from"./BaseHelper.mjs";import{AXES_THREE_COLOR,RENDER_ORDER}from"../constant.mjs";import calculateScaleByCamera from"../utils/calculateScaleByCamera.mjs";import{tipsDom}from"../utils/tipsDom.mjs";import*as THREE from"three/webgpu";var RotateHelper=class extends RotateHelperAbstract{constructor(originObject3D,config){super(originObject3D,config),this.name=`RotateHelper`,this.children=[],(config==null?void 0:config.yzCircleEnable)!==!1&&(this.xCircle=new RotateCircleGroup({direction:`x`,color:AXES_THREE_COLOR.X})),(config==null?void 0:config.xzCircleEnable)!==!1&&(this.yCircle=new RotateCircleGroup({direction:`y`,color:AXES_THREE_COLOR.Y})),(config==null?void 0:config.xyCircleEnable)!==!1&&(this.zCircle=new RotateCircleGroup({direction:`z`,color:AXES_THREE_COLOR.Z})),config!=null&&config.container&&(config==null?void 0:config.angleTipsEnable)!==!1&&(this.container=config==null?void 0:config.container,this.angleTips=tipsDom({display:`none`}),this.container.appendChild(this.angleTips.element)),this.add(...[this.xCircle,this.yCircle,this.zCircle].filter(Boolean)),this.show()}hide(){this.children.forEach(child=>child.hide())}show(){var _a;this.children.forEach(child=>child.showCircle()),(_a=this.angleTips)==null||_a.hide()}setScaleByCamera(camera){this.scale.setScalar(calculateScaleByCamera(camera,this.position))}update(camera){if(camera.type===`OrthographicCamera`)return;let cameraDirection=this.helperObject.position.clone().sub(camera.position).normalize(),worldDirectionX=new THREE.Vector3(1,0,0).applyQuaternion(this.quaternion),worldDirectionY=new THREE.Vector3(0,1,0).applyQuaternion(this.quaternion),worldDirectionZ=new THREE.Vector3(0,0,1).applyQuaternion(this.quaternion),angleX=cameraDirection.angleTo(worldDirectionX),angleY=cameraDirection.angleTo(worldDirectionY),angleZ=cameraDirection.angleTo(worldDirectionZ),threshold=Math.PI/2,positiveY=angleY>=threshold,positiveZ=angleZ>=threshold,positiveX=angleX>=threshold;if(this.xCircle){let gapAngle=this.xCircle.circle.gapAngle;positiveY&&positiveZ?this.xCircle.circle.geometry=new THREE.RingGeometry(.3,.35,20,8,gapAngle,Math.PI/2-gapAngle*2):positiveY&&!positiveZ?this.xCircle.circle.geometry=new THREE.RingGeometry(.3,.35,20,8,Math.PI/2+gapAngle,Math.PI/2-gapAngle*2):!positiveY&&positiveZ?this.xCircle.circle.geometry=new THREE.RingGeometry(.3,.35,20,8,Math.PI/2*3+gapAngle,Math.PI/2-gapAngle*2):!positiveY&&!positiveZ&&(this.xCircle.circle.geometry=new THREE.RingGeometry(.3,.35,20,8,Math.PI+gapAngle,Math.PI/2-gapAngle*2)),this.xCircle.angleSector&&(this.xCircle.angleSector.offsetAngle=angle=>angle,positiveY&&positiveZ||positiveY&&!positiveZ?this.xCircle.angleSector.baseAxes=new THREE.Vector3(0,0,1):!positiveY&&positiveZ?(this.xCircle.angleSector.baseAxes=new THREE.Vector3(0,-1,0),this.xCircle.angleSector.offsetAngle=angle=>angle-Math.PI/2):!positiveY&&!positiveZ&&(this.xCircle.angleSector.baseAxes=new THREE.Vector3(0,0,-1),this.xCircle.angleSector.offsetAngle=angle=>angle-Math.PI))}if(this.yCircle){this.yCircle.angleSector.offsetAngle=angle=>angle;let gapAngle=this.yCircle.circle.gapAngle;positiveX&&positiveZ?this.yCircle.circle.geometry=new THREE.RingGeometry(.3,.35,20,8,gapAngle,Math.PI/2-gapAngle*2):positiveX&&!positiveZ?this.yCircle.circle.geometry=new THREE.RingGeometry(.3,.35,20,8,Math.PI/2*3+gapAngle,Math.PI/2-gapAngle*2):!positiveX&&positiveZ?this.yCircle.circle.geometry=new THREE.RingGeometry(.3,.35,20,8,Math.PI/2+gapAngle,Math.PI/2-gapAngle*2):!positiveX&&!positiveZ&&(this.yCircle.circle.geometry=new THREE.RingGeometry(.3,.35,20,8,Math.PI+gapAngle,Math.PI/2-gapAngle*2)),positiveX&&positiveZ?this.yCircle.angleSector.baseAxes=new THREE.Vector3(1,0,0):positiveX&&!positiveZ?(this.yCircle.angleSector.baseAxes=new THREE.Vector3(0,0,-1),this.yCircle.angleSector.offsetAngle=angle=>angle-Math.PI/2):!positiveX&&positiveZ?(this.yCircle.angleSector.baseAxes=new THREE.Vector3(0,0,1),this.yCircle.angleSector.offsetAngle=angle=>angle+Math.PI/2):!positiveX&&!positiveZ&&(this.yCircle.angleSector.baseAxes=new THREE.Vector3(-1,0,0),this.yCircle.angleSector.offsetAngle=angle=>angle+Math.PI)}if(this.zCircle){this.zCircle.angleSector.offsetAngle=angle=>angle;let gapAngle=this.zCircle.circle.gapAngle;positiveX&&positiveY?this.zCircle.circle.geometry=new THREE.RingGeometry(.3,.35,20,8,gapAngle,Math.PI/2-gapAngle*2):positiveX&&!positiveY?this.zCircle.circle.geometry=new THREE.RingGeometry(.3,.35,20,8,Math.PI/2*3+gapAngle,Math.PI/2-gapAngle*2):!positiveX&&positiveY?this.zCircle.circle.geometry=new THREE.RingGeometry(.3,.35,20,8,Math.PI/2+gapAngle,Math.PI/2-gapAngle*2):!positiveX&&!positiveY&&(this.zCircle.circle.geometry=new THREE.RingGeometry(.3,.35,20,8,Math.PI+gapAngle,Math.PI/2-gapAngle*2)),this.zCircle.angleSector&&(positiveX&&positiveY?this.zCircle.angleSector.baseAxes=new THREE.Vector3(1,0,0):positiveX&&!positiveY?(this.zCircle.angleSector.baseAxes=new THREE.Vector3(0,-1,0),this.zCircle.angleSector.offsetAngle=angle=>angle-Math.PI/2):!positiveX&&positiveY?(this.zCircle.angleSector.baseAxes=new THREE.Vector3(0,1,0),this.zCircle.angleSector.offsetAngle=angle=>angle+Math.PI/2):!positiveX&&!positiveY&&(this.zCircle.angleSector.baseAxes=new THREE.Vector3(-1,0,0),this.zCircle.angleSector.offsetAngle=angle=>angle+Math.PI))}}showDraggingHelper(directions){var _a;this.hide(),this.children.filter(child=>directions.includes(child.direction)).forEach(child=>child.showRing()),(_a=this.angleTips)==null||_a.show()}dispose(){var _a,_b;this.removeFromParent(),(_b=(_a=this.angleTips)==null?void 0:_a.element)==null||_b.remove()}},RotateCircleGroup=class extends THREE.Group{constructor(options){super(),this.direction=options.direction,this.circle=new Circle(options),this.ring=new DashedRing(options),this.angleSector=new AngleSector(options),this.add(this.circle,this.ring,this.angleSector),this.direction===`y`?this.rotation.x=Math.PI/2:this.direction===`x`&&(this.rotation.y=-Math.PI/2)}showCircle(){this.add(this.circle),this.remove(this.ring,this.angleSector)}showRing(){this.add(this.ring,this.angleSector),this.remove(this.circle)}hide(){this.remove(this.ring,this.angleSector,this.circle)}},Circle=class extends THREE.Mesh{constructor(options){var _a;super(),this.gapAngle=.02,this.geometry=new THREE.RingGeometry(.3,.35,20,8,this.gapAngle,Math.PI/2-this.gapAngle*2),this.material=new THREE.MeshBasicMaterial({opacity:.6,transparent:!0,color:(_a=options.color)==null?16777215:_a,side:THREE.DoubleSide,depthTest:!1}),this.direction=options.direction,this.renderOrder=RENDER_ORDER.ROTATE_HELPER,this.geometry.name=`RotateHelperCircleGeometry-${this.direction}`}},DashedRing=class extends THREE.Group{constructor(options){super(),this.direction=options.direction;let gapAngle=.015,meshes=Array(8).fill(null).map((_,i)=>{let geometry=new THREE.RingGeometry(.3,.35,20,8,Math.PI/4*i+gapAngle,Math.PI/4-gapAngle*2),material=new THREE.MeshBasicMaterial({opacity:1,color:16777215,depthTest:!1,depthWrite:!1,transparent:!0,side:THREE.DoubleSide}),mesh=new THREE.Mesh(geometry,material);return mesh.name=`AxesDashedRing-${this.direction}-${i}`,mesh});this.add(...meshes)}},AngleSector=class extends THREE.Mesh{constructor(options){var _a;switch(super(),this.offsetAngle=angle=>angle,options.direction){case`x`:this.baseAxes=new THREE.Vector3(0,0,1);break;case`y`:this.baseAxes=new THREE.Vector3(1,0,0);break;case`z`:this.baseAxes=new THREE.Vector3(1,0,0);break}this.geometry=new THREE.CircleGeometry(.3505,48,0,1e-4),this.material=new THREE.MeshBasicMaterial({opacity:.4,color:(_a=options.color)==null?16777215:_a,depthTest:!1,depthWrite:!1,transparent:!0,side:THREE.DoubleSide}),this.direction=options.direction,this.angleDirection=1}setClockwiseDirection(){this.angleDirection=-1}setCounterClockwiseDirection(){this.angleDirection=1}toggleDirection(){this.angleDirection=this.angleDirection===1?-1:1}setBaseAxes(axes){this.baseAxes=axes.clone().normalize()}getDirection(){return this.angleDirection===-1?`clockwise`:`counterclockwise`}};export{RotateHelper};
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */const e=require("../../_virtual/_rolldown/runtime.js");let t=require("three/webgpu");t=e.__toESM(t,1);var n={X:16730698,Y:54927,Z:3368703},r=class{static get X(){return new t.Color(n.X).convertSRGBToLinear().clone()}static get Y(){return new t.Color(n.Y).convertSRGBToLinear().clone()}static get Z(){return new t.Color(n.Z).convertSRGBToLinear().clone()}},i={ROTATE_HELPER:9992,MOVE_HELPER:9993,SCALE_HELPER_LINE:9994,SCALE_HELPER_SPHERE:9995,MOVE_HELPER_ARROW:10001,MOVE_HELPER_CENTER:10002,DRAG_GUIDE_LINE:10003,DRAG_FACE_PATCH:10004};exports.AXES_COLOR=n,exports.AXES_THREE_COLOR=r,exports.RENDER_ORDER=i;
338
+ */const require_runtime=require("../../_virtual/_rolldown/runtime.js");let three_webgpu=require("three/webgpu");three_webgpu=require_runtime.__toESM(three_webgpu,1);var AXES_COLOR={X:16730698,Y:54927,Z:3368703},AXES_THREE_COLOR=class{static get X(){return new three_webgpu.Color(AXES_COLOR.X).convertSRGBToLinear().clone()}static get Y(){return new three_webgpu.Color(AXES_COLOR.Y).convertSRGBToLinear().clone()}static get Z(){return new three_webgpu.Color(AXES_COLOR.Z).convertSRGBToLinear().clone()}},RENDER_ORDER={ROTATE_HELPER:9992,MOVE_HELPER:9993,SCALE_HELPER_LINE:9994,SCALE_HELPER_SPHERE:9995,MOVE_HELPER_ARROW:10001,MOVE_HELPER_CENTER:10002,DRAG_GUIDE_LINE:10003,DRAG_FACE_PATCH:10004};exports.AXES_COLOR=AXES_COLOR,exports.AXES_THREE_COLOR=AXES_THREE_COLOR,exports.RENDER_ORDER=RENDER_ORDER;
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */import*as e from"three/webgpu";var t={X:16730698,Y:54927,Z:3368703},n=class{static get X(){return new e.Color(t.X).convertSRGBToLinear().clone()}static get Y(){return new e.Color(t.Y).convertSRGBToLinear().clone()}static get Z(){return new e.Color(t.Z).convertSRGBToLinear().clone()}},r={ROTATE_HELPER:9992,MOVE_HELPER:9993,SCALE_HELPER_LINE:9994,SCALE_HELPER_SPHERE:9995,MOVE_HELPER_ARROW:10001,MOVE_HELPER_CENTER:10002,DRAG_GUIDE_LINE:10003,DRAG_FACE_PATCH:10004};export{t as AXES_COLOR,n as AXES_THREE_COLOR,r as RENDER_ORDER};
338
+ */import*as THREE from"three/webgpu";var AXES_COLOR={X:16730698,Y:54927,Z:3368703},AXES_THREE_COLOR=class{static get X(){return new THREE.Color(AXES_COLOR.X).convertSRGBToLinear().clone()}static get Y(){return new THREE.Color(AXES_COLOR.Y).convertSRGBToLinear().clone()}static get Z(){return new THREE.Color(AXES_COLOR.Z).convertSRGBToLinear().clone()}},RENDER_ORDER={ROTATE_HELPER:9992,MOVE_HELPER:9993,SCALE_HELPER_LINE:9994,SCALE_HELPER_SPHERE:9995,MOVE_HELPER_ARROW:10001,MOVE_HELPER_CENTER:10002,DRAG_GUIDE_LINE:10003,DRAG_FACE_PATCH:10004};export{AXES_COLOR,AXES_THREE_COLOR,RENDER_ORDER};
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */const e=require("./Controller.js");var t=t=>new e.Controller(t);exports.Object3DHelperController=e.Controller,exports.Object3DHelperPlugin=t;
338
+ */const require_Controller=require("./Controller.js");var Object3DHelperPlugin=five=>new require_Controller.Controller(five);exports.Object3DHelperController=require_Controller.Controller,exports.Object3DHelperPlugin=Object3DHelperPlugin;
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */import{Controller as e}from"./Controller.mjs";var t=t=>new e(t);export{e as Object3DHelperController,t as Object3DHelperPlugin};
338
+ */import{Controller}from"./Controller.mjs";var Object3DHelperPlugin=five=>new Controller(five);export{Controller as Object3DHelperController,Object3DHelperPlugin};
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */const e=require("../../../_virtual/_rolldown/runtime.js"),t=require("./direction.js"),n=require("../constant.js");let r=require("three/webgpu");r=e.__toESM(r,1);var i=class extends t.DirectionGroup{constructor(e){var i;super(e.direction),this.lineHeight=.5,this.arrowHeight=.1,this.name=`ArrowGroup`;let a=new r.Color((i=e.color)==null?16214315:i),o=()=>new r.MeshBasicMaterial({color:a,transparent:!0,opacity:1,depthTest:!1,depthWrite:!1}),s=new r.ConeGeometry(.04,this.arrowHeight,32);this.arrow=new t.DirectionMesh(s,o(),e.direction),this.arrow.name=`arrow-${e.direction}`,this.arrow.renderOrder=n.RENDER_ORDER.MOVE_HELPER_ARROW;let c=new r.ConeGeometry(.04,this.arrowHeight,32);this.arrowNeg=new t.DirectionMesh(c,o(),e.direction),this.arrowNeg.name=`arrow-neg-${e.direction}`,this.arrowNeg.renderOrder=n.RENDER_ORDER.MOVE_HELPER_ARROW;let l=.004,u=new r.CylinderGeometry(l,l,this.lineHeight,32);this.line=new t.DirectionMesh(u,o(),e.direction),this.line.name=`line-${e.direction}`,this.line.renderOrder=n.RENDER_ORDER.MOVE_HELPER_ARROW,this.formatGeometries(),this.add(this.arrow,this.arrowNeg,this.line)}formatGeometries(){let e=this.lineHeight,t=this.arrowHeight;this.arrow.geometry.translate(0,e+t/2,0),this.arrowNeg.geometry.rotateZ(Math.PI),this.arrowNeg.geometry.translate(0,-(e+t/2),0),this.line.geometry.translate(0,e/2,0),this.direction===`x`?(this.arrow.geometry.rotateX(Math.PI/2),this.arrow.geometry.rotateY(Math.PI/2),this.arrowNeg.geometry.rotateX(Math.PI/2),this.arrowNeg.geometry.rotateY(Math.PI/2),this.line.geometry.rotateX(Math.PI/2),this.line.geometry.rotateY(Math.PI/2)):this.direction===`z`&&(this.arrow.geometry.rotateX(Math.PI/2),this.arrowNeg.geometry.rotateX(Math.PI/2),this.line.geometry.rotateX(Math.PI/2))}};exports.ArrowGroup=i;
338
+ */const require_runtime=require("../../../_virtual/_rolldown/runtime.js"),require_direction=require("./direction.js"),require_constant=require("../constant.js");let three_webgpu=require("three/webgpu");three_webgpu=require_runtime.__toESM(three_webgpu,1);var ArrowGroup=class extends require_direction.DirectionGroup{constructor(param){var _a;super(param.direction),this.lineHeight=.5,this.arrowHeight=.1,this.name=`ArrowGroup`;let color=new three_webgpu.Color((_a=param.color)==null?16214315:_a),makeMaterial=()=>new three_webgpu.MeshBasicMaterial({color,transparent:!0,opacity:1,depthTest:!1,depthWrite:!1}),coneGeometry=new three_webgpu.ConeGeometry(.04,this.arrowHeight,32);this.arrow=new require_direction.DirectionMesh(coneGeometry,makeMaterial(),param.direction),this.arrow.name=`arrow-${param.direction}`,this.arrow.renderOrder=require_constant.RENDER_ORDER.MOVE_HELPER_ARROW;let coneGeometryNeg=new three_webgpu.ConeGeometry(.04,this.arrowHeight,32);this.arrowNeg=new require_direction.DirectionMesh(coneGeometryNeg,makeMaterial(),param.direction),this.arrowNeg.name=`arrow-neg-${param.direction}`,this.arrowNeg.renderOrder=require_constant.RENDER_ORDER.MOVE_HELPER_ARROW;let radius=.004,cylinderGeometry=new three_webgpu.CylinderGeometry(radius,radius,this.lineHeight,32);this.line=new require_direction.DirectionMesh(cylinderGeometry,makeMaterial(),param.direction),this.line.name=`line-${param.direction}`,this.line.renderOrder=require_constant.RENDER_ORDER.MOVE_HELPER_ARROW,this.formatGeometries(),this.add(this.arrow,this.arrowNeg,this.line)}formatGeometries(){let h=this.lineHeight,ah=this.arrowHeight;this.arrow.geometry.translate(0,h+ah/2,0),this.arrowNeg.geometry.rotateZ(Math.PI),this.arrowNeg.geometry.translate(0,-(h+ah/2),0),this.line.geometry.translate(0,h/2,0),this.direction===`x`?(this.arrow.geometry.rotateX(Math.PI/2),this.arrow.geometry.rotateY(Math.PI/2),this.arrowNeg.geometry.rotateX(Math.PI/2),this.arrowNeg.geometry.rotateY(Math.PI/2),this.line.geometry.rotateX(Math.PI/2),this.line.geometry.rotateY(Math.PI/2)):this.direction===`z`&&(this.arrow.geometry.rotateX(Math.PI/2),this.arrowNeg.geometry.rotateX(Math.PI/2),this.line.geometry.rotateX(Math.PI/2))}};exports.ArrowGroup=ArrowGroup;
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */import{DirectionGroup as e,DirectionMesh as t}from"./direction.mjs";import{RENDER_ORDER as n}from"../constant.mjs";import*as r from"three/webgpu";var i=class extends e{constructor(e){var i;super(e.direction),this.lineHeight=.5,this.arrowHeight=.1,this.name=`ArrowGroup`;let a=new r.Color((i=e.color)==null?16214315:i),o=()=>new r.MeshBasicMaterial({color:a,transparent:!0,opacity:1,depthTest:!1,depthWrite:!1}),s=new r.ConeGeometry(.04,this.arrowHeight,32);this.arrow=new t(s,o(),e.direction),this.arrow.name=`arrow-${e.direction}`,this.arrow.renderOrder=n.MOVE_HELPER_ARROW;let c=new r.ConeGeometry(.04,this.arrowHeight,32);this.arrowNeg=new t(c,o(),e.direction),this.arrowNeg.name=`arrow-neg-${e.direction}`,this.arrowNeg.renderOrder=n.MOVE_HELPER_ARROW;let l=.004,u=new r.CylinderGeometry(l,l,this.lineHeight,32);this.line=new t(u,o(),e.direction),this.line.name=`line-${e.direction}`,this.line.renderOrder=n.MOVE_HELPER_ARROW,this.formatGeometries(),this.add(this.arrow,this.arrowNeg,this.line)}formatGeometries(){let e=this.lineHeight,t=this.arrowHeight;this.arrow.geometry.translate(0,e+t/2,0),this.arrowNeg.geometry.rotateZ(Math.PI),this.arrowNeg.geometry.translate(0,-(e+t/2),0),this.line.geometry.translate(0,e/2,0),this.direction===`x`?(this.arrow.geometry.rotateX(Math.PI/2),this.arrow.geometry.rotateY(Math.PI/2),this.arrowNeg.geometry.rotateX(Math.PI/2),this.arrowNeg.geometry.rotateY(Math.PI/2),this.line.geometry.rotateX(Math.PI/2),this.line.geometry.rotateY(Math.PI/2)):this.direction===`z`&&(this.arrow.geometry.rotateX(Math.PI/2),this.arrowNeg.geometry.rotateX(Math.PI/2),this.line.geometry.rotateX(Math.PI/2))}};export{i as ArrowGroup};
338
+ */import{DirectionGroup,DirectionMesh}from"./direction.mjs";import{RENDER_ORDER}from"../constant.mjs";import*as THREE from"three/webgpu";var ArrowGroup=class extends DirectionGroup{constructor(param){var _a;super(param.direction),this.lineHeight=.5,this.arrowHeight=.1,this.name=`ArrowGroup`;let color=new THREE.Color((_a=param.color)==null?16214315:_a),makeMaterial=()=>new THREE.MeshBasicMaterial({color,transparent:!0,opacity:1,depthTest:!1,depthWrite:!1}),coneGeometry=new THREE.ConeGeometry(.04,this.arrowHeight,32);this.arrow=new DirectionMesh(coneGeometry,makeMaterial(),param.direction),this.arrow.name=`arrow-${param.direction}`,this.arrow.renderOrder=RENDER_ORDER.MOVE_HELPER_ARROW;let coneGeometryNeg=new THREE.ConeGeometry(.04,this.arrowHeight,32);this.arrowNeg=new DirectionMesh(coneGeometryNeg,makeMaterial(),param.direction),this.arrowNeg.name=`arrow-neg-${param.direction}`,this.arrowNeg.renderOrder=RENDER_ORDER.MOVE_HELPER_ARROW;let radius=.004,cylinderGeometry=new THREE.CylinderGeometry(radius,radius,this.lineHeight,32);this.line=new DirectionMesh(cylinderGeometry,makeMaterial(),param.direction),this.line.name=`line-${param.direction}`,this.line.renderOrder=RENDER_ORDER.MOVE_HELPER_ARROW,this.formatGeometries(),this.add(this.arrow,this.arrowNeg,this.line)}formatGeometries(){let h=this.lineHeight,ah=this.arrowHeight;this.arrow.geometry.translate(0,h+ah/2,0),this.arrowNeg.geometry.rotateZ(Math.PI),this.arrowNeg.geometry.translate(0,-(h+ah/2),0),this.line.geometry.translate(0,h/2,0),this.direction===`x`?(this.arrow.geometry.rotateX(Math.PI/2),this.arrow.geometry.rotateY(Math.PI/2),this.arrowNeg.geometry.rotateX(Math.PI/2),this.arrowNeg.geometry.rotateY(Math.PI/2),this.line.geometry.rotateX(Math.PI/2),this.line.geometry.rotateY(Math.PI/2)):this.direction===`z`&&(this.arrow.geometry.rotateX(Math.PI/2),this.arrowNeg.geometry.rotateX(Math.PI/2),this.line.geometry.rotateX(Math.PI/2))}};export{ArrowGroup};
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */const e=require("../../../_virtual/_rolldown/runtime.js"),t=require("./direction.js"),n=require("../constant.js");let r=require("three/webgpu");r=e.__toESM(r,1);var i=class extends t.DirectionGroup{constructor(e){var t,i;super(`plane`),this.name=`CenterHandle`,this.faceNormals=[new r.Vector3(1,0,0),new r.Vector3(-1,0,0),new r.Vector3(0,1,0),new r.Vector3(0,-1,0),new r.Vector3(0,0,1),new r.Vector3(0,0,-1)],this.baseColor=new r.Color((t=e==null?void 0:e.color)==null?16419862:t);let a=(i=e==null?void 0:e.size)==null?.05:i,o=new r.Color(16755008).convertSRGBToLinear();this.faceMaterials=Array.from({length:6},()=>new r.MeshBasicMaterial({color:o,transparent:!0,opacity:1,depthTest:!1,depthWrite:!1,side:r.FrontSide}));let s=new r.BoxGeometry(a,a,a),c=new r.Mesh(s,this.faceMaterials);c.direction=`plane`,c.renderOrder=n.RENDER_ORDER.MOVE_HELPER_CENTER,c.name=`center-plane-handle`,this.cube=c,this.add(this.cube)}update(e){let t=new r.Vector3().subVectors(e.position,this.cube.getWorldPosition(new r.Vector3)).normalize(),n=this.cube.getWorldQuaternion(new r.Quaternion),i=this.faceNormals.map((e,r)=>{let i=e.clone().applyQuaternion(n).dot(t);return{index:r,angle:Math.acos(Math.abs(i))}});i.sort((e,t)=>e.angle-t.angle);let a=[new r.Color(16755008).convertSRGBToLinear(),new r.Color(16419862).convertSRGBToLinear(),new r.Color(13921032).convertSRGBToLinear()];i.forEach((e,t)=>{let n=Math.floor(t/2);this.faceMaterials[e.index].color.copy(a[n])})}};exports.CenterHandle=i;
338
+ */const require_runtime=require("../../../_virtual/_rolldown/runtime.js"),require_direction=require("./direction.js"),require_constant=require("../constant.js");let three_webgpu=require("three/webgpu");three_webgpu=require_runtime.__toESM(three_webgpu,1);var CenterHandle=class extends require_direction.DirectionGroup{constructor(param){var _a,_b;super(`plane`),this.name=`CenterHandle`,this.faceNormals=[new three_webgpu.Vector3(1,0,0),new three_webgpu.Vector3(-1,0,0),new three_webgpu.Vector3(0,1,0),new three_webgpu.Vector3(0,-1,0),new three_webgpu.Vector3(0,0,1),new three_webgpu.Vector3(0,0,-1)],this.baseColor=new three_webgpu.Color((_a=param==null?void 0:param.color)==null?16419862:_a);let centerSize=(_b=param==null?void 0:param.size)==null?.05:_b,brightColor=new three_webgpu.Color(16755008).convertSRGBToLinear();this.faceMaterials=Array.from({length:6},()=>new three_webgpu.MeshBasicMaterial({color:brightColor,transparent:!0,opacity:1,depthTest:!1,depthWrite:!1,side:three_webgpu.FrontSide}));let centerGeometry=new three_webgpu.BoxGeometry(centerSize,centerSize,centerSize),cube=new three_webgpu.Mesh(centerGeometry,this.faceMaterials);cube.direction=`plane`,cube.renderOrder=require_constant.RENDER_ORDER.MOVE_HELPER_CENTER,cube.name=`center-plane-handle`,this.cube=cube,this.add(this.cube)}update(camera){let cameraDirection=new three_webgpu.Vector3().subVectors(camera.position,this.cube.getWorldPosition(new three_webgpu.Vector3)).normalize(),worldQuaternion=this.cube.getWorldQuaternion(new three_webgpu.Quaternion),faceAngles=this.faceNormals.map((normal,index)=>{let dotProduct=normal.clone().applyQuaternion(worldQuaternion).dot(cameraDirection);return{index,angle:Math.acos(Math.abs(dotProduct))}});faceAngles.sort((a,b)=>a.angle-b.angle);let colors=[new three_webgpu.Color(16755008).convertSRGBToLinear(),new three_webgpu.Color(16419862).convertSRGBToLinear(),new three_webgpu.Color(13921032).convertSRGBToLinear()];faceAngles.forEach((item,sortedIndex)=>{let colorIndex=Math.floor(sortedIndex/2);this.faceMaterials[item.index].color.copy(colors[colorIndex])})}};exports.CenterHandle=CenterHandle;
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */import{DirectionGroup as e}from"./direction.mjs";import{RENDER_ORDER as t}from"../constant.mjs";import*as n from"three/webgpu";var r=class extends e{constructor(e){var r,i;super(`plane`),this.name=`CenterHandle`,this.faceNormals=[new n.Vector3(1,0,0),new n.Vector3(-1,0,0),new n.Vector3(0,1,0),new n.Vector3(0,-1,0),new n.Vector3(0,0,1),new n.Vector3(0,0,-1)],this.baseColor=new n.Color((r=e==null?void 0:e.color)==null?16419862:r);let a=(i=e==null?void 0:e.size)==null?.05:i,o=new n.Color(16755008).convertSRGBToLinear();this.faceMaterials=Array.from({length:6},()=>new n.MeshBasicMaterial({color:o,transparent:!0,opacity:1,depthTest:!1,depthWrite:!1,side:n.FrontSide}));let s=new n.BoxGeometry(a,a,a),c=new n.Mesh(s,this.faceMaterials);c.direction=`plane`,c.renderOrder=t.MOVE_HELPER_CENTER,c.name=`center-plane-handle`,this.cube=c,this.add(this.cube)}update(e){let t=new n.Vector3().subVectors(e.position,this.cube.getWorldPosition(new n.Vector3)).normalize(),r=this.cube.getWorldQuaternion(new n.Quaternion),i=this.faceNormals.map((e,n)=>{let i=e.clone().applyQuaternion(r).dot(t);return{index:n,angle:Math.acos(Math.abs(i))}});i.sort((e,t)=>e.angle-t.angle);let a=[new n.Color(16755008).convertSRGBToLinear(),new n.Color(16419862).convertSRGBToLinear(),new n.Color(13921032).convertSRGBToLinear()];i.forEach((e,t)=>{let n=Math.floor(t/2);this.faceMaterials[e.index].color.copy(a[n])})}};export{r as CenterHandle};
338
+ */import{DirectionGroup}from"./direction.mjs";import{RENDER_ORDER}from"../constant.mjs";import*as THREE from"three/webgpu";var CenterHandle=class extends DirectionGroup{constructor(param){var _a,_b;super(`plane`),this.name=`CenterHandle`,this.faceNormals=[new THREE.Vector3(1,0,0),new THREE.Vector3(-1,0,0),new THREE.Vector3(0,1,0),new THREE.Vector3(0,-1,0),new THREE.Vector3(0,0,1),new THREE.Vector3(0,0,-1)],this.baseColor=new THREE.Color((_a=param==null?void 0:param.color)==null?16419862:_a);let centerSize=(_b=param==null?void 0:param.size)==null?.05:_b,brightColor=new THREE.Color(16755008).convertSRGBToLinear();this.faceMaterials=Array.from({length:6},()=>new THREE.MeshBasicMaterial({color:brightColor,transparent:!0,opacity:1,depthTest:!1,depthWrite:!1,side:THREE.FrontSide}));let centerGeometry=new THREE.BoxGeometry(centerSize,centerSize,centerSize),cube=new THREE.Mesh(centerGeometry,this.faceMaterials);cube.direction=`plane`,cube.renderOrder=RENDER_ORDER.MOVE_HELPER_CENTER,cube.name=`center-plane-handle`,this.cube=cube,this.add(this.cube)}update(camera){let cameraDirection=new THREE.Vector3().subVectors(camera.position,this.cube.getWorldPosition(new THREE.Vector3)).normalize(),worldQuaternion=this.cube.getWorldQuaternion(new THREE.Quaternion),faceAngles=this.faceNormals.map((normal,index)=>{let dotProduct=normal.clone().applyQuaternion(worldQuaternion).dot(cameraDirection);return{index,angle:Math.acos(Math.abs(dotProduct))}});faceAngles.sort((a,b)=>a.angle-b.angle);let colors=[new THREE.Color(16755008).convertSRGBToLinear(),new THREE.Color(16419862).convertSRGBToLinear(),new THREE.Color(13921032).convertSRGBToLinear()];faceAngles.forEach((item,sortedIndex)=>{let colorIndex=Math.floor(sortedIndex/2);this.faceMaterials[item.index].color.copy(colors[colorIndex])})}};export{CenterHandle};
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */const e=require("../../../_virtual/_rolldown/runtime.js"),t=require("./direction.js"),n=require("../constant.js");let r=require("three/webgpu");r=e.__toESM(r,1);var i=class extends t.DirectionGroup{constructor(e){var t,i,a;super(e.direction),this.name=`PlaneHandle`;let o=(t=e.size)==null?.12:t,s=(i=e.offset)==null?.12:i,c=new r.Color((a=e.color)==null?16776960:a),l=new r.BoxGeometry(o,o,.005),u=new r.MeshBasicMaterial({color:c,transparent:!0,opacity:.4,depthTest:!1,depthWrite:!1,side:r.DoubleSide});switch(this.handle=new r.Mesh(l,u),this.handle.direction=e.direction,this.handle.renderOrder=n.RENDER_ORDER.MOVE_HELPER_ARROW,this.handle.name=`plane-handle-${e.direction}`,e.direction){case`xy`:this.handle.position.set(s,s,0);break;case`xz`:this.handle.position.set(s,0,s),this.handle.rotation.x=-Math.PI/2;break;case`yz`:this.handle.position.set(0,s,s),this.handle.rotation.y=Math.PI/2;break}this.add(this.handle)}};exports.PlaneHandle=i;
338
+ */const require_runtime=require("../../../_virtual/_rolldown/runtime.js"),require_direction=require("./direction.js"),require_constant=require("../constant.js");let three_webgpu=require("three/webgpu");three_webgpu=require_runtime.__toESM(three_webgpu,1);var PlaneHandle=class extends require_direction.DirectionGroup{constructor(params){var _a,_b,_c;super(params.direction),this.name=`PlaneHandle`;let size=(_a=params.size)==null?.12:_a,offset=(_b=params.offset)==null?.12:_b,color=new three_webgpu.Color((_c=params.color)==null?16776960:_c),geometry=new three_webgpu.BoxGeometry(size,size,.005),material=new three_webgpu.MeshBasicMaterial({color,transparent:!0,opacity:.4,depthTest:!1,depthWrite:!1,side:three_webgpu.DoubleSide});switch(this.handle=new three_webgpu.Mesh(geometry,material),this.handle.direction=params.direction,this.handle.renderOrder=require_constant.RENDER_ORDER.MOVE_HELPER_ARROW,this.handle.name=`plane-handle-${params.direction}`,params.direction){case`xy`:this.handle.position.set(offset,offset,0);break;case`xz`:this.handle.position.set(offset,0,offset),this.handle.rotation.x=-Math.PI/2;break;case`yz`:this.handle.position.set(0,offset,offset),this.handle.rotation.y=Math.PI/2;break}this.add(this.handle)}};exports.PlaneHandle=PlaneHandle;
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */import{DirectionGroup as e}from"./direction.mjs";import{RENDER_ORDER as t}from"../constant.mjs";import*as n from"three/webgpu";var r=class extends e{constructor(e){var r,i,a;super(e.direction),this.name=`PlaneHandle`;let o=(r=e.size)==null?.12:r,s=(i=e.offset)==null?.12:i,c=new n.Color((a=e.color)==null?16776960:a),l=new n.BoxGeometry(o,o,.005),u=new n.MeshBasicMaterial({color:c,transparent:!0,opacity:.4,depthTest:!1,depthWrite:!1,side:n.DoubleSide});switch(this.handle=new n.Mesh(l,u),this.handle.direction=e.direction,this.handle.renderOrder=t.MOVE_HELPER_ARROW,this.handle.name=`plane-handle-${e.direction}`,e.direction){case`xy`:this.handle.position.set(s,s,0);break;case`xz`:this.handle.position.set(s,0,s),this.handle.rotation.x=-Math.PI/2;break;case`yz`:this.handle.position.set(0,s,s),this.handle.rotation.y=Math.PI/2;break}this.add(this.handle)}};export{r as PlaneHandle};
338
+ */import{DirectionGroup}from"./direction.mjs";import{RENDER_ORDER}from"../constant.mjs";import*as THREE from"three/webgpu";var PlaneHandle=class extends DirectionGroup{constructor(params){var _a,_b,_c;super(params.direction),this.name=`PlaneHandle`;let size=(_a=params.size)==null?.12:_a,offset=(_b=params.offset)==null?.12:_b,color=new THREE.Color((_c=params.color)==null?16776960:_c),geometry=new THREE.BoxGeometry(size,size,.005),material=new THREE.MeshBasicMaterial({color,transparent:!0,opacity:.4,depthTest:!1,depthWrite:!1,side:THREE.DoubleSide});switch(this.handle=new THREE.Mesh(geometry,material),this.handle.direction=params.direction,this.handle.renderOrder=RENDER_ORDER.MOVE_HELPER_ARROW,this.handle.name=`plane-handle-${params.direction}`,params.direction){case`xy`:this.handle.position.set(offset,offset,0);break;case`xz`:this.handle.position.set(offset,0,offset),this.handle.rotation.x=-Math.PI/2;break;case`yz`:this.handle.position.set(0,offset,offset),this.handle.rotation.y=Math.PI/2;break}this.add(this.handle)}};export{PlaneHandle};
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */function e(e,t,n){let r=e.position.distanceTo(t),i=e.fov,a=e.distance||3,o=r/3,s=i/90,c=a/3,l=o*s*c,u=(n==null?void 0:n.min)||.6,d=n==null?void 0:n.max;return u&&l<u?u:d&&l>d?d:l}exports.default=e;
338
+ */function calculateScaleByCamera(camera,position,limit){let distance=camera.position.distanceTo(position),fov=camera.fov,cameraDistance=camera.distance||3,distanceScale=distance/3,fovScale=fov/90,cameraDistanceScale=cameraDistance/3,scale=distanceScale*fovScale*cameraDistanceScale,min=(limit==null?void 0:limit.min)||.6,max=limit==null?void 0:limit.max;return min&&scale<min?min:max&&scale>max?max:scale}exports.default=calculateScaleByCamera;
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */function e(e,t,n){let r=e.position.distanceTo(t),i=e.fov,a=e.distance||3,o=r/3,s=i/90,c=a/3,l=o*s*c,u=(n==null?void 0:n.min)||.6,d=n==null?void 0:n.max;return u&&l<u?u:d&&l>d?d:l}export{e as default};
338
+ */function calculateScaleByCamera(camera,position,limit){let distance=camera.position.distanceTo(position),fov=camera.fov,cameraDistance=camera.distance||3,distanceScale=distance/3,fovScale=fov/90,cameraDistanceScale=cameraDistance/3,scale=distanceScale*fovScale*cameraDistanceScale,min=(limit==null?void 0:limit.min)||.6,max=limit==null?void 0:limit.max;return min&&scale<min?min:max&&scale>max?max:scale}export{calculateScaleByCamera as default};
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */let e=require("@realsee/five-webgpu");var t=new Map;function n(n){if(t.has(n))return t.get(n).hooks;let r=new e.Subscribe,i=null,a,o=()=>{i=requestAnimationFrame(o);let e=n.projectionMatrix.toArray().join(`,`)+n.matrixWorld.toArray().join(`,`);e!==a&&(a=e,r.emit(`cameraUpdate`))};return o(),t.set(n,{hooks:r,dispose:()=>{t.delete(n),cancelAnimationFrame(i)}}),r}exports.cameraHooks=n;
338
+ */let _realsee_five_webgpu=require("@realsee/five-webgpu");var map=new Map;function cameraHooks(camera){if(map.has(camera))return map.get(camera).hooks;let cameraHooks=new _realsee_five_webgpu.Subscribe,cancelAnimationFrameId=null,cameraPose,animate=()=>{cancelAnimationFrameId=requestAnimationFrame(animate);let newCameraPose=camera.projectionMatrix.toArray().join(`,`)+camera.matrixWorld.toArray().join(`,`);newCameraPose!==cameraPose&&(cameraPose=newCameraPose,cameraHooks.emit(`cameraUpdate`))};return animate(),map.set(camera,{hooks:cameraHooks,dispose:()=>{map.delete(camera),cancelAnimationFrame(cancelAnimationFrameId)}}),cameraHooks}exports.cameraHooks=cameraHooks;
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */import{Subscribe as e}from"@realsee/five-webgpu";var t=new Map;function n(n){if(t.has(n))return t.get(n).hooks;let r=new e,i=null,a,o=()=>{i=requestAnimationFrame(o);let e=n.projectionMatrix.toArray().join(`,`)+n.matrixWorld.toArray().join(`,`);e!==a&&(a=e,r.emit(`cameraUpdate`))};return o(),t.set(n,{hooks:r,dispose:()=>{t.delete(n),cancelAnimationFrame(i)}}),r}export{n as cameraHooks};
338
+ */import{Subscribe}from"@realsee/five-webgpu";var map=new Map;function cameraHooks(camera){if(map.has(camera))return map.get(camera).hooks;let cameraHooks=new Subscribe,cancelAnimationFrameId=null,cameraPose,animate=()=>{cancelAnimationFrameId=requestAnimationFrame(animate);let newCameraPose=camera.projectionMatrix.toArray().join(`,`)+camera.matrixWorld.toArray().join(`,`);newCameraPose!==cameraPose&&(cameraPose=newCameraPose,cameraHooks.emit(`cameraUpdate`))};return animate(),map.set(camera,{hooks:cameraHooks,dispose:()=>{map.delete(camera),cancelAnimationFrame(cancelAnimationFrameId)}}),cameraHooks}export{cameraHooks};
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */const e=require("../../../_virtual/_rolldown/runtime.js");let t=require("three/webgpu");t=e.__toESM(t,1);var n=class extends t.Group{constructor(e){super(),this.direction=e||`x`}};t.Line;var r=class extends t.Mesh{constructor(e,t,n){super(e,t),this.direction=n||`x`}};exports.DirectionGroup=n,exports.DirectionMesh=r;
338
+ */const require_runtime=require("../../../_virtual/_rolldown/runtime.js");let three_webgpu=require("three/webgpu");three_webgpu=require_runtime.__toESM(three_webgpu,1);var DirectionGroup=class extends three_webgpu.Group{constructor(direction){super(),this.direction=direction||`x`}};three_webgpu.Line;var DirectionMesh=class extends three_webgpu.Mesh{constructor(geometry,material,direction){super(geometry,material),this.direction=direction||`x`}};exports.DirectionGroup=DirectionGroup,exports.DirectionMesh=DirectionMesh;
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */import*as e from"three/webgpu";var t=class extends e.Group{constructor(e){super(),this.direction=e||`x`}};e.Line;var n=class extends e.Mesh{constructor(e,t,n){super(e,t),this.direction=n||`x`}};export{t as DirectionGroup,n as DirectionMesh};
338
+ */import*as THREE from"three/webgpu";var DirectionGroup=class extends THREE.Group{constructor(direction){super(),this.direction=direction||`x`}};THREE.Line;var DirectionMesh=class extends THREE.Mesh{constructor(geometry,material,direction){super(geometry,material),this.direction=direction||`x`}};export{DirectionGroup,DirectionMesh};
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */const e=require("../../../_virtual/_rolldown/runtime.js"),t=require("../../../five/utils/calculateThreeMouse.js");let n=require("three/webgpu");n=e.__toESM(n,1);function r(e,r,i){if(!r||!i||!e)return;let a=t.calculateThreeMouse(r,i);if(Math.abs(a.x)===1||Math.abs(a.y)===1)return;let o=new n.Raycaster;return o.setFromCamera(a,e),o.params.Points&&(o.params.Points.threshold=.1),o}exports.getMouseRaycaster=r;
338
+ */const require_runtime=require("../../../_virtual/_rolldown/runtime.js"),require_calculateThreeMouse=require("../../../five/utils/calculateThreeMouse.js");let three_webgpu=require("three/webgpu");three_webgpu=require_runtime.__toESM(three_webgpu,1);function getMouseRaycaster(camera,mouse,element){if(!mouse||!element||!camera)return;let threeMouse=require_calculateThreeMouse.calculateThreeMouse(mouse,element);if(Math.abs(threeMouse.x)===1||Math.abs(threeMouse.y)===1)return;let raycaster=new three_webgpu.Raycaster;return raycaster.setFromCamera(threeMouse,camera),raycaster.params.Points&&(raycaster.params.Points.threshold=.1),raycaster}exports.getMouseRaycaster=getMouseRaycaster;
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */import{calculateThreeMouse as e}from"../../../five/utils/calculateThreeMouse.mjs";import*as t from"three/webgpu";function n(n,r,i){if(!r||!i||!n)return;let a=e(r,i);if(Math.abs(a.x)===1||Math.abs(a.y)===1)return;let o=new t.Raycaster;return o.setFromCamera(a,n),o.params.Points&&(o.params.Points.threshold=.1),o}export{n as getMouseRaycaster};
338
+ */import{calculateThreeMouse}from"../../../five/utils/calculateThreeMouse.mjs";import*as THREE from"three/webgpu";function getMouseRaycaster(camera,mouse,element){if(!mouse||!element||!camera)return;let threeMouse=calculateThreeMouse(mouse,element);if(Math.abs(threeMouse.x)===1||Math.abs(threeMouse.y)===1)return;let raycaster=new THREE.Raycaster;return raycaster.setFromCamera(threeMouse,camera),raycaster.params.Points&&(raycaster.params.Points.threshold=.1),raycaster}export{getMouseRaycaster};
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */const e=require("../../../_virtual/_rolldown/runtime.js");let t=require("three/webgpu");t=e.__toESM(t,1);function n(e){let{latitude:n,longitude:a}=e,o=new t.Vector3;return r-n<.03?o.set(0,1,0):i(0,a)?o.set(0,0,1):i(Math.PI,a)?o.set(0,0,-1):i(r,a)?o.set(1,0,0):o.set(-1,0,0),o}var r=Number((Math.PI/2).toFixed(5));function i(e,t){return typeof e!=`number`||typeof t!=`number`?!1:Math.abs(e-t)<.001}exports.getOrthographicCameraDirection=n;
338
+ */const require_runtime=require("../../../_virtual/_rolldown/runtime.js");let three_webgpu=require("three/webgpu");three_webgpu=require_runtime.__toESM(three_webgpu,1);function getOrthographicCameraDirection(pose){let{latitude,longitude}=pose,vector=new three_webgpu.Vector3;return HalfPI-latitude<.03?vector.set(0,1,0):isSame(0,longitude)?vector.set(0,0,1):isSame(Math.PI,longitude)?vector.set(0,0,-1):isSame(HalfPI,longitude)?vector.set(1,0,0):vector.set(-1,0,0),vector}var HalfPI=Number((Math.PI/2).toFixed(5));function isSame(v1,v2){return typeof v1!=`number`||typeof v2!=`number`?!1:Math.abs(v1-v2)<.001}exports.getOrthographicCameraDirection=getOrthographicCameraDirection;
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  * @realsee/five-webgpu
4
- * Generated: 2026/10/30
5
- * Version: 1.0.0-alpha.13
4
+ * Generated: 2026/11/4
5
+ * Version: 1.0.0-alpha.15
6
6
  * License:
7
7
  * Realsee SDK License Agreement
8
8
 
@@ -335,4 +335,4 @@
335
335
  * writing and signed by Realsee. You and Realsee hereto confirm that this
336
336
  * Agreement and all related documents shall be drafted in English.
337
337
 
338
- */import*as e from"three/webgpu";function t(t){let{latitude:i,longitude:a}=t,o=new e.Vector3;return n-i<.03?o.set(0,1,0):r(0,a)?o.set(0,0,1):r(Math.PI,a)?o.set(0,0,-1):r(n,a)?o.set(1,0,0):o.set(-1,0,0),o}var n=Number((Math.PI/2).toFixed(5));function r(e,t){return typeof e!=`number`||typeof t!=`number`?!1:Math.abs(e-t)<.001}export{t as getOrthographicCameraDirection};
338
+ */import*as THREE from"three/webgpu";function getOrthographicCameraDirection(pose){let{latitude,longitude}=pose,vector=new THREE.Vector3;return HalfPI-latitude<.03?vector.set(0,1,0):isSame(0,longitude)?vector.set(0,0,1):isSame(Math.PI,longitude)?vector.set(0,0,-1):isSame(HalfPI,longitude)?vector.set(1,0,0):vector.set(-1,0,0),vector}var HalfPI=Number((Math.PI/2).toFixed(5));function isSame(v1,v2){return typeof v1!=`number`||typeof v2!=`number`?!1:Math.abs(v1-v2)<.001}export{getOrthographicCameraDirection};