@realsee/dnalogel 3.20.6 → 3.21.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.
- package/dist/Object3DHelperPlugin/Controller.d.ts +25 -18
- package/dist/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Model/area.d.ts +2 -1
- package/dist/PanoMeasurePlugin/Model/line.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/Magnifier.d.ts +2 -55
- package/dist/PanoMeasurePlugin/utils/line.d.ts +1 -1
- package/dist/Sculpt/Meshes/Area.d.ts +30 -0
- package/dist/Sculpt/Meshes/Box.d.ts +35 -0
- package/dist/Sculpt/Meshes/Circle.d.ts +26 -0
- package/dist/Sculpt/Meshes/CircleWithEdge.d.ts +11 -0
- package/dist/Sculpt/Meshes/Cylinder.d.ts +34 -0
- package/dist/Sculpt/Meshes/Line.d.ts +27 -0
- package/dist/Sculpt/Meshes/LineWithDots.d.ts +30 -0
- package/dist/Sculpt/Meshes/Point.d.ts +22 -0
- package/dist/Sculpt/Meshes/Polygon.d.ts +31 -0
- package/dist/Sculpt/Meshes/Polyline.d.ts +34 -0
- package/dist/Sculpt/Meshes/Prism.d.ts +31 -0
- package/dist/Sculpt/Meshes/Rectangle.d.ts +24 -0
- package/dist/Sculpt/Meshes/RectangleWithEdge.d.ts +20 -0
- package/dist/Sculpt/Modules/Cursor.d.ts +13 -0
- package/dist/Sculpt/Modules/Global.d.ts +20 -0
- package/dist/Sculpt/Objects/Base/Editor.d.ts +21 -0
- package/dist/Sculpt/Objects/Base/index.d.ts +60 -0
- package/dist/Sculpt/Objects/Box/Editor.d.ts +5 -0
- package/dist/Sculpt/Objects/Box/index.d.ts +28 -0
- package/dist/Sculpt/Objects/Circle/Editor.d.ts +5 -0
- package/dist/Sculpt/Objects/Circle/index.d.ts +28 -0
- package/dist/Sculpt/Objects/Cylinder/Editor.d.ts +5 -0
- package/dist/Sculpt/Objects/Cylinder/index.d.ts +30 -0
- package/dist/Sculpt/Objects/Point/Editor.d.ts +8 -0
- package/dist/Sculpt/Objects/Point/index.d.ts +35 -0
- package/dist/Sculpt/Objects/Polygon/Editor.d.ts +8 -0
- package/dist/Sculpt/Objects/Polygon/index.d.ts +28 -0
- package/dist/Sculpt/Objects/Polyline/Editor.d.ts +25 -0
- package/dist/Sculpt/Objects/Polyline/index.d.ts +31 -0
- package/dist/Sculpt/Objects/Prism/Editor.d.ts +5 -0
- package/dist/Sculpt/Objects/Prism/index.d.ts +28 -0
- package/dist/Sculpt/Objects/Rectangle/Editor.d.ts +5 -0
- package/dist/Sculpt/Objects/Rectangle/index.d.ts +29 -0
- package/dist/Sculpt/index.d.ts +184 -0
- package/dist/Sculpt/typings/index.d.ts +16 -0
- package/dist/Sculpt/typings/utils.type.d.ts +12 -0
- package/dist/Sculpt/utils/color.d.ts +40 -0
- package/dist/Sculpt/utils/data.d.ts +7 -0
- package/dist/Sculpt/utils/getBetterNormal.d.ts +2 -0
- package/dist/Sculpt/utils/radiusToSegments.d.ts +1 -0
- package/dist/Sculpt/utils/three/ColoredMesh.d.ts +17 -0
- package/dist/Sculpt/utils/three/RectangleGeometry.d.ts +6 -0
- package/dist/Sculpt/utils/three/rayOnLine.d.ts +5 -0
- package/dist/index.cjs.js +70 -70
- package/dist/index.d.ts +1 -0
- package/dist/index.js +11554 -9325
- package/dist/index.umd.js +63 -63
- package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +13 -5
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +17 -6
- package/dist/shared-utils/Object3DHelper/Controller/RotateController.d.ts +0 -1
- package/dist/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +14 -7
- package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +4 -2
- package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +12 -3
- package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +1 -0
- package/dist/shared-utils/Object3DHelper/typings/index.d.ts +11 -0
- package/dist/shared-utils/Object3DHelper/utils/calculateScaleByCamera.d.ts +2 -0
- package/dist/shared-utils/createLine/index.d.ts +2 -2
- package/dist/shared-utils/five/FiveDomEvents.d.ts +50 -13
- package/dist/shared-utils/five/FiveLine.d.ts +8 -0
- package/dist/shared-utils/five/getPosition.d.ts +14 -0
- package/dist/shared-utils/five/getRaycasterByNdcPosition.d.ts +6 -0
- package/dist/shared-utils/positionToVector3.d.ts +1 -0
- package/dist/shared-utils/three/IObject3D.d.ts +4 -0
- package/dist/shared-utils/three/Magnifier.d.ts +33 -19
- package/dist/shared-utils/three/PointSelector.d.ts +25 -11
- package/dist/shared-utils/three/PointSelectorHelper.d.ts +2 -0
- package/{libs/PanoMeasurePlugin/utils → dist/shared-utils/three}/geometryUtil.d.ts +1 -1
- package/dist/shared-utils/three/getIntersect.d.ts +16 -2
- package/dist/shared-utils/three/getNormal.d.ts +1 -1
- package/dist/shared-utils/three/recurveFindObject.d.ts +2 -0
- package/dist/shared-utils/three/vector3ToArray.d.ts +3 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +9 -4
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +9 -4
- package/docs/classes/CSS3DRender.html +10 -5
- package/docs/classes/GuideLineItem.GuideLineItem.html +10 -5
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +10 -5
- package/docs/classes/ModelRoomLabelController.html +10 -5
- package/docs/classes/MoveController.html +10 -5
- package/docs/classes/Object3DHelperController.html +26 -39
- package/docs/classes/PaintBrush.html +10 -5
- package/docs/classes/PanoMeasurePluginLine.html +12 -7
- package/docs/classes/PanoMeasurePluginModel.html +10 -5
- package/docs/classes/PanoMeasurePluginPoint.html +10 -5
- package/docs/classes/PanoMeasurePluginPolyline.html +10 -5
- package/docs/classes/PanoTagPluginController.html +10 -5
- package/docs/classes/Sculpt.html +847 -0
- package/docs/classes/Util.BetterTween.html +10 -5
- package/docs/classes/Util.Interval.html +10 -5
- package/docs/classes/Util.LineSegments.html +10 -5
- package/docs/classes/Util.Magnifier.html +82 -58
- package/docs/classes/Util.Object3D.html +10 -5
- package/docs/classes/Util.PointDomHelper.html +10 -5
- package/docs/classes/Util.PointHelper.html +10 -5
- package/docs/classes/Util.PointSelectorHelper.html +23 -18
- package/docs/classes/Util.Rectangle.html +10 -5
- package/docs/classes/WalkController.html +10 -5
- package/docs/enums/CameraMovementEffect.html +10 -5
- package/docs/enums/ContentType.html +10 -5
- package/docs/enums/DIRECTION.html +10 -5
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +10 -5
- package/docs/enums/DimensionType.html +10 -5
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -5
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +10 -5
- package/docs/enums/PaintBrushTypeEnum.html +10 -5
- package/docs/enums/PointType.html +10 -5
- package/docs/enums/Rotation.html +10 -5
- package/docs/functions/AreaMakerPlugin.html +10 -5
- package/docs/functions/CSS3DRenderPlugin.html +10 -5
- package/docs/functions/CameraMovementPlugin.html +10 -5
- package/docs/functions/CruisePlugin.html +10 -5
- package/docs/functions/CurrentPanoImagePlugin.html +10 -5
- package/docs/functions/GuideLinePlugin.html +10 -5
- package/docs/functions/ItemLabelPlugin.html +10 -5
- package/docs/functions/MapviewFloorplanPlugin.html +10 -5
- package/docs/functions/ModelChassisCompassPlugin.html +10 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +10 -5
- package/docs/functions/ModelFloorplanPlugin.html +10 -5
- package/docs/functions/ModelItemLabelPlugin.html +10 -5
- package/docs/functions/ModelRoomLabelPlugin.html +10 -5
- package/docs/functions/ModelTVVideoPlugin.html +10 -5
- package/docs/functions/ModelViewPlugin.html +10 -5
- package/docs/functions/MovePlugin.html +10 -5
- package/docs/functions/Object3DHelperPlugin.html +10 -5
- package/docs/functions/PanoCompassPlugin.html +10 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +10 -5
- package/docs/functions/PanoDoorLabelPlugin.html +10 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +10 -5
- package/docs/functions/PanoMeasurePlugin.html +10 -5
- package/docs/functions/PanoRulerPlugin.html +10 -5
- package/docs/functions/PanoRulerProPlugin.html +10 -5
- package/docs/functions/PanoSpatialTagPlugin.html +10 -5
- package/docs/functions/PanoTagPlugin.html +10 -5
- package/docs/functions/PanoVideoPlugin.html +10 -5
- package/docs/functions/PipelinePlugin.html +10 -5
- package/docs/functions/TopviewFloorplanPlugin.html +10 -5
- package/docs/functions/Util.absoluteUrl.html +10 -5
- package/docs/functions/Util.checkFiveModelLoaded.html +10 -5
- package/docs/functions/Util.equal.html +10 -5
- package/docs/functions/Util.getCoordsFromClient.html +10 -5
- package/docs/functions/Util.getCoordsFromElement.html +10 -5
- package/docs/functions/Util.getFrameTime.html +10 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +17 -7
- package/docs/functions/Util.getRaycasterFromFivePointer.html +10 -5
- package/docs/functions/Util.isAbsoluteURL.html +10 -5
- package/docs/functions/Util.isModelLike.html +10 -5
- package/docs/functions/Util.isNil.html +10 -5
- package/docs/functions/Util.isPanoramaLike.html +10 -5
- package/docs/functions/Util.nextFrame.html +10 -5
- package/docs/functions/Util.notNil.html +10 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +10 -5
- package/docs/functions/Util.tweenProgress.html +10 -5
- package/docs/functions/Util.uuid.html +10 -5
- package/docs/functions/pluginFlag.html +10 -5
- package/docs/index.html +11 -6
- package/docs/interfaces/AddTagConfig.html +10 -5
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +9 -4
- package/docs/interfaces/AreaMakerPluginType.Config.html +9 -4
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +9 -4
- package/docs/interfaces/AreaMakerPluginType.Params.html +9 -4
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +9 -4
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -4
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +9 -4
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +9 -4
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +9 -4
- package/docs/interfaces/AreaMakerPluginType.State.html +9 -4
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -5
- package/docs/interfaces/CSS3DRenderPluginState.html +10 -5
- package/docs/interfaces/CameraMovementPluginExportType.html +10 -5
- package/docs/interfaces/CruisePluginTypes.Config.html +9 -4
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +9 -4
- package/docs/interfaces/CruisePluginTypes.EventMap.html +9 -4
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +9 -4
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -4
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +9 -4
- package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -4
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +9 -4
- package/docs/interfaces/CruisePluginTypes.PluginState.html +9 -4
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -5
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +10 -5
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +10 -5
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +10 -5
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +10 -5
- package/docs/interfaces/EventMap.html +10 -5
- package/docs/interfaces/FloorplanBounding.html +10 -5
- package/docs/interfaces/FloorplanData.html +10 -5
- package/docs/interfaces/FloorplanEntrance.html +10 -5
- package/docs/interfaces/FloorplanExtraObject.html +10 -5
- package/docs/interfaces/FloorplanExtraObject3D.html +10 -5
- package/docs/interfaces/FloorplanFloorData.html +10 -5
- package/docs/interfaces/FloorplanImagePosition.html +10 -5
- package/docs/interfaces/FloorplanObserver.html +10 -5
- package/docs/interfaces/FloorplanOutlineItem.html +10 -5
- package/docs/interfaces/FloorplanPosition.html +10 -5
- package/docs/interfaces/FloorplanRoomItem.html +10 -5
- package/docs/interfaces/FloorplanRoomLabelItem.html +10 -5
- package/docs/interfaces/FloorplanServerBounding.html +10 -5
- package/docs/interfaces/FloorplanServerComputedData.html +10 -5
- package/docs/interfaces/FloorplanServerData.html +10 -5
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -5
- package/docs/interfaces/FloorplanServerDoorPosition.html +10 -5
- package/docs/interfaces/FloorplanServerEntrance.html +10 -5
- package/docs/interfaces/FloorplanServerFloorData.html +10 -5
- package/docs/interfaces/FloorplanServerImagePosition.html +10 -5
- package/docs/interfaces/FloorplanServerObserver.html +10 -5
- package/docs/interfaces/FloorplanServerOutlineItem.html +10 -5
- package/docs/interfaces/FloorplanServerPosition.html +10 -5
- package/docs/interfaces/FloorplanServerRoomItem.html +10 -5
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +10 -5
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -5
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -4
- package/docs/interfaces/GuideLinePluginType.EventMap.html +9 -4
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -4
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +9 -4
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +9 -4
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +9 -4
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -4
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +9 -4
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +9 -4
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +9 -4
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +9 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +9 -4
- package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -4
- package/docs/interfaces/GuideLinePluginType.Route.html +9 -4
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -4
- package/docs/interfaces/HelperOffset.html +10 -5
- package/docs/interfaces/ImagePlaneGroup.html +10 -5
- package/docs/interfaces/ItemLabelPluginData.html +10 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -5
- package/docs/interfaces/ItemLabelPluginParametersType.html +10 -5
- package/docs/interfaces/MinMax.html +10 -5
- package/docs/interfaces/ModelChassisCompassPluginData.html +10 -5
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -5
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +10 -5
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -5
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -5
- package/docs/interfaces/ModelItemLabelPluginData.html +10 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -5
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +10 -5
- package/docs/interfaces/ModelRoomLabelPluginData.html +10 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +10 -5
- package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -5
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +10 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -5
- package/docs/interfaces/Object3DHelperState.html +14 -9
- package/docs/interfaces/ObjectHelperControllers.html +16 -11
- package/docs/interfaces/PaintBrushAction.html +10 -5
- package/docs/interfaces/PaintBrushConfigs.html +10 -5
- package/docs/interfaces/PaintBrushState.html +10 -5
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -5
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +10 -5
- package/docs/interfaces/PanoMeasureParameterType.html +10 -5
- package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -5
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +10 -5
- package/docs/interfaces/PanoMeasurePluginPointJson.html +10 -5
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -5
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -5
- package/docs/interfaces/PanoRulerPluginOptions.html +10 -5
- package/docs/interfaces/PanoRulerPluginParameterType.html +10 -5
- package/docs/interfaces/PanoRulerProPluginExportType.html +10 -5
- package/docs/interfaces/PanoRulerProPluginOptions.html +10 -5
- package/docs/interfaces/PanoRulerProPluginParameterType.html +10 -5
- package/docs/interfaces/PanoRulerProPluginState.html +10 -5
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +10 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +10 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -5
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -5
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +10 -5
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -5
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +10 -5
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -5
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -5
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +10 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -5
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +10 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +10 -5
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +10 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -5
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -5
- package/docs/interfaces/Point.html +10 -5
- package/docs/interfaces/Room.html +10 -5
- package/docs/interfaces/RoomInfo.html +10 -5
- package/docs/interfaces/RoomLabel.html +10 -5
- package/docs/interfaces/RoomRules.html +10 -5
- package/docs/interfaces/Rooms.html +10 -5
- package/docs/interfaces/Scissor.html +10 -5
- package/docs/interfaces/State.html +10 -5
- package/docs/interfaces/TagCacheInterface.html +10 -5
- package/docs/interfaces/TagConfig.html +12 -7
- package/docs/interfaces/TagGLTFObjectGroup.html +10 -5
- package/docs/interfaces/TagIconUrl.html +10 -5
- package/docs/interfaces/TagObjectGroup.html +10 -5
- package/docs/interfaces/TagStyle.html +10 -5
- package/docs/interfaces/Tags.html +10 -5
- package/docs/interfaces/TemporaryState.html +10 -5
- package/docs/interfaces/Util.MagnifierParameter.html +32 -22
- package/docs/interfaces/Util.MouseGroupParameter.html +10 -5
- package/docs/interfaces/Util.PointIntersection.html +19 -7
- package/docs/modules/AreaMakerPluginType.html +9 -4
- package/docs/modules/CruisePluginTypes.html +9 -4
- package/docs/modules/CurrentPanoImagePluginType.html +10 -5
- package/docs/modules/GuideLineItem.html +10 -5
- package/docs/modules/GuideLineModeItem.html +10 -5
- package/docs/modules/GuideLinePluginType.html +9 -4
- package/docs/modules/PanoVideoPluginType.html +10 -5
- package/docs/modules/Util.html +10 -5
- package/docs/modules.html +22 -9
- package/docs/types/AddObject3DHelperConfig.html +310 -0
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +9 -4
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +9 -4
- package/docs/types/AreaMakerPluginType.PluginData.html +9 -4
- package/docs/types/AreaMakerPluginType.ServerData.html +9 -4
- package/docs/types/ArrayPosition.html +10 -5
- package/docs/types/AudioAppearance.html +10 -5
- package/docs/types/AudioTagTypeConfigKey.html +10 -5
- package/docs/types/CSS3DRenderExportType.html +10 -5
- package/docs/types/CSS3DRenderPluginExportType.html +10 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +10 -5
- package/docs/types/ClassFunctionParameters.html +10 -5
- package/docs/types/Color.html +10 -5
- package/docs/types/ContentTypeConfigKey.html +10 -5
- package/docs/types/ContentTypeConfigKeySplit.html +10 -5
- package/docs/types/ContentTypeMap.html +10 -5
- package/docs/types/Create3DDomContainerReturnType.html +10 -5
- package/docs/types/Create3DElementReturnType.html +10 -5
- package/docs/types/CruisePluginExportType.html +10 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +9 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +9 -4
- package/docs/types/CurrentPanoImagePluginExportType.html +10 -5
- package/docs/types/DeprecatedMediaPlaneProperty.html +10 -5
- package/docs/types/DeprecatedTagProperty.html +10 -5
- package/docs/types/Direction-1.html +10 -5
- package/docs/types/Direction4.html +10 -5
- package/docs/types/ElementRenderer.html +10 -5
- package/docs/types/FloorplanRuleLabels.html +10 -5
- package/docs/types/FloorplanServerRuleLabels.html +10 -5
- package/docs/types/GuideLinePluginExportType.html +10 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +9 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +9 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +9 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +9 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +9 -4
- package/docs/types/GuideLinePluginType.PathItem.html +9 -4
- package/docs/types/GuideLinePluginType.PluginData.html +9 -4
- package/docs/types/HelperEventMap.html +10 -5
- package/docs/types/InternalHelperEventMap.html +22 -9
- package/docs/types/LoadTagConfig.html +10 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +10 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +10 -5
- package/docs/types/MediaData.html +10 -5
- package/docs/types/MediaStore.html +10 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +10 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +10 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +10 -5
- package/docs/types/ModelId.html +10 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +10 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +10 -5
- package/docs/types/MoveArgs.html +10 -5
- package/docs/types/MoveOpts.html +10 -5
- package/docs/types/Object3DHelperEventMap.html +11 -6
- package/docs/types/ObjectFit.html +10 -5
- package/docs/types/PaintBrushEventMap.html +10 -5
- package/docs/types/PanoCompassPluginData.html +10 -5
- package/docs/types/PanoCompassPluginExportType.html +10 -5
- package/docs/types/PanoCompassPluginParameterType.html +10 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +10 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +10 -5
- package/docs/types/PanoIndex.html +10 -5
- package/docs/types/PanoMeasurePluginEvent.html +10 -5
- package/docs/types/PanoMeasureReturnType.html +10 -5
- package/docs/types/PanoSpatialTagPluginId.html +10 -5
- package/docs/types/PanoTagPluginExportInterface.html +10 -5
- package/docs/types/PanoTagPluginParamsInterface.html +10 -5
- package/docs/types/PanoVideoPluginParameterType.html +10 -5
- package/docs/types/PanoVideoPluginReturnType.html +10 -5
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +10 -5
- package/docs/types/PipelinePluginParameterType.html +10 -5
- package/docs/types/PipelinePluginReturnType.html +10 -5
- package/docs/types/PlaneTag.html +10 -5
- package/docs/types/Point2DTag.html +10 -5
- package/docs/types/Point3DTag.html +10 -5
- package/docs/types/PointTag.html +10 -5
- package/docs/types/PointTagInstance.html +10 -5
- package/docs/types/Position.html +10 -5
- package/docs/types/PositionFrom.html +297 -0
- package/docs/types/RotateArgs.html +10 -5
- package/docs/types/RotateOpts.html +10 -5
- package/docs/types/RuleLabelsKey.html +10 -5
- package/docs/types/RuleLabelsValue.html +10 -5
- package/docs/types/ScaleCallback.html +309 -0
- package/docs/types/ScalePosition.html +298 -0
- package/docs/types/StickType.html +10 -5
- package/docs/types/Tag.html +10 -5
- package/docs/types/Tag2D.html +10 -5
- package/docs/types/Tag3D.html +10 -5
- package/docs/types/TagConfigByKey.html +10 -5
- package/docs/types/TagContentType.html +10 -5
- package/docs/types/TagContentTypeMapping.html +10 -5
- package/docs/types/TagDimensionType.html +10 -5
- package/docs/types/TagElement.html +10 -5
- package/docs/types/TagEvents.html +10 -5
- package/docs/types/TagGLTFObject.html +10 -5
- package/docs/types/TagHooks.html +10 -5
- package/docs/types/TagId.html +10 -5
- package/docs/types/TagInstance.html +10 -5
- package/docs/types/TagPointType.html +10 -5
- package/docs/types/TagRendererMap.html +10 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +10 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +10 -5
- package/docs/types/WorkCode.html +10 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +10 -5
- package/docs/variables/PLUGIN.html +11 -6
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +10 -5
- package/docs/variables/ROOM_TYPE_MAP.html +10 -5
- package/docs/variables/defaultGlobalConfig.html +10 -5
- package/docs/variables/itemLabelPluginServerParams.html +10 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +10 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +10 -5
- package/libs/GuideLinePlugin/Controller.js +15 -15
- package/libs/Object3DHelperPlugin/Controller.d.ts +25 -18
- package/libs/Object3DHelperPlugin/Controller.js +91 -91
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -0
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +22 -18
- package/libs/Object3DHelperPlugin/index.js +8 -6
- package/libs/PanoCursorRaycasterPlugin/index.js +9 -8
- package/libs/PanoMeasurePlugin/Components/Controller0.js +5 -5
- package/libs/PanoMeasurePlugin/Components/Controller1.js +5 -5
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +6 -6
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +10 -9
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +5 -4
- package/libs/PanoMeasurePlugin/Controller/index.js +8 -7
- package/libs/PanoMeasurePlugin/Model/area.d.ts +2 -1
- package/libs/PanoMeasurePlugin/Model/area.js +16 -8
- package/libs/PanoMeasurePlugin/Model/index.js +3 -2
- package/libs/PanoMeasurePlugin/Model/line.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/line.js +1 -0
- package/libs/PanoMeasurePlugin/Model/polygon.js +1 -1
- package/libs/PanoMeasurePlugin/Model/polyline.js +26 -25
- package/libs/PanoMeasurePlugin/Modules/Magnifier.d.ts +2 -55
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +22 -156
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +5 -5
- package/libs/PanoMeasurePlugin/index.js +13 -13
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +1 -1
- package/libs/PanoMeasurePlugin/utils/line.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/line.js +5 -4
- package/libs/PanoTagPlugin/controller/TagRender.js +18 -13
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +20 -10
- package/libs/Sculpt/Meshes/Area.d.ts +30 -0
- package/libs/Sculpt/Meshes/Area.js +56 -0
- package/libs/Sculpt/Meshes/Box.d.ts +35 -0
- package/libs/Sculpt/Meshes/Box.js +88 -0
- package/libs/Sculpt/Meshes/Circle.d.ts +26 -0
- package/libs/Sculpt/Meshes/Circle.js +42 -0
- package/libs/Sculpt/Meshes/CircleWithEdge.d.ts +11 -0
- package/libs/Sculpt/Meshes/CircleWithEdge.js +41 -0
- package/libs/Sculpt/Meshes/Cylinder.d.ts +34 -0
- package/libs/Sculpt/Meshes/Cylinder.js +88 -0
- package/libs/Sculpt/Meshes/Line.d.ts +27 -0
- package/libs/Sculpt/Meshes/Line.js +108 -0
- package/libs/Sculpt/Meshes/LineWithDots.d.ts +30 -0
- package/libs/Sculpt/Meshes/LineWithDots.js +70 -0
- package/libs/Sculpt/Meshes/Point.d.ts +22 -0
- package/libs/Sculpt/Meshes/Point.js +74 -0
- package/libs/Sculpt/Meshes/Polygon.d.ts +31 -0
- package/libs/Sculpt/Meshes/Polygon.js +52 -0
- package/libs/Sculpt/Meshes/Polyline.d.ts +34 -0
- package/libs/Sculpt/Meshes/Polyline.js +105 -0
- package/libs/Sculpt/Meshes/Prism.d.ts +31 -0
- package/libs/Sculpt/Meshes/Prism.js +78 -0
- package/libs/Sculpt/Meshes/Rectangle.d.ts +24 -0
- package/libs/Sculpt/Meshes/Rectangle.js +49 -0
- package/libs/Sculpt/Meshes/RectangleWithEdge.d.ts +20 -0
- package/libs/Sculpt/Meshes/RectangleWithEdge.js +49 -0
- package/libs/Sculpt/Modules/Cursor.d.ts +13 -0
- package/libs/Sculpt/Modules/Cursor.js +37 -0
- package/libs/Sculpt/Modules/Global.d.ts +20 -0
- package/libs/Sculpt/Modules/Global.js +45 -0
- package/libs/Sculpt/Objects/Base/Editor.d.ts +21 -0
- package/libs/Sculpt/Objects/Base/Editor.js +52 -0
- package/libs/Sculpt/Objects/Base/index.d.ts +60 -0
- package/libs/Sculpt/Objects/Base/index.js +77 -0
- package/libs/Sculpt/Objects/Box/Editor.d.ts +5 -0
- package/libs/Sculpt/Objects/Box/Editor.js +44 -0
- package/libs/Sculpt/Objects/Box/index.d.ts +28 -0
- package/libs/Sculpt/Objects/Box/index.js +107 -0
- package/libs/Sculpt/Objects/Circle/Editor.d.ts +5 -0
- package/libs/Sculpt/Objects/Circle/Editor.js +9 -0
- package/libs/Sculpt/Objects/Circle/index.d.ts +28 -0
- package/libs/Sculpt/Objects/Circle/index.js +114 -0
- package/libs/Sculpt/Objects/Cylinder/Editor.d.ts +5 -0
- package/libs/Sculpt/Objects/Cylinder/Editor.js +41 -0
- package/libs/Sculpt/Objects/Cylinder/index.d.ts +30 -0
- package/libs/Sculpt/Objects/Cylinder/index.js +100 -0
- package/libs/Sculpt/Objects/Point/Editor.d.ts +8 -0
- package/libs/Sculpt/Objects/Point/Editor.js +25 -0
- package/libs/Sculpt/Objects/Point/index.d.ts +35 -0
- package/libs/Sculpt/Objects/Point/index.js +92 -0
- package/libs/Sculpt/Objects/Polygon/Editor.d.ts +8 -0
- package/libs/Sculpt/Objects/Polygon/Editor.js +23 -0
- package/libs/Sculpt/Objects/Polygon/index.d.ts +28 -0
- package/libs/Sculpt/Objects/Polygon/index.js +113 -0
- package/libs/Sculpt/Objects/Polyline/Editor.d.ts +25 -0
- package/libs/Sculpt/Objects/Polyline/Editor.js +68 -0
- package/libs/Sculpt/Objects/Polyline/index.d.ts +31 -0
- package/libs/Sculpt/Objects/Polyline/index.js +96 -0
- package/libs/Sculpt/Objects/Prism/Editor.d.ts +5 -0
- package/libs/Sculpt/Objects/Prism/Editor.js +44 -0
- package/libs/Sculpt/Objects/Prism/index.d.ts +28 -0
- package/libs/Sculpt/Objects/Prism/index.js +105 -0
- package/libs/Sculpt/Objects/Rectangle/Editor.d.ts +5 -0
- package/libs/Sculpt/Objects/Rectangle/Editor.js +9 -0
- package/libs/Sculpt/Objects/Rectangle/index.d.ts +29 -0
- package/libs/Sculpt/Objects/Rectangle/index.js +105 -0
- package/libs/Sculpt/index.d.ts +184 -0
- package/libs/Sculpt/index.js +209 -0
- package/libs/Sculpt/typings/index.d.ts +16 -0
- package/libs/Sculpt/typings/utils.type.d.ts +12 -0
- package/libs/Sculpt/utils/color.d.ts +40 -0
- package/libs/Sculpt/utils/color.js +7 -0
- package/libs/Sculpt/utils/data.d.ts +7 -0
- package/libs/Sculpt/utils/getBetterNormal.d.ts +2 -0
- package/libs/Sculpt/utils/getBetterNormal.js +8 -0
- package/libs/Sculpt/utils/radiusToSegments.d.ts +1 -0
- package/libs/Sculpt/utils/radiusToSegments.js +6 -0
- package/libs/Sculpt/utils/three/ColoredMesh.d.ts +17 -0
- package/libs/Sculpt/utils/three/ColoredMesh.js +58 -0
- package/libs/Sculpt/utils/three/RectangleGeometry.d.ts +6 -0
- package/libs/Sculpt/utils/three/RectangleGeometry.js +19 -0
- package/libs/Sculpt/utils/three/rayOnLine.d.ts +5 -0
- package/libs/Sculpt/utils/three/rayOnLine.js +8 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.d.ts +1 -0
- package/libs/index.js +173 -127
- package/libs/shared-utils/Object3DHelper/Base/BaseController.d.ts +13 -5
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +95 -80
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +17 -6
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +40 -35
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +9 -9
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.d.ts +0 -1
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +54 -53
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +14 -7
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +49 -15
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +4 -2
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +16 -12
- package/libs/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js +8 -5
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +21 -12
- package/libs/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +12 -3
- package/libs/shared-utils/Object3DHelper/Helper/ScaleHelper.js +38 -5
- package/libs/shared-utils/Object3DHelper/typings/Hooks.d.ts +1 -0
- package/libs/shared-utils/Object3DHelper/typings/index.d.ts +11 -0
- package/libs/shared-utils/Object3DHelper/utils/boundingBox.js +22 -21
- package/libs/shared-utils/Object3DHelper/utils/calculateScaleByCamera.d.ts +2 -0
- package/libs/shared-utils/Object3DHelper/utils/calculateScaleByCamera.js +7 -0
- package/libs/shared-utils/Subscribe.js +1 -1
- package/libs/shared-utils/createLine/index.d.ts +2 -2
- package/libs/shared-utils/createLine/index.js +5 -5
- package/libs/shared-utils/five/FiveDomEvents.d.ts +50 -13
- package/libs/shared-utils/five/FiveDomEvents.js +135 -90
- package/libs/shared-utils/five/FiveLine.d.ts +8 -0
- package/libs/shared-utils/five/FiveLine.js +15 -0
- package/libs/shared-utils/five/getPosition.d.ts +14 -0
- package/libs/shared-utils/five/getPosition.js +45 -0
- package/libs/shared-utils/five/getRaycasterByNdcPosition.d.ts +6 -0
- package/libs/shared-utils/five/getRaycasterByNdcPosition.js +8 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/positionToVector3.d.ts +1 -0
- package/libs/shared-utils/positionToVector3.js +7 -4
- package/libs/shared-utils/three/IObject3D.d.ts +4 -0
- package/libs/shared-utils/three/IObject3D.js +22 -9
- package/libs/shared-utils/three/Magnifier.d.ts +33 -19
- package/libs/shared-utils/three/Magnifier.js +112 -70
- package/libs/shared-utils/three/PointSelector.d.ts +25 -11
- package/libs/shared-utils/three/PointSelector.js +70 -78
- package/libs/shared-utils/three/PointSelectorHelper.d.ts +2 -0
- package/libs/shared-utils/three/PointSelectorHelper.js +14 -14
- package/libs/shared-utils/three/generatePolygonGeometry.js +15 -0
- package/{dist/PanoMeasurePlugin/utils → libs/shared-utils/three}/geometryUtil.d.ts +1 -1
- package/libs/shared-utils/three/geometryUtil.js +37 -0
- package/libs/shared-utils/three/getIntersect.d.ts +16 -2
- package/libs/shared-utils/three/getIntersect.js +20 -5
- package/libs/shared-utils/three/getNormal.d.ts +1 -1
- package/libs/shared-utils/three/getNormal.js +8 -7
- package/libs/shared-utils/three/recurveFindObject.d.ts +2 -0
- package/libs/shared-utils/three/recurveFindObject.js +6 -0
- package/libs/shared-utils/three/vector3ToArray.d.ts +3 -0
- package/libs/shared-utils/three/vector3ToArray.js +6 -0
- package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +372 -0
- package/package.json +4 -3
- package/dist/shared-utils/getIntersectionFromEvent.d.ts +0 -4
- package/docs/classes/Magnifier.html +0 -485
- package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.js +0 -13
- package/libs/PanoMeasurePlugin/utils/geometryUtil.js +0 -39
- package/libs/shared-utils/getIntersectionFromEvent.d.ts +0 -4
- package/libs/shared-utils/getIntersectionFromEvent.js +0 -9
- /package/dist/{PanoMeasurePlugin/utils → shared-utils/three}/generatePolygonGeometry.d.ts +0 -0
- /package/libs/{PanoMeasurePlugin/utils → shared-utils/three}/generatePolygonGeometry.d.ts +0 -0
|
@@ -1,47 +1,62 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import * as
|
|
5
|
-
import { Subscribe as
|
|
6
|
-
import { DomEvents as
|
|
7
|
-
import { notNil as
|
|
8
|
-
import { boundingBox as
|
|
9
|
-
|
|
1
|
+
var u = Object.defineProperty;
|
|
2
|
+
var j = (b, e, t) => e in b ? u(b, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : b[e] = t;
|
|
3
|
+
var s = (b, e, t) => (j(b, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
|
+
import * as c from "three";
|
|
5
|
+
import { Subscribe as O } from "../../Subscribe.js";
|
|
6
|
+
import { DomEvents as m } from "../../threex/domevents/index.js";
|
|
7
|
+
import { notNil as g } from "../../isNil.js";
|
|
8
|
+
import { boundingBox as y } from "../utils/boundingBox.js";
|
|
9
|
+
import { toArray as H } from "../../util.js";
|
|
10
|
+
class E {
|
|
10
11
|
constructor(e, t) {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
s(this, "originObject3D");
|
|
13
|
+
s(this, "hooks");
|
|
14
|
+
s(this, "preventTapDefaultEvent", !1);
|
|
15
|
+
s(this, "internalHooks");
|
|
16
|
+
s(this, "disposers", []);
|
|
17
|
+
s(this, "helperObject3D");
|
|
18
|
+
s(this, "camera");
|
|
19
|
+
s(this, "model");
|
|
20
|
+
s(this, "scene");
|
|
21
|
+
s(this, "container");
|
|
22
|
+
s(this, "domEvents");
|
|
23
|
+
s(this, "isDragging", !1);
|
|
24
|
+
s(this, "enabled", !1);
|
|
25
|
+
s(this, "name", "BaseController");
|
|
26
|
+
s(this, "boundingBox");
|
|
27
|
+
s(this, "config");
|
|
28
|
+
s(this, "onRender");
|
|
29
|
+
s(this, "onWantsTapGesture", (e) => {
|
|
29
30
|
if (this.getIntersectObject(e))
|
|
30
31
|
return !1;
|
|
31
32
|
});
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
s(this, "onWantsUpdateCameraDistance", () => {
|
|
34
|
+
if (this.camera.isPerspectiveCamera) {
|
|
35
|
+
const e = this.camera;
|
|
36
|
+
this.helperObject3D.setScaleByCamera(e);
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
s(this, "getBox", () => this.boundingBox ? this.boundingBox : (this.boundingBox = y(this.originObject3D), this.boundingBox));
|
|
40
|
+
var d, f, n;
|
|
41
|
+
this.hooks = (d = e.sharedHooks) != null ? d : new O(), this.internalHooks = (f = e.sharedInternalHooks) != null ? f : new O(), this.camera = e.camera, this.model = e.model, this.originObject3D = e.originObject3D, this.helperObject3D = e.helperObject3D, this.container = e.container, this.scene = e.scene, this.domEvents = new m(e.camera, e.container), this.onRender = (n = e.onRender) != null ? n : () => {
|
|
42
|
+
}, this.config = t, this.initialHelperPosition(), this.initialHelperQuaternion(), this.onWantsUpdateCameraDistance(), this.enable();
|
|
43
|
+
const o = this.onSetOriginObjectScale.bind(this), a = this.onSetOriginObjectRotate.bind(this), i = this.onSetOriginObjectPosition.bind(this), r = this.onApplyOriginObjectScale.bind(this), h = this.onApplyOriginObjectRotate.bind(this), p = this.onApplyOriginObjectPosition.bind(this), l = this.initialHelperPosition.bind(this);
|
|
44
|
+
this.internalHooks.on("setObjectPosition", this.onWantsUpdateCameraDistance), this.internalHooks.on("initialHelperPosition", this.onWantsUpdateCameraDistance), this.internalHooks.on("initialHelperPosition", l), this.internalHooks.on("setObjectScale", o), this.internalHooks.on("setObjectRotate", a), this.internalHooks.on("setObjectPosition", i), this.internalHooks.on("applyObjectPosition", p), this.internalHooks.on("applyObjectRotate", h), this.internalHooks.on("applyObjectScale", r), this.disposers.push(() => {
|
|
45
|
+
this.internalHooks.off("setObjectPosition", this.onWantsUpdateCameraDistance), this.internalHooks.off("initialHelperPosition", this.onWantsUpdateCameraDistance), this.internalHooks.off("initialHelperPosition", l), this.internalHooks.off("setObjectScale", o), this.internalHooks.off("setObjectRotate", a), this.internalHooks.off("setObjectPosition", i), this.internalHooks.off("applyObjectPosition", p), this.internalHooks.off("applyObjectRotate", h), this.internalHooks.off("applyObjectScale", r);
|
|
38
46
|
});
|
|
39
47
|
}
|
|
40
48
|
initialHelperPosition() {
|
|
41
|
-
this.helperObject3D.
|
|
49
|
+
this.helperObject3D.initialPosition(this.calculateOffset(this.config.offset));
|
|
42
50
|
}
|
|
43
51
|
initialHelperQuaternion() {
|
|
52
|
+
var h, p, l;
|
|
44
53
|
this.helperObject3D.initQuaternion();
|
|
54
|
+
const e = (h = this.config.xAxis) != null ? h : new c.Vector3(1, 0, 0), t = (p = this.config.yAxis) != null ? p : new c.Vector3(0, 1, 0), o = (l = this.config.zAxis) != null ? l : new c.Vector3(0, 0, 1), a = new c.Quaternion();
|
|
55
|
+
a.setFromUnitVectors(new c.Vector3(1, 0, 0), e.normalize());
|
|
56
|
+
const i = new c.Quaternion();
|
|
57
|
+
i.setFromUnitVectors(new c.Vector3(0, 1, 0), t.normalize());
|
|
58
|
+
const r = new c.Quaternion();
|
|
59
|
+
r.setFromUnitVectors(new c.Vector3(0, 0, 1), o.normalize()), this.helperObject3D.quaternion.premultiply(a), this.helperObject3D.quaternion.premultiply(i), this.helperObject3D.quaternion.premultiply(r);
|
|
45
60
|
}
|
|
46
61
|
enable() {
|
|
47
62
|
this.enabled || (this.enabled = !0, this.scene.add(this.helperObject3D), this.helperObject3D.enable(), this.render());
|
|
@@ -82,7 +97,7 @@ class k {
|
|
|
82
97
|
applyHelperScaleMatrix4(e, t) {
|
|
83
98
|
this.helperObject3D.applyHelperScaleMatrix4(e, t);
|
|
84
99
|
}
|
|
85
|
-
onWantsGesture(e, t,
|
|
100
|
+
onWantsGesture(e, t, o) {
|
|
86
101
|
if (this.isDragging)
|
|
87
102
|
return !1;
|
|
88
103
|
}
|
|
@@ -118,86 +133,86 @@ class k {
|
|
|
118
133
|
this.helperObject3D.setHelperQuaternion(e, t);
|
|
119
134
|
}
|
|
120
135
|
onSetOriginObjectPosition(e) {
|
|
121
|
-
this.helperObject3D.position.copy(e.clone().add(this.calculateOffset(this.offset)));
|
|
136
|
+
this.helperObject3D.position.copy(e.clone().add(this.calculateOffset(this.config.offset)));
|
|
122
137
|
}
|
|
123
138
|
render() {
|
|
124
139
|
this.onRender();
|
|
125
140
|
}
|
|
126
141
|
updateOffsetByScale(e) {
|
|
127
|
-
if (this.boundingBox && this.offset) {
|
|
128
|
-
const t = this.originObject3D.position,
|
|
129
|
-
this.helperObject3D.
|
|
142
|
+
if (this.boundingBox && this.config.offset) {
|
|
143
|
+
const t = this.originObject3D.position, o = new c.Vector3().subVectors(this.boundingBox.max, t).multiply(e).add(t), a = new c.Vector3().subVectors(this.boundingBox.min, t).multiply(e).add(t), i = this.calculateOffset(this.config.offset, { min: a, max: o });
|
|
144
|
+
this.helperObject3D.initialPosition(i);
|
|
130
145
|
}
|
|
131
146
|
}
|
|
132
|
-
hoverListener(e, t = 16777215,
|
|
133
|
-
const
|
|
134
|
-
for (const
|
|
135
|
-
if (
|
|
136
|
-
const
|
|
137
|
-
|
|
138
|
-
|
|
147
|
+
hoverListener(e, t = 16777215, o = 1) {
|
|
148
|
+
const a = H(e).filter(g), i = [];
|
|
149
|
+
for (const r of a)
|
|
150
|
+
if (r.material || r instanceof c.Group) {
|
|
151
|
+
const h = r instanceof c.Group ? r.children.filter((n) => n instanceof c.Mesh) : [r];
|
|
152
|
+
h.forEach((n) => {
|
|
153
|
+
n.__originalColor__ = n.material.color.clone(), n.__originalOpacity__ = n.material.opacity;
|
|
139
154
|
});
|
|
140
|
-
const
|
|
141
|
-
|
|
142
|
-
|
|
155
|
+
const p = () => {
|
|
156
|
+
h.forEach((n) => {
|
|
157
|
+
n.material.color.set(t), n.material.opacity = o;
|
|
143
158
|
}), this.render();
|
|
144
159
|
}, l = () => {
|
|
145
|
-
|
|
146
|
-
|
|
160
|
+
h.forEach((n) => {
|
|
161
|
+
n.material.color.copy(n.__originalColor__), n.material.opacity = n.__originalOpacity__;
|
|
147
162
|
}), this.render();
|
|
148
|
-
}, O = () => {
|
|
149
|
-
this.isDragging || b();
|
|
150
163
|
}, d = () => {
|
|
164
|
+
this.isDragging || p();
|
|
165
|
+
}, f = () => {
|
|
151
166
|
this.isDragging || l();
|
|
152
167
|
};
|
|
153
|
-
for (const
|
|
154
|
-
this.domEvents.addEventListener(
|
|
155
|
-
this.domEvents.removeEventListener(
|
|
168
|
+
for (const n of h)
|
|
169
|
+
this.domEvents.addEventListener(n, "mouseover", d), this.domEvents.addEventListener(n, "mouseout", f), this.hooks.on("moveStart", p), this.hooks.on("moveEnd", l), this.hooks.on("rotateEnd", l), i.push(() => {
|
|
170
|
+
this.domEvents.removeEventListener(n, "mouseover", d), this.domEvents.removeEventListener(n, "mouseout", f), this.hooks.off("moveStart", p), this.hooks.off("moveEnd", l), this.hooks.off("rotateEnd", l);
|
|
156
171
|
});
|
|
157
172
|
}
|
|
158
|
-
return () =>
|
|
173
|
+
return () => i.forEach((r) => r == null ? void 0 : r());
|
|
159
174
|
}
|
|
160
175
|
getIntersectObject(e) {
|
|
161
|
-
const t = this.camera.position,
|
|
162
|
-
if (!
|
|
176
|
+
const t = this.camera.position, o = this.helperObject3D;
|
|
177
|
+
if (!o)
|
|
163
178
|
return;
|
|
164
|
-
const
|
|
165
|
-
if (!
|
|
179
|
+
const a = this.helperObject3D.raycasterIntersectObject(e)[0];
|
|
180
|
+
if (!a)
|
|
166
181
|
return;
|
|
167
|
-
const
|
|
168
|
-
if (
|
|
169
|
-
const
|
|
170
|
-
if (
|
|
182
|
+
const i = a;
|
|
183
|
+
if (i.object = o, this.model.intersectRaycaster) {
|
|
184
|
+
const r = this.model.intersectRaycaster(e)[0];
|
|
185
|
+
if (r && r.point.distanceTo(t) < i.point.distanceTo(t))
|
|
171
186
|
return;
|
|
172
187
|
}
|
|
173
|
-
return
|
|
188
|
+
return i.object;
|
|
174
189
|
}
|
|
175
190
|
calculateOffset(e, t) {
|
|
176
|
-
const
|
|
191
|
+
const o = new c.Vector3(0, 0, 0);
|
|
177
192
|
if (!e)
|
|
178
|
-
return
|
|
179
|
-
const
|
|
193
|
+
return o;
|
|
194
|
+
const a = () => t || this.getBox();
|
|
180
195
|
if (typeof e.x == "number")
|
|
181
|
-
|
|
196
|
+
o.setX(e.x);
|
|
182
197
|
else if (typeof e.x == "object") {
|
|
183
|
-
const
|
|
184
|
-
|
|
198
|
+
const i = a();
|
|
199
|
+
o.setX((i.max.x - i.min.x) * e.x.percents);
|
|
185
200
|
}
|
|
186
201
|
if (typeof e.y == "number")
|
|
187
|
-
|
|
202
|
+
o.setY(e.y);
|
|
188
203
|
else if (typeof e.y == "object") {
|
|
189
|
-
const
|
|
190
|
-
|
|
204
|
+
const i = a();
|
|
205
|
+
o.setY((i.max.y - i.min.y) * e.y.percents);
|
|
191
206
|
}
|
|
192
207
|
if (typeof e.z == "number")
|
|
193
|
-
|
|
208
|
+
o.setZ(e.z);
|
|
194
209
|
else if (typeof e.z == "object") {
|
|
195
|
-
const
|
|
196
|
-
|
|
210
|
+
const i = a();
|
|
211
|
+
o.setZ((i.max.z - i.min.z) * e.z.percents);
|
|
197
212
|
}
|
|
198
|
-
return
|
|
213
|
+
return o;
|
|
199
214
|
}
|
|
200
215
|
}
|
|
201
216
|
export {
|
|
202
|
-
|
|
217
|
+
E as BaseController
|
|
203
218
|
};
|
|
@@ -2,24 +2,32 @@ import type { Create3DElementReturnType } from '../../../CSS3DRenderPlugin';
|
|
|
2
2
|
import type * as THREE from 'three';
|
|
3
3
|
import type { Group, Mesh, Object3D } from 'three';
|
|
4
4
|
import { Vector3 } from 'three';
|
|
5
|
-
import type { Direction, Direction4 } from '../typings';
|
|
5
|
+
import type { Direction, Direction4, PositionFrom, ScalePosition } from '../typings';
|
|
6
6
|
import type { tipsDom } from '../Helper/HTML/tipsDom';
|
|
7
7
|
import { IObject3D } from '../../three/IObject3D';
|
|
8
8
|
type NonVoid<T> = T extends void ? never : T;
|
|
9
|
+
export interface BaseHelperConfig {
|
|
10
|
+
onRender?: () => any;
|
|
11
|
+
/**
|
|
12
|
+
* @description: helper 初始位置来源
|
|
13
|
+
* @default 'objectPosition'
|
|
14
|
+
*/
|
|
15
|
+
positionFrom?: PositionFrom;
|
|
16
|
+
}
|
|
9
17
|
export declare abstract class BaseHelper<OriginObject3D extends Object3D = Object3D> extends IObject3D {
|
|
10
18
|
protected originObject3D: OriginObject3D;
|
|
11
19
|
protected onRender: () => any;
|
|
20
|
+
private positionFrom;
|
|
12
21
|
get helperObject(): Object3D;
|
|
13
|
-
constructor(originObject3D: OriginObject3D, config?:
|
|
14
|
-
onRender?: () => any;
|
|
15
|
-
});
|
|
22
|
+
constructor(originObject3D: OriginObject3D, config?: BaseHelperConfig);
|
|
16
23
|
render(): void;
|
|
17
24
|
enable(): void;
|
|
18
25
|
disable(): void;
|
|
19
26
|
show(): void;
|
|
20
27
|
hide(): void;
|
|
21
28
|
raycasterIntersectObject(raycaster: THREE.Raycaster, intersection?: THREE.Intersection[]): THREE.Intersection[];
|
|
22
|
-
initialPosition(): void;
|
|
29
|
+
initialPosition(offset?: THREE.Vector3): void;
|
|
30
|
+
setScaleByCamera(camera: THREE.PerspectiveCamera): void;
|
|
23
31
|
initQuaternion(): void;
|
|
24
32
|
applyHelperScaleMatrix4(matrix: THREE.Matrix4, origin?: Vector3): void;
|
|
25
33
|
setHelperQuaternion(quaternion: THREE.Quaternion, origin?: Vector3): void;
|
|
@@ -62,8 +70,11 @@ export declare abstract class RotateHelperAbstract<OriginObject3D extends Object
|
|
|
62
70
|
abstract showDraggingHelper(directions: Direction[]): void;
|
|
63
71
|
}
|
|
64
72
|
export declare abstract class ScaleHelperAbstract<OriginObject3D extends Object3D = Object3D> extends BaseHelper<OriginObject3D> {
|
|
73
|
+
abstract scaleMeshes: Array<Mesh & {
|
|
74
|
+
scalePosition: ScalePosition;
|
|
75
|
+
}>;
|
|
65
76
|
}
|
|
66
|
-
export declare abstract class RectangleScaleHelperAbstract<OriginObject3D extends Object3D, PointType extends Object3D | HTMLElement> extends
|
|
77
|
+
export declare abstract class RectangleScaleHelperAbstract<OriginObject3D extends Object3D, PointType extends Object3D | HTMLElement> extends BaseHelper<OriginObject3D> {
|
|
67
78
|
abstract points: PointType extends Object3D ? {
|
|
68
79
|
point: PointType;
|
|
69
80
|
direction: Direction4;
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
1
|
+
var h = Object.defineProperty;
|
|
2
|
+
var c = (i, s, t) => s in i ? h(i, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[s] = t;
|
|
3
|
+
var n = (i, s, t) => (c(i, typeof s != "symbol" ? s + "" : s, t), t);
|
|
4
4
|
import { Vector3 as p } from "three";
|
|
5
|
-
import { setObjectQuaternion as
|
|
6
|
-
import { IObject3D as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
import { setObjectQuaternion as l } from "../utils/setObjectQuaternion.js";
|
|
6
|
+
import { IObject3D as d } from "../../three/IObject3D.js";
|
|
7
|
+
import { boundingBox as b } from "../utils/boundingBox.js";
|
|
8
|
+
class o extends d {
|
|
9
|
+
constructor(t, e) {
|
|
10
|
+
var r, a;
|
|
10
11
|
super();
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
this
|
|
14
|
-
|
|
12
|
+
n(this, "originObject3D");
|
|
13
|
+
n(this, "onRender");
|
|
14
|
+
n(this, "positionFrom");
|
|
15
|
+
this.originObject3D = t, this.onRender = (r = e == null ? void 0 : e.onRender) != null ? r : () => {
|
|
16
|
+
}, this.positionFrom = (a = e == null ? void 0 : e.positionFrom) != null ? a : "objectPosition";
|
|
15
17
|
}
|
|
16
18
|
get helperObject() {
|
|
17
19
|
return this;
|
|
@@ -31,46 +33,49 @@ class n extends h {
|
|
|
31
33
|
hide() {
|
|
32
34
|
this.visible = !1, this.render();
|
|
33
35
|
}
|
|
34
|
-
raycasterIntersectObject(
|
|
35
|
-
return
|
|
36
|
+
raycasterIntersectObject(t, e = []) {
|
|
37
|
+
return t.intersectObject(this, !0, e);
|
|
36
38
|
}
|
|
37
|
-
initialPosition() {
|
|
38
|
-
|
|
39
|
+
initialPosition(t) {
|
|
40
|
+
var e;
|
|
41
|
+
this.positionFrom === "objectPosition" ? this.position.copy(this.originObject3D.position) : this.positionFrom === "boundingBox" ? (e = b(this.originObject3D)) == null || e.getCenter(this.position) : this.positionFrom instanceof p ? this.position.copy(this.positionFrom) : this.positionFrom instanceof Function && this.position.copy(this.positionFrom()), t && this.position.add(t);
|
|
42
|
+
}
|
|
43
|
+
setScaleByCamera(t) {
|
|
39
44
|
}
|
|
40
45
|
initQuaternion() {
|
|
41
46
|
this.quaternion.copy(this.originObject3D.quaternion);
|
|
42
47
|
}
|
|
43
|
-
applyHelperScaleMatrix4(
|
|
44
|
-
this.scale.applyMatrix4(
|
|
48
|
+
applyHelperScaleMatrix4(t, e) {
|
|
49
|
+
this.scale.applyMatrix4(t);
|
|
45
50
|
}
|
|
46
|
-
setHelperQuaternion(
|
|
47
|
-
|
|
51
|
+
setHelperQuaternion(t, e) {
|
|
52
|
+
l(this, t, e);
|
|
48
53
|
}
|
|
49
|
-
applyHelperQuaternion(
|
|
50
|
-
if (
|
|
51
|
-
const
|
|
52
|
-
this.position.copy(
|
|
54
|
+
applyHelperQuaternion(t, e) {
|
|
55
|
+
if (e) {
|
|
56
|
+
const r = new p().subVectors(this.position, e).applyQuaternion(t).add(e);
|
|
57
|
+
this.position.copy(r);
|
|
53
58
|
}
|
|
54
|
-
this.applyQuaternion(
|
|
59
|
+
this.applyQuaternion(t);
|
|
55
60
|
}
|
|
56
61
|
dispose() {
|
|
57
62
|
this.removeFromParent();
|
|
58
63
|
}
|
|
59
64
|
}
|
|
60
|
-
class
|
|
65
|
+
class F extends o {
|
|
61
66
|
}
|
|
62
|
-
class
|
|
67
|
+
class O extends o {
|
|
63
68
|
}
|
|
64
|
-
class
|
|
69
|
+
class H extends o {
|
|
65
70
|
}
|
|
66
|
-
class
|
|
71
|
+
class v extends o {
|
|
67
72
|
}
|
|
68
|
-
class
|
|
73
|
+
class B extends o {
|
|
69
74
|
}
|
|
70
75
|
export {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
+
O as BoundingBoxHelperAbstract,
|
|
77
|
+
F as MoveHelperAbstract,
|
|
78
|
+
B as RectangleScaleHelperAbstract,
|
|
79
|
+
H as RotateHelperAbstract,
|
|
80
|
+
v as ScaleHelperAbstract
|
|
76
81
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var v = Object.defineProperty;
|
|
2
|
-
var f = (l,
|
|
3
|
-
var d = (l,
|
|
2
|
+
var f = (l, h, e) => h in l ? v(l, h, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[h] = e;
|
|
3
|
+
var d = (l, h, e) => (f(l, typeof h != "symbol" ? h + "" : h, e), e);
|
|
4
4
|
import { BaseController as p } from "../Base/BaseController.js";
|
|
5
5
|
import * as m from "three";
|
|
6
6
|
import { getMouseRaycaster as g } from "../utils/getMouseRaycaster.js";
|
|
@@ -17,8 +17,8 @@ class w extends p {
|
|
|
17
17
|
const t = this.helperObject3D;
|
|
18
18
|
this.hoverListener([t.xArrow, t.yArrow, t.zArrow]);
|
|
19
19
|
const o = this.dragStart.bind(this), r = this.dragging.bind(this), i = this.dragEnd.bind(this), s = this.show.bind(this), n = this.hide.bind(this);
|
|
20
|
-
this.domEvents.addEventListener(this.helperObject3D, "mousedown", o), document.addEventListener("mousemove", r), document.addEventListener("mouseup", i), this.hooks.on("rotateStart", n), this.hooks.on("rotateEnd", s), this.hooks.on("moveByMouseEnable", n), this.hooks.on("moveByMouseDisable", s), this.disposers.push(() => {
|
|
21
|
-
this.domEvents.removeEventListener(this.helperObject3D, "mousedown", o), document.removeEventListener("mousemove", r), document.removeEventListener("mouseup", i), this.hooks.off("rotateStart", n), this.hooks.off("rotateEnd", s), this.hooks.off("moveByMouseEnable", n), this.hooks.off("moveByMouseDisable", s);
|
|
20
|
+
this.domEvents.addEventListener(this.helperObject3D, "mousedown", o), document.addEventListener("mousemove", r), document.addEventListener("mouseup", i), this.hooks.on("rotateStart", n), this.hooks.on("rotateEnd", s), this.hooks.on("scaleStart", n), this.hooks.on("scaleEnd", s), this.hooks.on("moveByMouseEnable", n), this.hooks.on("moveByMouseDisable", s), this.disposers.push(() => {
|
|
21
|
+
this.domEvents.removeEventListener(this.helperObject3D, "mousedown", o), document.removeEventListener("mousemove", r), document.removeEventListener("mouseup", i), this.hooks.off("rotateStart", n), this.hooks.off("rotateEnd", s), this.hooks.off("scaleStart", n), this.hooks.off("scaleEnd", s), this.hooks.off("moveByMouseEnable", n), this.hooks.off("moveByMouseDisable", s);
|
|
22
22
|
}), this.moveByMouseEnable && this.moveByMouse();
|
|
23
23
|
}
|
|
24
24
|
get moveByMouseEnable() {
|
|
@@ -58,7 +58,7 @@ class w extends p {
|
|
|
58
58
|
const { point: t, face: o } = e;
|
|
59
59
|
if (!this.hooks.emit("wantToMove", t)) {
|
|
60
60
|
if (this.originObject3D.position.copy(t), (this._moveByMouse.useFaceNormal === !0 || typeof this._moveByMouse.useFaceNormal == "object" && this._moveByMouse.useFaceNormal.enable !== !1) && o != null && o.normal) {
|
|
61
|
-
const
|
|
61
|
+
const c = (() => typeof this._moveByMouse.useFaceNormal == "object" && this._moveByMouse.useFaceNormal.alignmentVector ? this._moveByMouse.useFaceNormal.alignmentVector : { x: 0, y: 1, z: 0 })(), a = new m.Vector3((i = c.x) != null ? i : 0, (s = c.y) != null ? s : 0, (n = c.z) != null ? n : 0), u = (() => typeof this._moveByMouse.useFaceNormal == "object" && this._moveByMouse.useFaceNormal.fixedFaceNormal ? this._moveByMouse.useFaceNormal.fixedFaceNormal(o.normal) : o.normal)();
|
|
62
62
|
this.originObject3D.quaternion.setFromUnitVectors(a, u), this.internalHooks.emit("setObjectRotate", this.originObject3D.quaternion.clone());
|
|
63
63
|
}
|
|
64
64
|
this.internalHooks.emit("setObjectPosition", t), this.hooks.emit("move", t);
|
|
@@ -95,7 +95,7 @@ class w extends p {
|
|
|
95
95
|
case "z":
|
|
96
96
|
return s;
|
|
97
97
|
}
|
|
98
|
-
})(),
|
|
98
|
+
})(), c = (() => {
|
|
99
99
|
switch (o) {
|
|
100
100
|
case "x":
|
|
101
101
|
case "y":
|
|
@@ -104,7 +104,7 @@ class w extends p {
|
|
|
104
104
|
return r;
|
|
105
105
|
}
|
|
106
106
|
})(), a = t.point.clone(), u = new m.Plane();
|
|
107
|
-
u.setFromNormalAndCoplanarPoint(
|
|
107
|
+
u.setFromNormalAndCoplanarPoint(c, a), this.startInfo = { startVectorProject: a.clone().projectOnVector(n), directionVector: n, plane: u }, this.helperObject3D.showDraggingHelper([o]), this.hooks.emit("moveStart"), this.isDragging = !0;
|
|
108
108
|
}
|
|
109
109
|
dragging(e) {
|
|
110
110
|
if (!this.isDragging || !this.startInfo)
|
|
@@ -118,8 +118,8 @@ class w extends p {
|
|
|
118
118
|
const { plane: t, directionVector: o, startVectorProject: r } = this.startInfo, i = this.originObject3D, s = e.ray.intersectPlane(t, new m.Vector3());
|
|
119
119
|
if (!s)
|
|
120
120
|
return;
|
|
121
|
-
const n = s.clone().projectOnVector(o),
|
|
122
|
-
a.setPosition(
|
|
121
|
+
const n = s.clone().projectOnVector(o), c = n.clone().sub(r), a = new m.Matrix4();
|
|
122
|
+
a.setPosition(c);
|
|
123
123
|
const u = i.position.clone().applyMatrix4(a);
|
|
124
124
|
this.hooks.emit("wantToMove", u) || (i.applyMatrix4(a), r.copy(n), this.internalHooks.emit("applyObjectPosition", { matrix: a }), this.hooks.emit("move", u));
|
|
125
125
|
}
|
|
@@ -7,7 +7,6 @@ export declare class RotateController<T extends RotateHelperAbstract = RotateHel
|
|
|
7
7
|
private startInfo?;
|
|
8
8
|
private removeListener;
|
|
9
9
|
constructor(...params: ConstructorParameters<typeof BaseController<T>>);
|
|
10
|
-
initialHelperQuaternion(): void;
|
|
11
10
|
setRotateAngle(angle: {
|
|
12
11
|
x?: number;
|
|
13
12
|
y?: number;
|