@realsee/dnalogel 3.60.0 → 3.60.1-alpha.0

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 (460) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/components/index.js +112 -109
  3. package/dist/ItemLabelPlugin/typings.d.ts +2 -2
  4. package/dist/ModelItemLabelPlugin/typings.d.ts +2 -2
  5. package/dist/Object3DHelperPlugin/Controller.d.ts +1 -0
  6. package/dist/components/PaintBrush/Controller.d.ts +1 -1
  7. package/dist/index.cjs.js +62 -64
  8. package/dist/index.js +5977 -6060
  9. package/dist/index.umd.js +62 -64
  10. package/dist/shared-utils/CSS3DRender/CSS3DObject.d.ts +0 -7
  11. package/docs/assets/navigation.js +1 -1
  12. package/docs/assets/search.js +1 -1
  13. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
  14. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
  15. package/docs/classes/CSS3DRender.html +4 -4
  16. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  17. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
  18. package/docs/classes/ModelMakerPluginInstance.html +15 -15
  19. package/docs/classes/ModelRoomLabelController.html +6 -6
  20. package/docs/classes/MoveController.html +17 -17
  21. package/docs/classes/Object3DHelperController.html +15 -15
  22. package/docs/classes/PaintBrush.html +5 -5
  23. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  24. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  25. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  26. package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
  27. package/docs/classes/PanoTagPluginController.html +34 -34
  28. package/docs/classes/Sculpt.html +23 -23
  29. package/docs/classes/Util.BetterTween.html +2 -2
  30. package/docs/classes/Util.FiveDomEvents.html +4 -4
  31. package/docs/classes/Util.FivePuppet.html +3 -3
  32. package/docs/classes/Util.Interval.html +5 -5
  33. package/docs/classes/Util.LightTag.html +14 -14
  34. package/docs/classes/Util.LineSegments.html +2 -2
  35. package/docs/classes/Util.Magnifier.html +6 -6
  36. package/docs/classes/Util.Object3D.html +4 -4
  37. package/docs/classes/Util.PointHelper.html +2 -2
  38. package/docs/classes/Util.PointSelector.html +11 -11
  39. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  40. package/docs/classes/Util.Rectangle.html +5 -5
  41. package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
  42. package/docs/classes/Util.sculpt.BoxMesh.html +6 -6
  43. package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
  44. package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
  45. package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
  46. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
  47. package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
  48. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
  49. package/docs/classes/Util.sculpt.LineMesh.html +5 -5
  50. package/docs/classes/Util.sculpt.PointMesh.html +5 -5
  51. package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
  52. package/docs/classes/Util.sculpt.PrismMesh.html +6 -6
  53. package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
  54. package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
  55. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
  56. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
  57. package/docs/classes/WalkController.html +18 -18
  58. package/docs/enums/CameraMovementEffect.html +3 -3
  59. package/docs/enums/ContentType.html +18 -18
  60. package/docs/enums/DIRECTION.html +2 -2
  61. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  62. package/docs/enums/DimensionType.html +3 -3
  63. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  64. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  65. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  66. package/docs/enums/PointType.html +3 -3
  67. package/docs/enums/Rotation.html +3 -3
  68. package/docs/functions/AreaMakerPlugin.html +1 -1
  69. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  70. package/docs/functions/CameraMovementPlugin.html +2 -2
  71. package/docs/functions/CruisePlugin.html +1 -1
  72. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  73. package/docs/functions/GuideLinePlugin.html +1 -1
  74. package/docs/functions/ItemLabelPlugin.html +1 -1
  75. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  76. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  77. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  78. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  79. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  80. package/docs/functions/ModelMakerPlugin.html +1 -1
  81. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  82. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  83. package/docs/functions/ModelViewPlugin.html +2 -2
  84. package/docs/functions/MovePlugin.html +1 -1
  85. package/docs/functions/Object3DHelperPlugin.html +1 -1
  86. package/docs/functions/PanoCompassPlugin.html +1 -1
  87. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  88. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  89. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  90. package/docs/functions/PanoMeasurePlugin.html +1 -1
  91. package/docs/functions/PanoRulerPlugin.html +2 -2
  92. package/docs/functions/PanoRulerProPlugin.html +2 -2
  93. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  94. package/docs/functions/PanoTagPlugin.html +1 -1
  95. package/docs/functions/PanoVideoPlugin.html +2 -2
  96. package/docs/functions/PipelinePlugin.html +1 -1
  97. package/docs/functions/SculptPlugin.html +2 -2
  98. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  99. package/docs/functions/Util.absoluteUrl.html +2 -2
  100. package/docs/functions/Util.awaitNextFrame.html +1 -1
  101. package/docs/functions/Util.blink.html +2 -2
  102. package/docs/functions/Util.bounding.html +1 -1
  103. package/docs/functions/Util.boundingBox.html +1 -1
  104. package/docs/functions/Util.boundingSphere.html +1 -1
  105. package/docs/functions/Util.boxVertex.html +2 -2
  106. package/docs/functions/Util.boxVertexes.html +1 -1
  107. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  108. package/docs/functions/Util.convexHull.html +2 -2
  109. package/docs/functions/Util.equal.html +2 -2
  110. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  111. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  112. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  113. package/docs/functions/Util.getFrameTime.html +2 -2
  114. package/docs/functions/Util.inside.html +1 -1
  115. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  116. package/docs/functions/Util.isModelLike.html +1 -1
  117. package/docs/functions/Util.isNil.html +2 -2
  118. package/docs/functions/Util.isPanoramaLike.html +1 -1
  119. package/docs/functions/Util.lookObject.html +2 -2
  120. package/docs/functions/Util.lookPoint.html +2 -2
  121. package/docs/functions/Util.nextFrame.html +1 -1
  122. package/docs/functions/Util.notNil.html +2 -2
  123. package/docs/functions/Util.reblink.html +2 -2
  124. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  125. package/docs/functions/Util.sculpt.createBox.html +1 -1
  126. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  127. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  128. package/docs/functions/Util.sculpt.createLine.html +2 -2
  129. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  130. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  131. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  132. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  133. package/docs/functions/Util.tag.html +1 -1
  134. package/docs/functions/Util.tweenProgress.html +1 -1
  135. package/docs/functions/Util.uuid.html +2 -2
  136. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  137. package/docs/functions/Util.worldBounding.html +1 -1
  138. package/docs/functions/Util.worldBoundingBox.html +1 -1
  139. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  140. package/docs/functions/createPolyline.html +2 -2
  141. package/docs/functions/pluginFlag.html +1 -1
  142. package/docs/hierarchy.html +1 -1
  143. package/docs/index.html +2 -2
  144. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  145. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  146. package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
  147. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  148. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
  149. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  150. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  151. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  152. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  153. package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
  154. package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
  155. package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
  156. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  157. package/docs/interfaces/ContentTypeMapInterface.html +15 -15
  158. package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
  159. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  160. package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
  161. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  162. package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
  163. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
  164. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
  165. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  166. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  167. package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
  168. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
  169. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
  170. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  171. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  172. package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
  173. package/docs/interfaces/FloorplanBounding.html +5 -5
  174. package/docs/interfaces/FloorplanData.html +3 -3
  175. package/docs/interfaces/FloorplanEntrance.html +8 -8
  176. package/docs/interfaces/FloorplanExtraObject.html +5 -5
  177. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  178. package/docs/interfaces/FloorplanFloorData.html +3 -3
  179. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  180. package/docs/interfaces/FloorplanObserver.html +3 -3
  181. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  182. package/docs/interfaces/FloorplanPosition.html +3 -3
  183. package/docs/interfaces/FloorplanRoomItem.html +8 -8
  184. package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
  185. package/docs/interfaces/FloorplanServerBounding.html +5 -5
  186. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  187. package/docs/interfaces/FloorplanServerData.html +3 -3
  188. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  189. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  190. package/docs/interfaces/FloorplanServerEntrance.html +8 -8
  191. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  192. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  193. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  194. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  195. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  196. package/docs/interfaces/FloorplanServerRoomItem.html +9 -9
  197. package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
  198. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  199. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  200. package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
  201. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
  202. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  203. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  204. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  205. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  206. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
  207. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
  209. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  210. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  211. package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
  212. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  213. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
  214. package/docs/interfaces/HelperOffset.html +2 -2
  215. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  216. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  217. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  218. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  219. package/docs/interfaces/MinMax.html +2 -2
  220. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  221. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  222. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  223. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  224. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  225. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  226. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  227. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  228. package/docs/interfaces/ModelMakerPluginType.EventMap.html +10 -10
  229. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  230. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +4 -4
  231. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  232. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
  233. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
  234. package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
  235. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  236. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  237. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  238. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  239. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  240. package/docs/interfaces/Object3DHelperState.html +2 -2
  241. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  242. package/docs/interfaces/PaintBrushAction.html +7 -7
  243. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  244. package/docs/interfaces/PaintBrushState.html +2 -2
  245. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  246. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  247. package/docs/interfaces/PanoMeasureParameterType.html +6 -6
  248. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  249. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  250. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  251. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
  252. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  253. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  254. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  255. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  256. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  257. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  258. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  259. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  260. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  261. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  262. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  263. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  264. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  265. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  266. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  267. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  268. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  269. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
  270. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  271. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  272. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  273. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
  274. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
  275. package/docs/interfaces/PluginEventMap.html +4 -4
  276. package/docs/interfaces/Point.html +2 -2
  277. package/docs/interfaces/Room.html +2 -2
  278. package/docs/interfaces/RoomInfo.html +2 -2
  279. package/docs/interfaces/RoomLabel.html +7 -7
  280. package/docs/interfaces/RoomRules.html +1 -1
  281. package/docs/interfaces/Rooms.html +1 -1
  282. package/docs/interfaces/Scissor.html +6 -6
  283. package/docs/interfaces/State.html +4 -4
  284. package/docs/interfaces/TagCacheInterface.html +3 -3
  285. package/docs/interfaces/TagConfig.html +11 -11
  286. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  287. package/docs/interfaces/TagIconUrl.html +7 -7
  288. package/docs/interfaces/TagObjectGroup.html +2 -2
  289. package/docs/interfaces/TagStyle.html +2 -2
  290. package/docs/interfaces/Tags.html +4 -4
  291. package/docs/interfaces/TemporaryState.html +2 -2
  292. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  293. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  294. package/docs/interfaces/Util.EventHandlerConfig.html +4 -4
  295. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  296. package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
  297. package/docs/interfaces/Util.MagnifierParameter.html +5 -5
  298. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  299. package/docs/interfaces/Util.PointIntersection.html +4 -4
  300. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  301. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  302. package/docs/modules/AreaMakerPluginType.html +2 -2
  303. package/docs/modules/CruisePluginTypes.html +2 -2
  304. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  305. package/docs/modules/GuideLineItem.html +2 -2
  306. package/docs/modules/GuideLineModeItem.html +2 -2
  307. package/docs/modules/GuideLinePluginType.html +2 -2
  308. package/docs/modules/ModelMakerPluginType.html +2 -2
  309. package/docs/modules/PanoVideoPluginType.html +2 -2
  310. package/docs/modules/SculptData.html +2 -2
  311. package/docs/modules/Util.html +2 -2
  312. package/docs/modules/Util.sculpt.html +2 -2
  313. package/docs/modules.html +2 -2
  314. package/docs/types/AddObject3DHelperConfig.html +2 -2
  315. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  316. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  317. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  318. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  319. package/docs/types/ArrayPosition.html +1 -1
  320. package/docs/types/AudioAppearance.html +1 -1
  321. package/docs/types/CSS3DRenderExportType.html +1 -1
  322. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  323. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  324. package/docs/types/ClassFunctionParameters.html +1 -1
  325. package/docs/types/Color.html +1 -1
  326. package/docs/types/ContentTypeConfigKey.html +1 -1
  327. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  328. package/docs/types/ContentTypeMap.html +1 -1
  329. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  330. package/docs/types/Create3DElementReturnType.html +1 -1
  331. package/docs/types/CruisePluginExportType.html +1 -1
  332. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  333. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  334. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  335. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  336. package/docs/types/DeprecatedTagProperty.html +2 -2
  337. package/docs/types/Direction-1.html +1 -1
  338. package/docs/types/Direction4.html +1 -1
  339. package/docs/types/ElementRenderer.html +2 -2
  340. package/docs/types/FloorplanRuleLabels.html +2 -2
  341. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  342. package/docs/types/GuideLinePluginExportType.html +1 -1
  343. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  344. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  345. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  346. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  347. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  348. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  349. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  350. package/docs/types/HelperEventMap.html +1 -1
  351. package/docs/types/InternalHelperEventMap.html +1 -1
  352. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  353. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  354. package/docs/types/MediaData.html +2 -2
  355. package/docs/types/MediaStore.html +1 -1
  356. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  357. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  358. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  359. package/docs/types/ModelId.html +1 -1
  360. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  361. package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
  362. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  363. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  364. package/docs/types/MoveArgs.html +2 -2
  365. package/docs/types/MoveOpts.html +2 -2
  366. package/docs/types/Object3DHelperEventMap.html +1 -1
  367. package/docs/types/ObjectFit.html +1 -1
  368. package/docs/types/PaintBrushEventMap.html +1 -1
  369. package/docs/types/PanoCompassPluginData.html +1 -1
  370. package/docs/types/PanoCompassPluginExportType.html +1 -1
  371. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  372. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  373. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  374. package/docs/types/PanoIndex.html +1 -1
  375. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  376. package/docs/types/PanoMeasureReturnType.html +1 -1
  377. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  378. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  379. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  380. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  381. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  382. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  383. package/docs/types/PipelinePluginParameterType.html +1 -1
  384. package/docs/types/PipelinePluginReturnType.html +1 -1
  385. package/docs/types/PlaneTag.html +2 -2
  386. package/docs/types/Point2DTag.html +2 -2
  387. package/docs/types/Point3DTag.html +2 -2
  388. package/docs/types/PointTagInstance.html +1 -1
  389. package/docs/types/Position.html +1 -1
  390. package/docs/types/PositionFrom.html +1 -1
  391. package/docs/types/RotateArgs.html +2 -2
  392. package/docs/types/RotateOpts.html +2 -2
  393. package/docs/types/RuleLabelsKey.html +1 -1
  394. package/docs/types/RuleLabelsValue.html +1 -1
  395. package/docs/types/ScaleCallback.html +1 -1
  396. package/docs/types/ScalePosition.html +2 -2
  397. package/docs/types/SculptData.BoxData.html +1 -1
  398. package/docs/types/SculptData.CircleData.html +1 -1
  399. package/docs/types/SculptData.CylinderData.html +1 -1
  400. package/docs/types/SculptData.PointData.html +1 -1
  401. package/docs/types/SculptData.PolygonData.html +1 -1
  402. package/docs/types/SculptData.PolylineData.html +1 -1
  403. package/docs/types/SculptData.PrismData.html +1 -1
  404. package/docs/types/SculptData.RectangleData.html +1 -1
  405. package/docs/types/StickType.html +1 -1
  406. package/docs/types/Tag.html +2 -2
  407. package/docs/types/Tag2D.html +2 -2
  408. package/docs/types/Tag3D.html +2 -2
  409. package/docs/types/TagClickParams.html +1 -1
  410. package/docs/types/TagConfigByKey.html +1 -1
  411. package/docs/types/TagContentType.html +1 -1
  412. package/docs/types/TagContentTypeMapping.html +1 -1
  413. package/docs/types/TagDimensionType.html +1 -1
  414. package/docs/types/TagElement.html +2 -2
  415. package/docs/types/TagEvents.html +1 -1
  416. package/docs/types/TagGLTFObject.html +1 -1
  417. package/docs/types/TagHooks.html +1 -1
  418. package/docs/types/TagId.html +1 -1
  419. package/docs/types/TagInstance.html +1 -1
  420. package/docs/types/TagPointType.html +2 -2
  421. package/docs/types/TagRendererMap.html +1 -1
  422. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  423. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  424. package/docs/types/Util.ActionIfNoModelUnderMouse.html +1 -1
  425. package/docs/types/Util.PointSelectorConfig.html +1 -1
  426. package/docs/types/WorkCode.html +1 -1
  427. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  428. package/docs/variables/PLUGIN.html +1 -1
  429. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  430. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  431. package/docs/variables/Util.animeMap.html +1 -1
  432. package/docs/variables/defaultGlobalConfig.html +1 -1
  433. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  434. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  435. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  436. package/libs/ItemLabelPlugin/ItemLabelItem.js +98 -100
  437. package/libs/ItemLabelPlugin/Plugin.js +15 -14
  438. package/libs/ItemLabelPlugin/index.js +5 -4
  439. package/libs/ItemLabelPlugin/typings.d.ts +2 -2
  440. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +25 -24
  441. package/libs/ModelItemLabelPlugin/index.js +5 -4
  442. package/libs/ModelItemLabelPlugin/typings.d.ts +2 -2
  443. package/libs/Object3DHelperPlugin/Controller.d.ts +1 -0
  444. package/libs/Object3DHelperPlugin/Controller.js +54 -49
  445. package/libs/PanoSpatialTagPlugin/Plugin.js +14 -14
  446. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +13 -13
  447. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +54 -58
  448. package/libs/base/BasePlugin.js +5 -5
  449. package/libs/components/PaintBrush/Controller.d.ts +1 -1
  450. package/libs/components/PaintBrush/Controller.js +6 -6
  451. package/libs/index.js +144 -145
  452. package/libs/shared-utils/CSS3DRender/CSS3DObject.d.ts +0 -7
  453. package/libs/shared-utils/CSS3DRender/CSS3DObject.js +18 -19
  454. package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +7 -7
  455. package/libs/shared-utils/logger.js +1 -1
  456. package/libs/shared-utils/three/FBXLoader/index.js +100 -100
  457. package/package.json +1 -1
  458. package/dist/components/PaintBrush/Subscribe.d.ts +0 -76
  459. package/libs/components/PaintBrush/Subscribe.d.ts +0 -76
  460. package/libs/components/PaintBrush/Subscribe.js +0 -84
@@ -1,4 +1,4 @@
1
- import { Loader as oe, LoaderUtils as J, FileLoader as Le, TextureLoader as Ie, RepeatWrapping as ue, ClampToEdgeWrapping as le, Texture as fe, MeshPhongMaterial as N, MeshLambertMaterial as Pe, Color as F, sRGBEncoding as U, EquirectangularReflectionMapping as Fe, Matrix4 as m, Group as pe, Bone as ce, PropertyBinding as X, Object3D as ee, OrthographicCamera as Me, PerspectiveCamera as Se, PointLight as ve, MathUtils as x, SpotLight as Re, DirectionalLight as Oe, SkinnedMesh as Be, Mesh as be, LineBasicMaterial as ke, Line as De, Vector3 as G, Skeleton as Ce, AmbientLight as Ue, BufferGeometry as V, Float32BufferAttribute as O, Uint16BufferAttribute as Xe, Matrix3 as Ge, Vector4 as Ve, BufferAttribute as je, AnimationClip as ze, Quaternion as j, Euler as B, VectorKeyframeTrack as He, QuaternionKeyframeTrack as _e, NumberKeyframeTrack as Ke } from "three";
1
+ import { Loader as oe, LoaderUtils as J, FileLoader as Le, TextureLoader as Ie, RepeatWrapping as ue, ClampToEdgeWrapping as fe, Texture as le, MeshPhongMaterial as N, MeshLambertMaterial as Pe, Color as F, sRGBEncoding as U, EquirectangularReflectionMapping as Fe, Matrix4 as m, Group as pe, Bone as ce, PropertyBinding as X, Object3D as ee, OrthographicCamera as Me, PerspectiveCamera as Se, PointLight as ve, MathUtils as x, SpotLight as Re, DirectionalLight as Oe, SkinnedMesh as Be, Mesh as be, LineBasicMaterial as ke, Line as De, Vector3 as G, Skeleton as Ce, AmbientLight as Ue, BufferGeometry as V, Float32BufferAttribute as O, Uint16BufferAttribute as Xe, Matrix3 as Ge, Vector4 as Ve, BufferAttribute as je, AnimationClip as ze, Quaternion as j, Euler as B, VectorKeyframeTrack as He, QuaternionKeyframeTrack as _e, NumberKeyframeTrack as Ke } from "three";
2
2
  import { Zlib as he } from "../libs/inflate.js";
3
3
  import { NURBSCurve as me } from "../libs/NURBSCurve.js";
4
4
  var qe = function() {
@@ -15,8 +15,8 @@ var qe = function() {
15
15
  function(o) {
16
16
  try {
17
17
  t(a.parse(o, i));
18
- } catch (l) {
19
- n ? n(l) : console.error(l), a.manager.itemError(e);
18
+ } catch (f) {
19
+ n ? n(f) : console.error(f), a.manager.itemError(e);
20
20
  }
21
21
  },
22
22
  r,
@@ -83,15 +83,15 @@ var qe = function() {
83
83
  if (e[i] = a.RelativeFilename || a.Filename, "Content" in a) {
84
84
  var s = a.Content instanceof ArrayBuffer && a.Content.byteLength > 0, o = typeof a.Content == "string" && a.Content !== "";
85
85
  if (s || o) {
86
- var l = this.parseImage(r[n]);
87
- t[a.RelativeFilename || a.Filename] = l;
86
+ var f = this.parseImage(r[n]);
87
+ t[a.RelativeFilename || a.Filename] = f;
88
88
  }
89
89
  }
90
90
  }
91
91
  }
92
92
  for (var i in e) {
93
- var f = e[i];
94
- t[f] !== void 0 ? e[i] = t[f] : e[i] = e[i].split("\\").pop();
93
+ var l = e[i];
94
+ t[l] !== void 0 ? e[i] = t[l] : e[i] = e[i].split("\\").pop();
95
95
  }
96
96
  return e;
97
97
  },
@@ -143,7 +143,7 @@ var qe = function() {
143
143
  var r = this.loadTexture(e, t);
144
144
  r.ID = e.id, r.name = e.attrName;
145
145
  var n = e.WrapModeU, a = e.WrapModeV, i = n !== void 0 ? n.value : 0, s = a !== void 0 ? a.value : 0;
146
- if (r.wrapS = i === 0 ? ue : le, r.wrapT = s === 0 ? ue : le, "Scaling" in e) {
146
+ if (r.wrapS = i === 0 ? ue : fe, r.wrapT = s === 0 ? ue : fe, "Scaling" in e) {
147
147
  var o = e.Scaling.value;
148
148
  r.repeat.x = o[0], r.repeat.y = o[1];
149
149
  }
@@ -156,9 +156,9 @@ var qe = function() {
156
156
  var i, s = e.FileName.slice(-3).toLowerCase();
157
157
  if (s === "tga") {
158
158
  var o = this.manager.getHandler(".tga");
159
- o === null ? (console.warn("FBXLoader: TGA loader not found, creating placeholder texture for", e.RelativeFilename), i = new fe()) : i = o.load(r);
159
+ o === null ? (console.warn("FBXLoader: TGA loader not found, creating placeholder texture for", e.RelativeFilename), i = new le()) : i = o.load(r);
160
160
  } else
161
- s === "psd" ? (console.warn("FBXLoader: PSD textures are not supported, creating placeholder texture for", e.RelativeFilename), i = new fe()) : i = this.textureLoader.load(r);
161
+ s === "psd" ? (console.warn("FBXLoader: PSD textures are not supported, creating placeholder texture for", e.RelativeFilename), i = new le()) : i = this.textureLoader.load(r);
162
162
  return this.textureLoader.setPath(n), i;
163
163
  },
164
164
  // Parse nodes in FBXTree.Objects.Material
@@ -317,18 +317,18 @@ var qe = function() {
317
317
  T = new pe();
318
318
  var n = this.parseModels(e.skeletons, t, r), a = v.Objects.Model, i = this;
319
319
  n.forEach(function(o) {
320
- var l = a[o.ID];
321
- i.setLookAtProperties(o, l);
322
- var f = y.get(o.ID).parents;
323
- f.forEach(function(u) {
320
+ var f = a[o.ID];
321
+ i.setLookAtProperties(o, f);
322
+ var l = y.get(o.ID).parents;
323
+ l.forEach(function(u) {
324
324
  var p = n.get(u.ID);
325
325
  p !== void 0 && p.add(o);
326
326
  }), o.parent === null && T.add(o);
327
327
  }), this.bindSkeleton(e.skeletons, t, n), this.createAmbientLight(), this.setupMorphMaterials(), T.traverse(function(o) {
328
328
  if (o.userData.transformData) {
329
329
  o.parent && (o.userData.transformData.parentMatrixWorld = o.parent.matrix);
330
- var l = re(o.userData.transformData);
331
- o.applyMatrix4(l);
330
+ var f = re(o.userData.transformData);
331
+ o.applyMatrix4(f);
332
332
  }
333
333
  });
334
334
  var s = new K().parse();
@@ -338,33 +338,33 @@ var qe = function() {
338
338
  parseModels: function(e, t, r) {
339
339
  var n = /* @__PURE__ */ new Map(), a = v.Objects.Model;
340
340
  for (var i in a) {
341
- var s = parseInt(i), o = a[i], l = y.get(s), f = this.buildSkeleton(l, e, s, o.attrName);
342
- if (!f) {
341
+ var s = parseInt(i), o = a[i], f = y.get(s), l = this.buildSkeleton(f, e, s, o.attrName);
342
+ if (!l) {
343
343
  switch (o.attrType) {
344
344
  case "Camera":
345
- f = this.createCamera(l);
345
+ l = this.createCamera(f);
346
346
  break;
347
347
  case "Light":
348
- f = this.createLight(l);
348
+ l = this.createLight(f);
349
349
  break;
350
350
  case "Mesh":
351
- f = this.createMesh(l, t, r);
351
+ l = this.createMesh(f, t, r);
352
352
  break;
353
353
  case "NurbsCurve":
354
- f = this.createCurve(l, t);
354
+ l = this.createCurve(f, t);
355
355
  break;
356
356
  case "LimbNode":
357
357
  case "Root":
358
- f = new ce();
358
+ l = new ce();
359
359
  break;
360
360
  case "Null":
361
361
  default:
362
- f = new pe();
362
+ l = new pe();
363
363
  break;
364
364
  }
365
- f.name = o.attrName ? X.sanitizeNodeName(o.attrName) : "", f.ID = s;
365
+ l.name = o.attrName ? X.sanitizeNodeName(o.attrName) : "", l.ID = s;
366
366
  }
367
- this.getTransformData(f, o), n.set(s, f);
367
+ this.getTransformData(l, o), n.set(s, l);
368
368
  }
369
369
  return n;
370
370
  },
@@ -373,10 +373,10 @@ var qe = function() {
373
373
  return e.parents.forEach(function(i) {
374
374
  for (var s in t) {
375
375
  var o = t[s];
376
- o.rawBones.forEach(function(l, f) {
377
- if (l.ID === i.ID) {
376
+ o.rawBones.forEach(function(f, l) {
377
+ if (f.ID === i.ID) {
378
378
  var u = a;
379
- a = new ce(), a.matrixWorld.copy(l.transformLink), a.name = n ? X.sanitizeNodeName(n) : "", a.ID = r, o.bones[f] = a, u !== null && a.add(u);
379
+ a = new ce(), a.matrixWorld.copy(f.transformLink), a.name = n ? X.sanitizeNodeName(n) : "", a.ID = r, o.bones[l] = a, u !== null && a.add(u);
380
380
  }
381
381
  });
382
382
  }
@@ -399,12 +399,12 @@ var qe = function() {
399
399
  r.FarPlane !== void 0 && (i = r.FarPlane.value / 1e3);
400
400
  var s = window.innerWidth, o = window.innerHeight;
401
401
  r.AspectWidth !== void 0 && r.AspectHeight !== void 0 && (s = r.AspectWidth.value, o = r.AspectHeight.value);
402
- var l = s / o, f = 45;
403
- r.FieldOfView !== void 0 && (f = r.FieldOfView.value);
402
+ var f = s / o, l = 45;
403
+ r.FieldOfView !== void 0 && (l = r.FieldOfView.value);
404
404
  var u = r.FocalLength ? r.FocalLength.value : null;
405
405
  switch (n) {
406
406
  case 0:
407
- t = new Se(f, l, a, i), u !== null && t.setFocalLength(u);
407
+ t = new Se(l, f, a, i), u !== null && t.setFocalLength(u);
408
408
  break;
409
409
  case 1:
410
410
  t = new Me(-s / 2, s / 2, o / 2, -o / 2, a, i);
@@ -442,10 +442,10 @@ var qe = function() {
442
442
  t = new Oe(a, i);
443
443
  break;
444
444
  case 2:
445
- var l = Math.PI / 3;
446
- r.InnerAngle !== void 0 && (l = x.degToRad(r.InnerAngle.value));
447
- var f = 0;
448
- r.OuterAngle !== void 0 && (f = x.degToRad(r.OuterAngle.value), f = Math.max(f, 1)), t = new Re(a, i, s, l, f, o);
445
+ var f = Math.PI / 3;
446
+ r.InnerAngle !== void 0 && (f = x.degToRad(r.InnerAngle.value));
447
+ var l = 0;
448
+ r.OuterAngle !== void 0 && (l = x.degToRad(r.OuterAngle.value), l = Math.max(l, 1)), t = new Re(a, i, s, f, l, o);
449
449
  break;
450
450
  default:
451
451
  console.warn("THREE.FBXLoader: Unknown light type " + r.LightType.value + ", defaulting to a PointLight."), t = new ve(a, i);
@@ -496,8 +496,8 @@ var qe = function() {
496
496
  var i = e[a], s = y.get(parseInt(i.ID)).parents;
497
497
  s.forEach(function(o) {
498
498
  if (t.has(o.ID)) {
499
- var l = o.ID, f = y.get(l);
500
- f.parents.forEach(function(u) {
499
+ var f = o.ID, l = y.get(f);
500
+ l.parents.forEach(function(u) {
501
501
  if (r.has(u.ID)) {
502
502
  var p = r.get(u.ID);
503
503
  p.bind(new Ce(i.bones), n[u.ID]);
@@ -542,8 +542,8 @@ var qe = function() {
542
542
  setupMorphMaterial: function(e, t, r) {
543
543
  var n = e.uuid, a = t.uuid, i = !1;
544
544
  if (T.traverse(function(o) {
545
- o.isMesh && (Array.isArray(o.material) ? o.material.forEach(function(l) {
546
- l.uuid === a && o.uuid !== n && (i = !0);
545
+ o.isMesh && (Array.isArray(o.material) ? o.material.forEach(function(f) {
546
+ f.uuid === a && o.uuid !== n && (i = !0);
547
547
  }) : o.material.uuid === a && o.uuid !== n && (i = !0));
548
548
  }), i === !0) {
549
549
  var s = t.clone();
@@ -589,10 +589,10 @@ var qe = function() {
589
589
  e.children.forEach(function(u) {
590
590
  r.morphTargets[u.ID] !== void 0 && a.push(r.morphTargets[u.ID]);
591
591
  });
592
- var o = i[0], l = {};
593
- "RotationOrder" in o && (l.eulerOrder = ae(o.RotationOrder.value)), "InheritType" in o && (l.inheritType = parseInt(o.InheritType.value)), "GeometricTranslation" in o && (l.translation = o.GeometricTranslation.value), "GeometricRotation" in o && (l.rotation = o.GeometricRotation.value), "GeometricScaling" in o && (l.scale = o.GeometricScaling.value);
594
- var f = re(l);
595
- return this.genGeometry(t, s, a, f);
592
+ var o = i[0], f = {};
593
+ "RotationOrder" in o && (f.eulerOrder = ae(o.RotationOrder.value)), "InheritType" in o && (f.inheritType = parseInt(o.InheritType.value)), "GeometricTranslation" in o && (f.translation = o.GeometricTranslation.value), "GeometricRotation" in o && (f.rotation = o.GeometricRotation.value), "GeometricScaling" in o && (f.scale = o.GeometricScaling.value);
594
+ var l = re(f);
595
+ return this.genGeometry(t, s, a, l);
596
596
  }
597
597
  },
598
598
  // Generate a BufferGeometry from a node in FBXTree.Objects.Geometry
@@ -601,8 +601,8 @@ var qe = function() {
601
601
  e.attrName && (a.name = e.attrName);
602
602
  var i = this.parseGeoNode(e, t), s = this.genBuffers(i), o = new O(s.vertex, 3);
603
603
  if (o.applyMatrix4(n), a.setAttribute("position", o), s.colors.length > 0 && a.setAttribute("color", new O(s.colors, 3)), t && (a.setAttribute("skinIndex", new Xe(s.weightsIndices, 4)), a.setAttribute("skinWeight", new O(s.vertexWeights, 4)), a.FBX_Deformer = t), s.normal.length > 0) {
604
- var l = new Ge().getNormalMatrix(n), f = new O(s.normal, 3);
605
- f.applyNormalMatrix(l), a.setAttribute("normal", f);
604
+ var f = new Ge().getNormalMatrix(n), l = new O(s.normal, 3);
605
+ l.applyNormalMatrix(f), a.setAttribute("normal", l);
606
606
  }
607
607
  if (s.uvs.forEach(function(w, g) {
608
608
  var d = "uv" + (g + 1).toString();
@@ -644,7 +644,7 @@ var qe = function() {
644
644
  materialIndex: [],
645
645
  vertexWeights: [],
646
646
  weightsIndices: []
647
- }, r = 0, n = 0, a = !1, i = [], s = [], o = [], l = [], f = [], u = [], p = this;
647
+ }, r = 0, n = 0, a = !1, i = [], s = [], o = [], f = [], l = [], u = [], p = this;
648
648
  return e.vertexIndices.forEach(function(c, h) {
649
649
  var w = !1;
650
650
  c < 0 && (c = c ^ -1, w = !0);
@@ -673,7 +673,7 @@ var qe = function() {
673
673
  for (; d.length < 4; )
674
674
  d.push(0), g.push(0);
675
675
  for (var R = 0; R < 4; ++R)
676
- f.push(d[R]), u.push(g[R]);
676
+ l.push(d[R]), u.push(g[R]);
677
677
  }
678
678
  if (e.normal) {
679
679
  var A = D(h, r, c, e.normal);
@@ -683,7 +683,7 @@ var qe = function() {
683
683
  var $ = D(h, r, c, e.material)[0];
684
684
  e.uv && e.uv.forEach(function(I, E) {
685
685
  var P = D(h, r, c, I);
686
- l[E] === void 0 && (l[E] = []), l[E].push(P[0]), l[E].push(P[1]);
686
+ f[E] === void 0 && (f[E] = []), f[E].push(P[0]), f[E].push(P[1]);
687
687
  }), n++, w && (p.genFace(
688
688
  t,
689
689
  e,
@@ -691,17 +691,17 @@ var qe = function() {
691
691
  $,
692
692
  s,
693
693
  o,
694
- l,
695
694
  f,
695
+ l,
696
696
  u,
697
697
  n
698
- ), r++, n = 0, i = [], s = [], o = [], l = [], f = [], u = []);
698
+ ), r++, n = 0, i = [], s = [], o = [], f = [], l = [], u = []);
699
699
  }), t;
700
700
  },
701
701
  // Generate data for a single face in a geometry. If the face is a quad then split it into 2 tris
702
- genFace: function(e, t, r, n, a, i, s, o, l, f) {
703
- for (var u = 2; u < f; u++)
704
- e.vertex.push(t.vertexPositions[r[0]]), e.vertex.push(t.vertexPositions[r[1]]), e.vertex.push(t.vertexPositions[r[2]]), e.vertex.push(t.vertexPositions[r[(u - 1) * 3]]), e.vertex.push(t.vertexPositions[r[(u - 1) * 3 + 1]]), e.vertex.push(t.vertexPositions[r[(u - 1) * 3 + 2]]), e.vertex.push(t.vertexPositions[r[u * 3]]), e.vertex.push(t.vertexPositions[r[u * 3 + 1]]), e.vertex.push(t.vertexPositions[r[u * 3 + 2]]), t.skeleton && (e.vertexWeights.push(o[0]), e.vertexWeights.push(o[1]), e.vertexWeights.push(o[2]), e.vertexWeights.push(o[3]), e.vertexWeights.push(o[(u - 1) * 4]), e.vertexWeights.push(o[(u - 1) * 4 + 1]), e.vertexWeights.push(o[(u - 1) * 4 + 2]), e.vertexWeights.push(o[(u - 1) * 4 + 3]), e.vertexWeights.push(o[u * 4]), e.vertexWeights.push(o[u * 4 + 1]), e.vertexWeights.push(o[u * 4 + 2]), e.vertexWeights.push(o[u * 4 + 3]), e.weightsIndices.push(l[0]), e.weightsIndices.push(l[1]), e.weightsIndices.push(l[2]), e.weightsIndices.push(l[3]), e.weightsIndices.push(l[(u - 1) * 4]), e.weightsIndices.push(l[(u - 1) * 4 + 1]), e.weightsIndices.push(l[(u - 1) * 4 + 2]), e.weightsIndices.push(l[(u - 1) * 4 + 3]), e.weightsIndices.push(l[u * 4]), e.weightsIndices.push(l[u * 4 + 1]), e.weightsIndices.push(l[u * 4 + 2]), e.weightsIndices.push(l[u * 4 + 3])), t.color && (e.colors.push(i[0]), e.colors.push(i[1]), e.colors.push(i[2]), e.colors.push(i[(u - 1) * 3]), e.colors.push(i[(u - 1) * 3 + 1]), e.colors.push(i[(u - 1) * 3 + 2]), e.colors.push(i[u * 3]), e.colors.push(i[u * 3 + 1]), e.colors.push(i[u * 3 + 2])), t.material && t.material.mappingType !== "AllSame" && (e.materialIndex.push(n), e.materialIndex.push(n), e.materialIndex.push(n)), t.normal && (e.normal.push(a[0]), e.normal.push(a[1]), e.normal.push(a[2]), e.normal.push(a[(u - 1) * 3]), e.normal.push(a[(u - 1) * 3 + 1]), e.normal.push(a[(u - 1) * 3 + 2]), e.normal.push(a[u * 3]), e.normal.push(a[u * 3 + 1]), e.normal.push(a[u * 3 + 2])), t.uv && t.uv.forEach(function(p, c) {
702
+ genFace: function(e, t, r, n, a, i, s, o, f, l) {
703
+ for (var u = 2; u < l; u++)
704
+ e.vertex.push(t.vertexPositions[r[0]]), e.vertex.push(t.vertexPositions[r[1]]), e.vertex.push(t.vertexPositions[r[2]]), e.vertex.push(t.vertexPositions[r[(u - 1) * 3]]), e.vertex.push(t.vertexPositions[r[(u - 1) * 3 + 1]]), e.vertex.push(t.vertexPositions[r[(u - 1) * 3 + 2]]), e.vertex.push(t.vertexPositions[r[u * 3]]), e.vertex.push(t.vertexPositions[r[u * 3 + 1]]), e.vertex.push(t.vertexPositions[r[u * 3 + 2]]), t.skeleton && (e.vertexWeights.push(o[0]), e.vertexWeights.push(o[1]), e.vertexWeights.push(o[2]), e.vertexWeights.push(o[3]), e.vertexWeights.push(o[(u - 1) * 4]), e.vertexWeights.push(o[(u - 1) * 4 + 1]), e.vertexWeights.push(o[(u - 1) * 4 + 2]), e.vertexWeights.push(o[(u - 1) * 4 + 3]), e.vertexWeights.push(o[u * 4]), e.vertexWeights.push(o[u * 4 + 1]), e.vertexWeights.push(o[u * 4 + 2]), e.vertexWeights.push(o[u * 4 + 3]), e.weightsIndices.push(f[0]), e.weightsIndices.push(f[1]), e.weightsIndices.push(f[2]), e.weightsIndices.push(f[3]), e.weightsIndices.push(f[(u - 1) * 4]), e.weightsIndices.push(f[(u - 1) * 4 + 1]), e.weightsIndices.push(f[(u - 1) * 4 + 2]), e.weightsIndices.push(f[(u - 1) * 4 + 3]), e.weightsIndices.push(f[u * 4]), e.weightsIndices.push(f[u * 4 + 1]), e.weightsIndices.push(f[u * 4 + 2]), e.weightsIndices.push(f[u * 4 + 3])), t.color && (e.colors.push(i[0]), e.colors.push(i[1]), e.colors.push(i[2]), e.colors.push(i[(u - 1) * 3]), e.colors.push(i[(u - 1) * 3 + 1]), e.colors.push(i[(u - 1) * 3 + 2]), e.colors.push(i[u * 3]), e.colors.push(i[u * 3 + 1]), e.colors.push(i[u * 3 + 2])), t.material && t.material.mappingType !== "AllSame" && (e.materialIndex.push(n), e.materialIndex.push(n), e.materialIndex.push(n)), t.normal && (e.normal.push(a[0]), e.normal.push(a[1]), e.normal.push(a[2]), e.normal.push(a[(u - 1) * 3]), e.normal.push(a[(u - 1) * 3 + 1]), e.normal.push(a[(u - 1) * 3 + 2]), e.normal.push(a[u * 3]), e.normal.push(a[u * 3 + 1]), e.normal.push(a[u * 3 + 2])), t.uv && t.uv.forEach(function(p, c) {
705
705
  e.uvs[c] === void 0 && (e.uvs[c] = []), e.uvs[c].push(s[c][0]), e.uvs[c].push(s[c][1]), e.uvs[c].push(s[c][(u - 1) * 2]), e.uvs[c].push(s[c][(u - 1) * 2 + 1]), e.uvs[c].push(s[c][u * 2]), e.uvs[c].push(s[c][u * 2 + 1]);
706
706
  });
707
707
  },
@@ -722,13 +722,13 @@ var qe = function() {
722
722
  // and a special attribute Index defining which vertices of the original geometry are affected
723
723
  // Normal and position attributes only have data for the vertices that are affected by the morph
724
724
  genMorphGeometry: function(e, t, r, n, a) {
725
- for (var i = t.PolygonVertexIndex !== void 0 ? t.PolygonVertexIndex.a : [], s = r.Vertices !== void 0 ? r.Vertices.a : [], o = r.Indexes !== void 0 ? r.Indexes.a : [], l = e.attributes.position.count * 3, f = new Float32Array(l), u = 0; u < o.length; u++) {
725
+ for (var i = t.PolygonVertexIndex !== void 0 ? t.PolygonVertexIndex.a : [], s = r.Vertices !== void 0 ? r.Vertices.a : [], o = r.Indexes !== void 0 ? r.Indexes.a : [], f = e.attributes.position.count * 3, l = new Float32Array(f), u = 0; u < o.length; u++) {
726
726
  var p = o[u] * 3;
727
- f[p] = s[u * 3], f[p + 1] = s[u * 3 + 1], f[p + 2] = s[u * 3 + 2];
727
+ l[p] = s[u * 3], l[p + 1] = s[u * 3 + 1], l[p + 2] = s[u * 3 + 2];
728
728
  }
729
729
  var c = {
730
730
  vertexIndices: i,
731
- vertexPositions: f
731
+ vertexPositions: l
732
732
  }, h = this.genBuffers(c), w = new O(h.vertex, 3);
733
733
  w.name = a || r.attrName, w.applyMatrix4(n), e.morphAttributes.position.push(w);
734
734
  },
@@ -797,15 +797,15 @@ var qe = function() {
797
797
  return console.error("THREE.FBXLoader: Invalid Order %s given for geometry ID: %s", e.Order, e.id), new V();
798
798
  for (var r = t - 1, n = e.KnotVector.a, a = [], i = e.Points.a, s = 0, o = i.length; s < o; s += 4)
799
799
  a.push(new Ve().fromArray(i, s));
800
- var l, f;
800
+ var f, l;
801
801
  if (e.Form === "Closed")
802
802
  a.push(a[0]);
803
803
  else if (e.Form === "Periodic") {
804
- l = r, f = n.length - 1 - l;
804
+ f = r, l = n.length - 1 - f;
805
805
  for (var s = 0; s < r; ++s)
806
806
  a.push(a[s]);
807
807
  }
808
- var u = new me(r, n, a, l, f), p = u.getPoints(a.length * 7), c = new Float32Array(p.length * 3);
808
+ var u = new me(r, n, a, f, l), p = u.getPoints(a.length * 7), c = new Float32Array(p.length * 3);
809
809
  p.forEach(function(w, g) {
810
810
  w.toArray(c, g * 3);
811
811
  });
@@ -879,11 +879,11 @@ var qe = function() {
879
879
  var a = [], i = y.get(parseInt(n));
880
880
  if (i !== void 0) {
881
881
  var s = i.children;
882
- s.forEach(function(o, l) {
882
+ s.forEach(function(o, f) {
883
883
  if (e.has(o.ID)) {
884
- var f = e.get(o.ID);
885
- if (f.curves.x !== void 0 || f.curves.y !== void 0 || f.curves.z !== void 0) {
886
- if (a[l] === void 0) {
884
+ var l = e.get(o.ID);
885
+ if (l.curves.x !== void 0 || l.curves.y !== void 0 || l.curves.z !== void 0) {
886
+ if (a[f] === void 0) {
887
887
  var u = y.get(o.ID).parents.filter(function(d) {
888
888
  return d.relationship !== void 0;
889
889
  })[0].ID;
@@ -902,21 +902,21 @@ var qe = function() {
902
902
  };
903
903
  T.traverse(function(d) {
904
904
  d.ID === p.id && (c.transform = d.matrix, d.userData.transformData && (c.eulerOrder = d.userData.transformData.eulerOrder));
905
- }), c.transform || (c.transform = new m()), "PreRotation" in p && (c.preRotation = p.PreRotation.value), "PostRotation" in p && (c.postRotation = p.PostRotation.value), a[l] = c;
905
+ }), c.transform || (c.transform = new m()), "PreRotation" in p && (c.preRotation = p.PreRotation.value), "PostRotation" in p && (c.postRotation = p.PostRotation.value), a[f] = c;
906
906
  }
907
907
  }
908
- a[l] && (a[l][f.attr] = f);
909
- } else if (f.curves.morph !== void 0) {
910
- if (a[l] === void 0) {
908
+ a[f] && (a[f][l.attr] = l);
909
+ } else if (l.curves.morph !== void 0) {
910
+ if (a[f] === void 0) {
911
911
  var h = y.get(o.ID).parents.filter(function(S) {
912
912
  return S.relationship !== void 0;
913
913
  })[0].ID, w = y.get(h).parents[0].ID, g = y.get(w).parents[0].ID, u = y.get(g).parents[0].ID, p = v.Objects.Model[u], c = {
914
914
  modelName: p.attrName ? X.sanitizeNodeName(p.attrName) : "",
915
915
  morphName: v.Objects.Deformer[h].attrName
916
916
  };
917
- a[l] = c;
917
+ a[f] = c;
918
918
  }
919
- a[l][f.attr] = f;
919
+ a[f][l.attr] = l;
920
920
  }
921
921
  }
922
922
  }), r.set(parseInt(n), a);
@@ -969,8 +969,8 @@ var qe = function() {
969
969
  o !== void 0 && t.push(o);
970
970
  }
971
971
  if (e.DeformPercent !== void 0) {
972
- var l = this.generateMorphTrack(e);
973
- l !== void 0 && t.push(l);
972
+ var f = this.generateMorphTrack(e);
973
+ f !== void 0 && t.push(f);
974
974
  }
975
975
  return t;
976
976
  },
@@ -982,8 +982,8 @@ var qe = function() {
982
982
  t.x !== void 0 && (this.interpolateRotations(t.x), t.x.values = t.x.values.map(x.degToRad)), t.y !== void 0 && (this.interpolateRotations(t.y), t.y.values = t.y.values.map(x.degToRad)), t.z !== void 0 && (this.interpolateRotations(t.z), t.z.values = t.z.values.map(x.degToRad));
983
983
  var s = this.getTimesForAllAxes(t), o = this.getKeyframeTrackValues(s, t, r);
984
984
  n !== void 0 && (n = n.map(x.degToRad), n.push(i), n = new B().fromArray(n), n = new j().setFromEuler(n)), a !== void 0 && (a = a.map(x.degToRad), a.push(i), a = new B().fromArray(a), a = new j().setFromEuler(a).inverse());
985
- for (var l = new j(), f = new B(), u = [], p = 0; p < o.length; p += 3)
986
- f.set(o[p], o[p + 1], o[p + 2], i), l.setFromEuler(f), n !== void 0 && l.premultiply(n), a !== void 0 && l.multiply(a), l.toArray(u, p / 3 * 4);
985
+ for (var f = new j(), l = new B(), u = [], p = 0; p < o.length; p += 3)
986
+ l.set(o[p], o[p + 1], o[p + 2], i), f.setFromEuler(l), n !== void 0 && f.premultiply(n), a !== void 0 && f.multiply(a), f.toArray(u, p / 3 * 4);
987
987
  return new _e(e + ".quaternion", s, u);
988
988
  },
989
989
  generateMorphTrack: function(e) {
@@ -1004,10 +1004,10 @@ var qe = function() {
1004
1004
  },
1005
1005
  getKeyframeTrackValues: function(e, t, r) {
1006
1006
  var n = r, a = [], i = -1, s = -1, o = -1;
1007
- return e.forEach(function(l) {
1008
- if (t.x && (i = t.x.times.indexOf(l)), t.y && (s = t.y.times.indexOf(l)), t.z && (o = t.z.times.indexOf(l)), i !== -1) {
1009
- var f = t.x.values[i];
1010
- a.push(f), n[0] = f;
1007
+ return e.forEach(function(f) {
1008
+ if (t.x && (i = t.x.times.indexOf(f)), t.y && (s = t.y.times.indexOf(f)), t.z && (o = t.z.times.indexOf(f)), i !== -1) {
1009
+ var l = t.x.values[i];
1010
+ a.push(l), n[0] = l;
1011
1011
  } else
1012
1012
  a.push(n[0]);
1013
1013
  if (s !== -1) {
@@ -1029,7 +1029,7 @@ var qe = function() {
1029
1029
  for (var t = 1; t < e.values.length; t++) {
1030
1030
  var r = e.values[t - 1], n = e.values[t] - r, a = Math.abs(n);
1031
1031
  if (a >= 180) {
1032
- for (var i = a / 180, s = n / i, o = r + s, l = e.times[t - 1], f = e.times[t] - l, u = f / i, p = l + u, c = [], h = []; p < e.times[t]; )
1032
+ for (var i = a / 180, s = n / i, o = r + s, f = e.times[t - 1], l = e.times[t] - f, u = l / i, p = f + u, c = [], h = []; p < e.times[t]; )
1033
1033
  c.push(p), p += u, h.push(o), o += s;
1034
1034
  e.times = ie(e.times, t, c), e.values = ie(e.values, t, h);
1035
1035
  }
@@ -1064,8 +1064,8 @@ var qe = function() {
1064
1064
  return r.forEach(function(n, a) {
1065
1065
  var i = n.match(/^[\s\t]*;/), s = n.match(/^[\s\t]*$/);
1066
1066
  if (!(i || s)) {
1067
- var o = n.match("^\\t{" + t.currentIndent + "}(\\w+):(.*){", ""), l = n.match("^\\t{" + t.currentIndent + "}(\\w+):[\\s\\t\\r\\n](.*)"), f = n.match("^\\t{" + (t.currentIndent - 1) + "}}");
1068
- o ? t.parseNodeBegin(n, o) : l ? t.parseNodeProperty(n, l, r[++a]) : f ? t.popStack() : n.match(/^[^\s\t}]/) && t.parseNodePropertyContinued(n);
1067
+ var o = n.match("^\\t{" + t.currentIndent + "}(\\w+):(.*){", ""), f = n.match("^\\t{" + t.currentIndent + "}(\\w+):[\\s\\t\\r\\n](.*)"), l = n.match("^\\t{" + (t.currentIndent - 1) + "}}");
1068
+ o ? t.parseNodeBegin(n, o) : f ? t.parseNodeProperty(n, f, r[++a]) : l ? t.popStack() : n.match(/^[^\s\t}]/) && t.parseNodePropertyContinued(n);
1069
1069
  }
1070
1070
  }), this.allNodes;
1071
1071
  },
@@ -1090,10 +1090,10 @@ var qe = function() {
1090
1090
  return;
1091
1091
  }
1092
1092
  if (n === "C") {
1093
- var o = a.split(",").slice(1), l = parseInt(o[0]), f = parseInt(o[1]), u = a.split(",").slice(3);
1093
+ var o = a.split(",").slice(1), f = parseInt(o[0]), l = parseInt(o[1]), u = a.split(",").slice(3);
1094
1094
  u = u.map(function(p) {
1095
1095
  return p.trim().replace(/^"/, "");
1096
- }), n = "connections", a = [l, f], Te(a, u), i[n] === void 0 && (i[n] = []);
1096
+ }), n = "connections", a = [f, l], Te(a, u), i[n] === void 0 && (i[n] = []);
1097
1097
  }
1098
1098
  n === "Node" && (i.id = a), n in i && Array.isArray(i[n]) ? i[n].push(a) : n !== "a" ? i[n] = a : i.a = a, this.setCurrentProp(i, n), n === "a" && a.slice(-1) !== "," && (i.a = q(a));
1099
1099
  },
@@ -1103,9 +1103,9 @@ var qe = function() {
1103
1103
  },
1104
1104
  // parse "Property70"
1105
1105
  parseNodeSpecialProperty: function(e, t, r) {
1106
- var n = r.split('",').map(function(f) {
1107
- return f.trim().replace(/^\"/, "").replace(/\s/, "_");
1108
- }), a = n[0], i = n[1], s = n[2], o = n[3], l = n[4];
1106
+ var n = r.split('",').map(function(l) {
1107
+ return l.trim().replace(/^\"/, "").replace(/\s/, "_");
1108
+ }), a = n[0], i = n[1], s = n[2], o = n[3], f = n[4];
1109
1109
  switch (i) {
1110
1110
  case "int":
1111
1111
  case "enum":
@@ -1114,7 +1114,7 @@ var qe = function() {
1114
1114
  case "double":
1115
1115
  case "Number":
1116
1116
  case "FieldOfView":
1117
- l = parseFloat(l);
1117
+ f = parseFloat(f);
1118
1118
  break;
1119
1119
  case "Color":
1120
1120
  case "ColorRGB":
@@ -1122,14 +1122,14 @@ var qe = function() {
1122
1122
  case "Lcl_Translation":
1123
1123
  case "Lcl_Rotation":
1124
1124
  case "Lcl_Scaling":
1125
- l = q(l);
1125
+ f = q(f);
1126
1126
  break;
1127
1127
  }
1128
1128
  this.getPrevNode()[a] = {
1129
1129
  type: i,
1130
1130
  type2: s,
1131
1131
  flag: o,
1132
- value: l
1132
+ value: f
1133
1133
  }, this.setCurrentProp(this.getPrevNode(), a);
1134
1134
  }
1135
1135
  };
@@ -1141,7 +1141,7 @@ var qe = function() {
1141
1141
  var t = new b(e);
1142
1142
  t.skip(23);
1143
1143
  var r = t.getUint32();
1144
- console.log("THREE.FBXLoader: FBX binary version: " + r);
1144
+ console.info("THREE.FBXLoader: FBX binary version: " + r);
1145
1145
  for (var n = new k(); !this.endOfContent(t); ) {
1146
1146
  var a = this.parseNode(t, r);
1147
1147
  a !== null && n.add(a.name, a);
@@ -1159,14 +1159,14 @@ var qe = function() {
1159
1159
  var i = e.getUint8(), s = e.getString(i);
1160
1160
  if (n === 0)
1161
1161
  return null;
1162
- for (var o = [], l = 0; l < a; l++)
1162
+ for (var o = [], f = 0; f < a; f++)
1163
1163
  o.push(this.parseProperty(e));
1164
- var f = o.length > 0 ? o[0] : "", u = o.length > 1 ? o[1] : "", p = o.length > 2 ? o[2] : "";
1164
+ var l = o.length > 0 ? o[0] : "", u = o.length > 1 ? o[1] : "", p = o.length > 2 ? o[2] : "";
1165
1165
  for (r.singleProperty = a === 1 && e.getOffset() === n; n > e.getOffset(); ) {
1166
1166
  var c = this.parseNode(e, t);
1167
1167
  c !== null && this.parseSubNode(s, r, c);
1168
1168
  }
1169
- return r.propertyList = o, typeof f == "number" && (r.id = f), u !== "" && (r.attrName = u), p !== "" && (r.attrType = p), s !== "" && (r.name = s), r;
1169
+ return r.propertyList = o, typeof l == "number" && (r.id = l), u !== "" && (r.attrName = u), p !== "" && (r.attrType = p), s !== "" && (r.name = s), r;
1170
1170
  },
1171
1171
  parseSubNode: function(e, t, r) {
1172
1172
  if (r.singleProperty === !0) {
@@ -1183,11 +1183,11 @@ var qe = function() {
1183
1183
  t[p] = r[p];
1184
1184
  });
1185
1185
  } else if (e === "Properties70" && r.name === "P") {
1186
- var s = r.propertyList[0], o = r.propertyList[1], l = r.propertyList[2], f = r.propertyList[3], u;
1186
+ var s = r.propertyList[0], o = r.propertyList[1], f = r.propertyList[2], l = r.propertyList[3], u;
1187
1187
  s.indexOf("Lcl ") === 0 && (s = s.replace("Lcl ", "Lcl_")), o.indexOf("Lcl ") === 0 && (o = o.replace("Lcl ", "Lcl_")), o === "Color" || o === "ColorRGB" || o === "Vector" || o === "Vector3D" || o.indexOf("Lcl_") === 0 ? u = [r.propertyList[4], r.propertyList[5], r.propertyList[6]] : u = r.propertyList[4], t[s] = {
1188
1188
  type: o,
1189
- type2: l,
1190
- flag: f,
1189
+ type2: f,
1190
+ flag: l,
1191
1191
  value: u
1192
1192
  };
1193
1193
  } else
@@ -1412,7 +1412,7 @@ var qe = function() {
1412
1412
  }
1413
1413
  var Z = new B(), M = new G();
1414
1414
  function re(e) {
1415
- var t = new m(), r = new m(), n = new m(), a = new m(), i = new m(), s = new m(), o = new m(), l = new m(), f = new m(), u = new m(), p = new m(), c = e.inheritType ? e.inheritType : 0;
1415
+ var t = new m(), r = new m(), n = new m(), a = new m(), i = new m(), s = new m(), o = new m(), f = new m(), l = new m(), u = new m(), p = new m(), c = e.inheritType ? e.inheritType : 0;
1416
1416
  if (e.translation && t.setPosition(M.fromArray(e.translation)), e.preRotation) {
1417
1417
  var h = e.preRotation.map(x.degToRad);
1418
1418
  h.push(e.eulerOrder), r.makeRotationFromEuler(Z.fromArray(h));
@@ -1425,7 +1425,7 @@ var qe = function() {
1425
1425
  var h = e.postRotation.map(x.degToRad);
1426
1426
  h.push(e.eulerOrder), a.makeRotationFromEuler(Z.fromArray(h));
1427
1427
  }
1428
- e.scale && i.scale(M.fromArray(e.scale)), e.scalingOffset && o.setPosition(M.fromArray(e.scalingOffset)), e.scalingPivot && s.setPosition(M.fromArray(e.scalingPivot)), e.rotationOffset && l.setPosition(M.fromArray(e.rotationOffset)), e.rotationPivot && f.setPosition(M.fromArray(e.rotationPivot)), e.parentMatrixWorld && (u = e.parentMatrixWorld);
1428
+ e.scale && i.scale(M.fromArray(e.scale)), e.scalingOffset && o.setPosition(M.fromArray(e.scalingOffset)), e.scalingPivot && s.setPosition(M.fromArray(e.scalingPivot)), e.rotationOffset && f.setPosition(M.fromArray(e.rotationOffset)), e.rotationPivot && l.setPosition(M.fromArray(e.rotationPivot)), e.parentMatrixWorld && (u = e.parentMatrixWorld);
1429
1429
  var w = r.multiply(n).multiply(a), g = new m();
1430
1430
  u.extractRotation(g);
1431
1431
  var d = new m();
@@ -1441,8 +1441,8 @@ var qe = function() {
1441
1441
  var S = new m().getInverse(i), R = new m().multiply(A).multiply(S);
1442
1442
  L.copy(g).multiply(w).multiply(R).multiply(i);
1443
1443
  }
1444
- var $ = new m().getInverse(f), I = new m().getInverse(s), E = new m();
1445
- E.copy(t).multiply(l).multiply(f).multiply(r).multiply(n).multiply(a).multiply($).multiply(o).multiply(s).multiply(i).multiply(I);
1444
+ var $ = new m().getInverse(l), I = new m().getInverse(s), E = new m();
1445
+ E.copy(t).multiply(f).multiply(l).multiply(r).multiply(n).multiply(a).multiply($).multiply(o).multiply(s).multiply(i).multiply(I);
1446
1446
  var P = new m().copyPosition(E), C = new m().copy(u).multiply(P);
1447
1447
  return p.copyPosition(C), E = new m().multiply(p).multiply(L), E;
1448
1448
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.60.0",
3
+ "version": "3.60.1-alpha.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",
@@ -1,76 +0,0 @@
1
- export type EventMap = {
2
- [name: string]: (...args: any[]) => void | boolean;
3
- };
4
- /**
5
- * 监听者模式
6
- * @template T 预设的监听回调类型
7
- * @example
8
- * ```
9
- * new Subscribe<{
10
- * "foo": [arg1: number, arg2: string],
11
- * "bar": [arg: boolean],
12
- * }>()
13
- * ```
14
- */
15
- declare class Subscribe<T extends EventMap> {
16
- /**
17
- * 判断是否注册了事件
18
- * @param name 事件类型
19
- */
20
- hasListener(name: keyof T): boolean;
21
- /**
22
- * 注册事件
23
- * @param name 事件类型
24
- * @param callback 事件回调函数
25
- * @param once 是否只执行一次
26
- * @returns 解除事件
27
- * @template K 预设的监听事件名称
28
- * @template C 回调函数函数上下文
29
- */
30
- on<K extends keyof T>(name: K, callback: (...args: Parameters<T[K]>) => ReturnType<T[K]>, once?: boolean): () => void;
31
- /**
32
- * 注册事件(是否只执行一次)
33
- * @param name 事件类型
34
- * @param callback 事件回调函数
35
- * @returns 解除事件
36
- * @template K 预设的监听事件名称
37
- * @template C 回调函数函数上下文
38
- */
39
- once<K extends keyof T>(name: K, callback: (...args: Parameters<T[K]>) => ReturnType<T[K]>): () => void;
40
- /**
41
- * 解除事件
42
- *
43
- * 如果 name 不传的话解除对应所有事件
44
- * 如果 name, callback 不传的话解除所有name的所有事件
45
- * @param name 事件类型
46
- * @param callback 事件回调函数
47
- * @template K 预设的监听事件名称
48
- */
49
- off<K extends keyof T>(name?: K, callback?: (...args: Parameters<T[K]>) => ReturnType<T[K]>): void;
50
- /**
51
- * 触发事件
52
- * @param name 事件类型
53
- * @param data 触发事件的数据
54
- * @returns canceled 是否被触发取消
55
- * @template K 预设的监听事件名称
56
- */
57
- emit<K extends keyof T>(name: K, ...data: Parameters<T[K]>): boolean;
58
- }
59
- export declare namespace SubscribeMixinType {
60
- interface hasListener<T extends EventMap> {
61
- (name: keyof T): boolean;
62
- }
63
- interface on<T extends EventMap> {
64
- <K extends keyof T>(name: K, callback: (...args: Parameters<T[K]>) => ReturnType<T[K]>, once?: boolean): () => void;
65
- }
66
- interface once<T extends EventMap> {
67
- <K extends keyof T>(name: K, callback: (...args: Parameters<T[K]>) => ReturnType<T[K]>): () => void;
68
- }
69
- interface off<T extends EventMap> {
70
- <K extends keyof T>(names?: K | K[], callback?: (...args: any[]) => any): void;
71
- }
72
- interface emit<T extends EventMap> {
73
- <K extends keyof T>(name: K, ...data: Parameters<T[K]>): boolean;
74
- }
75
- }
76
- export { Subscribe };