@realsee/dnalogel 3.60.1-alpha.5 → 3.60.2-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.
- package/components/index.js +13 -13
- package/dist/index.cjs.js +48 -48
- package/dist/index.js +6402 -6341
- package/dist/index.umd.js +60 -60
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +2 -2
- package/docs/classes/PaintBrush.html +2 -2
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
- package/docs/classes/PanoTagPluginController.html +2 -2
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LightTag.html +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +2 -2
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +2 -2
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/Util.html +2 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +2 -2
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoModelUnderMouse.html +1 -1
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.animeMap.html +1 -1
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/AreaMakerPlugin/Controller.js +88 -134
- package/libs/AreaMakerPlugin/index.js +13 -59
- package/libs/AreaMakerPlugin/utils/Item.js +49 -100
- package/libs/CSS3DRenderPlugin/Controller.js +31 -73
- package/libs/CSS3DRenderPlugin/index.js +13 -55
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +39 -88
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +109 -153
- package/libs/CruisePlugin/BaseController.js +50 -100
- package/libs/CruisePlugin/Move.js +27 -58
- package/libs/CruisePlugin/Work.js +57 -88
- package/libs/CruisePlugin/index.js +37 -68
- package/libs/CurrentPanoImagePlugin/Controller.js +52 -101
- package/libs/CurrentPanoImagePlugin/index.js +6 -55
- package/libs/GuideLinePlugin/Controller.js +67 -98
- package/libs/GuideLinePlugin/GuideLineItem.js +34 -65
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +47 -55
- package/libs/GuideLinePlugin/GuideLineModeItem.js +34 -65
- package/libs/GuideLinePlugin/index.js +35 -66
- package/libs/ModelChassisCompassPlugin/Plugin.js +1 -1
- package/libs/ModelMakerPlugin/Controller.js +62 -86
- package/libs/ModelMakerPlugin/index.js +28 -52
- package/libs/ModelMakerPlugin/item/baseItem.js +14 -53
- package/libs/ModelMakerPlugin/item/boxItem.js +12 -51
- package/libs/ModelMakerPlugin/item/polygonItem.js +14 -53
- package/libs/ModelMakerPlugin/item/prismItem.js +23 -61
- package/libs/ModelTVVideoPlugin/Plugin.js +52 -94
- package/libs/ModelTVVideoPlugin/index.js +5 -47
- package/libs/Object3DHelperPlugin/Controller.js +82 -118
- package/libs/Object3DHelperPlugin/index.js +44 -80
- package/libs/PanoCompassPlugin/Controller.js +30 -66
- package/libs/PanoCompassPlugin/index.js +17 -53
- package/libs/PanoDoorLabelPlugin/Controller.js +107 -156
- package/libs/PanoDoorLabelPlugin/index.js +5 -54
- package/libs/PanoMeasurePlugin/Components/Controller0.js +24 -28
- package/libs/PanoMeasurePlugin/Components/Controller1.js +24 -28
- package/libs/PanoMeasurePlugin/Controller/EditController.js +61 -65
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +91 -140
- package/libs/PanoMeasurePlugin/Controller/index.js +43 -46
- package/libs/PanoMeasurePlugin/Model/area.js +37 -88
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +3 -56
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +31 -35
- package/libs/PanoMeasurePlugin/index.js +36 -39
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +25 -79
- package/libs/PanoRulerProPlugin/Controller.js +41 -95
- package/libs/PanoRulerProPlugin/RulerItems.js +101 -155
- package/libs/PanoRulerProPlugin/index.js +6 -60
- package/libs/PanoSpatialTagPlugin/Plugin.js +116 -157
- package/libs/PanoSpatialTagPlugin/index.js +3 -44
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +54 -110
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +219 -275
- package/libs/PanoTagPlugin/Components/Tag/index.js +146 -182
- package/libs/PanoTagPlugin/Components/TagContainer.js +100 -136
- package/libs/PanoTagPlugin/Components/TagItem.js +77 -113
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +62 -104
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +39 -75
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +76 -112
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +52 -94
- package/libs/PanoTagPlugin/controller/TagRender.js +25 -71
- package/libs/PanoTagPlugin/controller/TagUtil.js +66 -112
- package/libs/PanoTagPlugin/controller/index.js +52 -83
- package/libs/PanoTagPlugin/index.js +32 -63
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +42 -98
- package/libs/PanoVideoPlugin/Controller.js +68 -117
- package/libs/PanoVideoPlugin/VideoMeshController.js +75 -130
- package/libs/PanoVideoPlugin/index.js +11 -60
- package/libs/PipelinePlugin/Controller.js +63 -111
- package/libs/PipelinePlugin/index.js +10 -58
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +26 -81
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +17 -72
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +48 -103
- package/libs/Sculpt/Meshes/Circle.js +14 -24
- package/libs/Sculpt/Meshes/Cylinder.js +22 -32
- package/libs/Sculpt/Meshes/Line.js +33 -40
- package/libs/Sculpt/Meshes/LineWithDots.js +12 -21
- package/libs/Sculpt/Meshes/Point.js +27 -36
- package/libs/Sculpt/Meshes/Polygon.js +16 -25
- package/libs/Sculpt/Meshes/Rectangle.js +18 -29
- package/libs/Sculpt/Objects/Line/Editor.js +22 -33
- package/libs/Sculpt/index.js +57 -68
- package/libs/Sculpt/utils/three/ColoredMesh.js +21 -31
- package/libs/base/BasePlugin.js +15 -26
- package/libs/components/AreaLabel/LabelItem.js +43 -42
- package/libs/components/PaintBrush/style.js +2 -2
- package/libs/components/index.js +1 -2
- package/libs/floorplan/Components/BaseImage.js +14 -13
- package/libs/floorplan/Components/Camera.js +13 -12
- package/libs/floorplan/Components/Compass.js +23 -22
- package/libs/floorplan/Components/CurrentFloor.js +19 -18
- package/libs/floorplan/Components/Main.js +14 -13
- package/libs/floorplan/Components/MissingFloor.js +40 -39
- package/libs/floorplan/Components/Normalmage.js +7 -6
- package/libs/floorplan/Components/RoomHighlight/Room.js +27 -26
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +3 -2
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +3 -2
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +3 -2
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +60 -59
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +24 -23
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +35 -34
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +22 -21
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +55 -54
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +47 -46
- package/libs/floorplan/Components/SvgImage.js +17 -16
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +63 -111
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -54
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +60 -109
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -54
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +71 -120
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -54
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +80 -129
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -54
- package/libs/floorplan/index.js +0 -12
- package/libs/index.js +210 -210
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +13 -22
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +4 -4
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +6 -6
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +5 -7
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +8 -10
- package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -4
- package/libs/shared-utils/Object3DHelper/utils/index.js +1 -1
- package/libs/shared-utils/animationFrame/index.js +6 -7
- package/libs/shared-utils/exports.js +62 -62
- package/libs/shared-utils/five/index.js +2 -13
- package/libs/shared-utils/five/initialCSS3DRender.js +1 -1
- package/libs/shared-utils/five/lookObject.js +24 -33
- package/libs/shared-utils/index.js +1 -11
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/object3d2LocalMatrix.js +9 -9
- package/libs/shared-utils/tag.js +14 -23
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +9 -12
- package/libs/shared-utils/three/index.js +1 -11
- package/libs/shared-utils/three/libs/NURBSCurve.js +1 -1
- package/libs/shared-utils/three/transformPositionToVector3.js +2 -2
- package/package.json +3 -2
|
@@ -1,23 +1,14 @@
|
|
|
1
1
|
var A = Object.defineProperty;
|
|
2
|
-
var H = (
|
|
3
|
-
var o = (
|
|
2
|
+
var H = (a, r, t) => r in a ? A(a, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[r] = t;
|
|
3
|
+
var o = (a, r, t) => (H(a, typeof r != "symbol" ? r + "" : r, t), t);
|
|
4
4
|
import { Vector3 as n } from "three";
|
|
5
5
|
import { even as M } from "../even.js";
|
|
6
6
|
import { OpecityMesh as N } from "./OpacityMesh.js";
|
|
7
7
|
import { centerPoint as R } from "../three/centerPoint.js";
|
|
8
|
-
import "../tag.js";
|
|
9
|
-
import "../../vendor/hammerjs/hammer.js";
|
|
10
|
-
import "../three/PointSelector/index.js";
|
|
11
8
|
import { CSS3DObject as T } from "../three/CSS3DRenderer/index.js";
|
|
12
|
-
import "@realsee/five/line";
|
|
13
9
|
import { isNil as O } from "../isNil.js";
|
|
14
|
-
import "../three/core/Five_LineMaterial2.js";
|
|
15
|
-
import "../three/core/Sphere.js";
|
|
16
|
-
import "../../vendor/animejs/lib/anime.es.js";
|
|
17
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
18
|
-
import "../five/FivePuppet.js";
|
|
19
10
|
const $ = 1, V = `CSS3DObject@${$}`, z = 216e-5, F = 3e-3;
|
|
20
|
-
class
|
|
11
|
+
class G extends T {
|
|
21
12
|
constructor(t) {
|
|
22
13
|
var b, f, v, S, _;
|
|
23
14
|
if (O(t.cornerPoints) && O(t.width))
|
|
@@ -30,19 +21,19 @@ class it extends T {
|
|
|
30
21
|
new n(e, -e, 0),
|
|
31
22
|
new n(e, e, 0)
|
|
32
23
|
];
|
|
33
|
-
})(), c = (v = t.ratio) != null ? v : F, w = (S = t.dpr) != null ? S : 1, j = (_ = t.pointerEvents) != null ? _ : "auto", h = Math.max(z, c),
|
|
34
|
-
let l = M(
|
|
24
|
+
})(), c = (v = t.ratio) != null ? v : F, w = (S = t.dpr) != null ? S : 1, j = (_ = t.pointerEvents) != null ? _ : "auto", h = Math.max(z, c), p = s[0].distanceTo(s[1]), y = s[1].distanceTo(s[2]);
|
|
25
|
+
let l = M(p / c * w), d = M(y / c * w);
|
|
35
26
|
const u = R(...s);
|
|
36
|
-
let
|
|
27
|
+
let m;
|
|
37
28
|
if (h === c)
|
|
38
|
-
i.style.width = `${l}px`, i.style.height = `${d}px`,
|
|
29
|
+
i.style.width = `${l}px`, i.style.height = `${d}px`, m = i;
|
|
39
30
|
else {
|
|
40
31
|
const e = document.createElement("div");
|
|
41
32
|
e.style.width = `${l}px`, e.style.height = `${d}px`, e.style.pointerEvents = "none";
|
|
42
33
|
const E = c / h;
|
|
43
|
-
i.style.position = "absolute", i.style.left = "0", i.style.top = "0", i.style.width = `${E * l}px`, i.style.height = `${E * d}px`, e.appendChild(i),
|
|
34
|
+
i.style.position = "absolute", i.style.left = "0", i.style.top = "0", i.style.width = `${E * l}px`, i.style.height = `${E * d}px`, e.appendChild(i), m = e;
|
|
44
35
|
}
|
|
45
|
-
super(
|
|
36
|
+
super(m);
|
|
46
37
|
o(this, "version", $);
|
|
47
38
|
o(this, "isCSS3DObject", !0);
|
|
48
39
|
o(this, "name", V);
|
|
@@ -59,11 +50,11 @@ class it extends T {
|
|
|
59
50
|
o(this, "ratio");
|
|
60
51
|
o(this, "_mode", "front");
|
|
61
52
|
o(this, "_opacityMesh");
|
|
62
|
-
if (
|
|
63
|
-
this.width =
|
|
53
|
+
if (m.id = this.id.toString(), i.style.pointerEvents = j, Object.assign(i.style, t.style), this.scale.set(h, h, h), this.cornerPoints = s, this.ratio = c, this.container = i, t.mode && (this.mode = t.mode), h === c)
|
|
54
|
+
this.width = p, this.height = y, this.centerPosition = u;
|
|
64
55
|
else {
|
|
65
56
|
const e = c / h;
|
|
66
|
-
this.width = e *
|
|
57
|
+
this.width = e * p, this.height = e * y, l = e * l, d = e * d, this.centerPosition = new n().subVectors(u, s[0]).multiplyScalar(e).add(s[0]);
|
|
67
58
|
}
|
|
68
59
|
this.domWidthPx = l, this.domHeightPx = d, i.classList.add(`${V}__container`);
|
|
69
60
|
const D = new n().subVectors(s[1], s[0]), P = new n().subVectors(s[3], s[0]), W = new n().crossVectors(D, P).normalize();
|
|
@@ -86,5 +77,5 @@ class it extends T {
|
|
|
86
77
|
}
|
|
87
78
|
}
|
|
88
79
|
export {
|
|
89
|
-
|
|
80
|
+
G as CSS3DObjectPlus
|
|
90
81
|
};
|
|
@@ -3,8 +3,8 @@ var f = (c, h, e) => h in c ? v(c, h, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var a = (c, h, e) => (f(c, typeof h != "symbol" ? h + "" : h, e), e);
|
|
4
4
|
import { BaseController as g } from "../Base/BaseController.js";
|
|
5
5
|
import * as m from "three";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { rayOnLine as p } from "../../../Sculpt/utils/three/rayOnLine.js";
|
|
7
|
+
import { getMouseRaycaster as y } from "../utils/getMouseRaycaster.js";
|
|
8
8
|
class w extends g {
|
|
9
9
|
constructor(...e) {
|
|
10
10
|
super(...e);
|
|
@@ -45,7 +45,7 @@ class w extends g {
|
|
|
45
45
|
a(this, "dragging", (e) => {
|
|
46
46
|
if (!this.isDragging || !this.startInfo)
|
|
47
47
|
return;
|
|
48
|
-
const t = "touches" in e ? e.touches[0].clientX : e.x, o = "touches" in e ? e.touches[0].clientY : e.y, s =
|
|
48
|
+
const t = "touches" in e ? e.touches[0].clientX : e.x, o = "touches" in e ? e.touches[0].clientY : e.y, s = y(this.camera, { x: t, y: o }, this.container);
|
|
49
49
|
return s ? (this.move(s), !1) : this.dragEnd();
|
|
50
50
|
});
|
|
51
51
|
a(this, "dragEnd", () => {
|
|
@@ -116,7 +116,7 @@ class w extends g {
|
|
|
116
116
|
move(e) {
|
|
117
117
|
if (!this.startInfo)
|
|
118
118
|
return this.dragEnd();
|
|
119
|
-
const { line: t, startVectorProject: o } = this.startInfo, s = this.originObject3D, n =
|
|
119
|
+
const { line: t, startVectorProject: o } = this.startInfo, s = this.originObject3D, n = p({ raycaster: e, line: t, clampToLine: !1 }), u = n.clone().sub(o), i = new m.Matrix4();
|
|
120
120
|
i.setPosition(u);
|
|
121
121
|
const r = s.position.clone().applyMatrix4(i);
|
|
122
122
|
this.hooks.emit("wantToMove", r) || (s.applyMatrix4(i), o.copy(n), this.internalHooks.emit("applyObjectPosition", { matrix: i }), this.hooks.emit("move", r));
|
|
@@ -3,10 +3,10 @@ var w = (g, h, t) => h in g ? j(g, h, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var d = (g, h, t) => (w(g, typeof h != "symbol" ? h + "" : h, t), t);
|
|
4
4
|
import { BaseController as D } from "../Base/BaseController.js";
|
|
5
5
|
import * as a from "three";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { rad2Deg as L } from "../../math/rad2Deg.js";
|
|
6
|
+
import { setObjectQuaternion as O } from "../utils/setObjectQuaternion.js";
|
|
7
|
+
import { rad2Deg as C } from "../../math/rad2Deg.js";
|
|
9
8
|
import { deg2Rad as f } from "../../math/deg2Rad.js";
|
|
9
|
+
import { getMouseRaycaster as L } from "../utils/getMouseRaycaster.js";
|
|
10
10
|
let y = new a.Quaternion();
|
|
11
11
|
class P extends D {
|
|
12
12
|
constructor(...t) {
|
|
@@ -30,7 +30,7 @@ class P extends D {
|
|
|
30
30
|
if (this.hooks.emit("wantToRotate", s))
|
|
31
31
|
return;
|
|
32
32
|
const { originObject3D: l, rotateCenter: c } = this;
|
|
33
|
-
|
|
33
|
+
O(l, s, c), this.internalHooks.emit("setObjectRotate", s, c), this.hooks.emit("rotate", s), this.render();
|
|
34
34
|
}
|
|
35
35
|
onApplyOriginObjectRotate(t) {
|
|
36
36
|
this.isDragging || super.onApplyOriginObjectRotate(t);
|
|
@@ -66,7 +66,7 @@ class P extends D {
|
|
|
66
66
|
dragging(t) {
|
|
67
67
|
if (!this.isDragging)
|
|
68
68
|
return;
|
|
69
|
-
const n = "touches" in t ? t.touches[0].clientX : t.x, e = "touches" in t ? t.touches[0].clientY : t.y, o =
|
|
69
|
+
const n = "touches" in t ? t.touches[0].clientX : t.x, e = "touches" in t ? t.touches[0].clientY : t.y, o = L(this.camera, { x: n, y: e }, this.container);
|
|
70
70
|
return o ? (this.rotate(o), !1) : this.dragEnd();
|
|
71
71
|
}
|
|
72
72
|
rotate(t) {
|
|
@@ -88,7 +88,7 @@ class P extends D {
|
|
|
88
88
|
),
|
|
89
89
|
`${r.toUpperCase()}${"XZY".replace(r.toUpperCase(), "")}`
|
|
90
90
|
)[r] * o.angleDirection;
|
|
91
|
-
if (this.startInfo.angle += E, this.setAngleHelperLength(r, this.startInfo.angle), this.setTipsAngle(
|
|
91
|
+
if (this.startInfo.angle += E, this.setAngleHelperLength(r, this.startInfo.angle), this.setTipsAngle(C(this.startInfo.angle)), c) {
|
|
92
92
|
const b = new a.Vector3().subVectors(i.position, c).applyQuaternion(u).add(c);
|
|
93
93
|
i.position.copy(b);
|
|
94
94
|
}
|
|
@@ -3,8 +3,8 @@ var p = (c, a, t) => a in c ? v(c, a, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var h = (c, a, t) => (p(c, typeof a != "symbol" ? a + "" : a, t), t);
|
|
4
4
|
import { BaseController as E } from "../Base/BaseController.js";
|
|
5
5
|
import * as d from "three";
|
|
6
|
-
import { getMouseRaycaster as b } from "../utils/getMouseRaycaster.js";
|
|
7
6
|
import { rayOnLine as g } from "../../../Sculpt/utils/three/rayOnLine.js";
|
|
7
|
+
import { getMouseRaycaster as b } from "../utils/getMouseRaycaster.js";
|
|
8
8
|
class S extends E {
|
|
9
9
|
constructor(...t) {
|
|
10
10
|
super(...t);
|
|
@@ -3,11 +3,9 @@ var D = (c, n, e) => n in c ? b(c, n, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var i = (c, n, e) => (D(c, typeof n != "symbol" ? n + "" : n, e), e);
|
|
4
4
|
import { CSS3DRender as u } from "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
5
5
|
import * as r from "three";
|
|
6
|
-
import {
|
|
7
|
-
import "../
|
|
8
|
-
|
|
9
|
-
import "../../three/core/Sphere.js";
|
|
10
|
-
class v extends f {
|
|
6
|
+
import { rectangleScaleDom as f } from "./HTML/rectangleScaleDom.js";
|
|
7
|
+
import { RectangleScaleHelperAbstract as y } from "../Base/BaseHelper.js";
|
|
8
|
+
class I extends y {
|
|
11
9
|
// eslint-disable-next-line max-params
|
|
12
10
|
constructor(e, t, s, o) {
|
|
13
11
|
super(e);
|
|
@@ -93,7 +91,7 @@ class v extends f {
|
|
|
93
91
|
if (!t)
|
|
94
92
|
return;
|
|
95
93
|
this.css3DInstance = t, t.appendToElement(this.container);
|
|
96
|
-
const s = t.css3DObject.container, { container: o, squares: a } =
|
|
94
|
+
const s = t.css3DObject.container, { container: o, squares: a } = f();
|
|
97
95
|
this.points = a.map((h, d) => ({
|
|
98
96
|
direction: h.direction,
|
|
99
97
|
point: h.element,
|
|
@@ -120,5 +118,5 @@ class v extends f {
|
|
|
120
118
|
}
|
|
121
119
|
}
|
|
122
120
|
export {
|
|
123
|
-
|
|
121
|
+
I as CSS3DScaleHelper
|
|
124
122
|
};
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
var c = Object.defineProperty;
|
|
2
2
|
var f = (e, o, r) => o in e ? c(e, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[o] = r;
|
|
3
3
|
var a = (e, o, r) => (f(e, typeof o != "symbol" ? o + "" : o, r), r);
|
|
4
|
-
import { MoveHelperAbstract as d } from "../Base/BaseHelper.js";
|
|
5
4
|
import { ArrowGroup as h } from "./Objects/ArrowGroup.js";
|
|
6
5
|
import { AXES_THREE_COLOR as l } from "../Constants/color.js";
|
|
7
|
-
import { calculateScaleByCamera as
|
|
8
|
-
import { getPoseFromCamera as
|
|
9
|
-
import { getOrthographicCameraDirection as
|
|
6
|
+
import { calculateScaleByCamera as d } from "../utils/calculateScaleByCamera.js";
|
|
7
|
+
import { getPoseFromCamera as m } from "../utils/getPoseFromCamera.js";
|
|
8
|
+
import { getOrthographicCameraDirection as y } from "../utils/getOrthographicCameraDirection.js";
|
|
10
9
|
import * as w from "three";
|
|
11
|
-
import "
|
|
12
|
-
|
|
13
|
-
class D extends d {
|
|
10
|
+
import { MoveHelperAbstract as u } from "../Base/BaseHelper.js";
|
|
11
|
+
class E extends u {
|
|
14
12
|
constructor(r, i) {
|
|
15
13
|
super(r, i);
|
|
16
14
|
a(this, "name", "MoveHelper");
|
|
@@ -21,7 +19,7 @@ class D extends d {
|
|
|
21
19
|
}
|
|
22
20
|
update(r) {
|
|
23
21
|
if (this.xArrow.visible = !0, this.yArrow.visible = !0, this.zArrow.visible = !0, r.type === "OrthographicCamera") {
|
|
24
|
-
const i = new w.Vector3(1, 0, 0).applyQuaternion(this.quaternion), n = new w.Vector3(0, 1, 0).applyQuaternion(this.quaternion), A = new w.Vector3(0, 0, 1).applyQuaternion(this.quaternion), p =
|
|
22
|
+
const i = new w.Vector3(1, 0, 0).applyQuaternion(this.quaternion), n = new w.Vector3(0, 1, 0).applyQuaternion(this.quaternion), A = new w.Vector3(0, 0, 1).applyQuaternion(this.quaternion), p = m(r), t = y(p), s = 0.0872665;
|
|
25
23
|
Math.abs(i.angleTo(t) - 0) < s || Math.abs(i.angleTo(t) - Math.PI) < s ? this.xArrow.visible = !1 : Math.abs(n.angleTo(t) - 0) < s || Math.abs(n.angleTo(t) - Math.PI) < s ? this.yArrow.visible = !1 : (Math.abs(A.angleTo(t) - 0) < s || Math.abs(A.angleTo(t) - Math.PI) < s) && (this.zArrow.visible = !1);
|
|
26
24
|
}
|
|
27
25
|
}
|
|
@@ -29,7 +27,7 @@ class D extends d {
|
|
|
29
27
|
super.show(), this.xArrow && this.add(this.xArrow), this.yArrow && this.add(this.yArrow), this.zArrow && this.add(this.zArrow);
|
|
30
28
|
}
|
|
31
29
|
setScaleByCamera(r) {
|
|
32
|
-
this.scale.setScalar(
|
|
30
|
+
this.scale.setScalar(d(r, this.position));
|
|
33
31
|
}
|
|
34
32
|
showDraggingHelper(r) {
|
|
35
33
|
this.xArrow && (r.includes("x") ? this.add(this.xArrow) : this.remove(this.xArrow)), this.yArrow && (r.includes("y") ? this.add(this.yArrow) : this.remove(this.yArrow)), this.zArrow && (r.includes("z") ? this.add(this.zArrow) : this.remove(this.zArrow));
|
|
@@ -39,5 +37,5 @@ class D extends d {
|
|
|
39
37
|
}
|
|
40
38
|
}
|
|
41
39
|
export {
|
|
42
|
-
|
|
40
|
+
E as MoveHelper
|
|
43
41
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
@@ -14,19 +14,18 @@ var w = (e, t, i) => new Promise((a, r) => {
|
|
|
14
14
|
}, n = (o) => o.done ? a(o.value) : Promise.resolve(o.value).then(u, s);
|
|
15
15
|
n((i = i.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
18
17
|
const m = window.requestAnimationFrame || ((e) => setTimeout(e, 16)), F = window.cancelAnimationFrame || clearTimeout;
|
|
19
18
|
function T(e, t = 0) {
|
|
20
19
|
t <= 0 ? m(e) : m(() => T(e, t - 1));
|
|
21
20
|
}
|
|
22
|
-
function
|
|
21
|
+
function d() {
|
|
23
22
|
return w(this, null, function* () {
|
|
24
23
|
return new Promise((e) => {
|
|
25
24
|
m(() => e());
|
|
26
25
|
});
|
|
27
26
|
});
|
|
28
27
|
}
|
|
29
|
-
function
|
|
28
|
+
function A(e, t = 60) {
|
|
30
29
|
let i = -1, a = 0, r = -1;
|
|
31
30
|
const u = 1e3 / t;
|
|
32
31
|
function s(n) {
|
|
@@ -36,7 +35,7 @@ function l(e, t = 60) {
|
|
|
36
35
|
F(i);
|
|
37
36
|
};
|
|
38
37
|
}
|
|
39
|
-
function
|
|
38
|
+
function l() {
|
|
40
39
|
const e = Date.now();
|
|
41
40
|
return new Promise((t) => {
|
|
42
41
|
m(() => {
|
|
@@ -45,8 +44,8 @@ function p() {
|
|
|
45
44
|
});
|
|
46
45
|
}
|
|
47
46
|
export {
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
d as awaitNextFrame,
|
|
48
|
+
l as getFrameTime,
|
|
50
49
|
T as nextFrame,
|
|
51
|
-
|
|
50
|
+
A as requestAnimationFrameInterval
|
|
52
51
|
};
|
|
@@ -4,78 +4,78 @@ import { Rectangle as t } from "./math/Rectangle.js";
|
|
|
4
4
|
import { convexHull as i } from "./math/convexHull.js";
|
|
5
5
|
import { inside as o } from "./math/inside.js";
|
|
6
6
|
import { LightTag as m, tag as n } from "./tag.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
7
|
+
import { isModelLike as p, isPanoramaLike as l } from "./five/mode.js";
|
|
8
|
+
import { lookObject as f } from "./five/lookObject.js";
|
|
9
|
+
import { lookPoint as a } from "./five/lookPoint.js";
|
|
10
|
+
import { fiveModelIsLoaded as d, waitFiveModelLoaded as g } from "./five/fiveModelLoad.js";
|
|
11
|
+
import { FiveDomEvents as s } from "./five/FiveDomEvents.js";
|
|
12
|
+
import { checkFiveModelLoaded as u } from "./five/index.js";
|
|
13
|
+
import { Magnifier as b } from "./three/Magnifier.js";
|
|
14
|
+
import { getCoordsFromClient as c, getCoordsFromElement as x } from "./three/getCoords.js";
|
|
15
|
+
import { PointSelector as v } from "./three/PointSelector/index.js";
|
|
16
|
+
import { PointHelper as F } from "./three/PointSelector/utils/PointHelper.js";
|
|
17
|
+
import { PointSelectorHelper as P } from "./three/PointSelector/utils/PointSelectorHelper.js";
|
|
18
|
+
import { Object3D as L } from "./three/core/Object3D.js";
|
|
19
|
+
import { LineSegments as k } from "./three/core/LineSegments.js";
|
|
20
|
+
import { bounding as w, boundingBox as M, boundingSphere as S, boxVertex as B, boxVertexes as _, worldBounding as h, worldBoundingBox as j, worldBoundingSphere as I } from "./three/boundingBox.js";
|
|
21
|
+
import { animeMap as O, blink as T, reblink as y } from "./three/blink.js";
|
|
22
|
+
import { isNil as C, notNil as H } from "./isNil.js";
|
|
23
|
+
import { uuid as N } from "./uuid.js";
|
|
24
|
+
import { absoluteUrl as q, isAbsoluteURL as A } from "./url/absoluteUrl.js";
|
|
25
|
+
import { BetterTween as D, tweenProgress as E } from "./animationFrame/BetterTween.js";
|
|
26
|
+
import { awaitNextFrame as R, getFrameTime as U, nextFrame as V, requestAnimationFrameInterval as z } from "./animationFrame/index.js";
|
|
27
|
+
import { equal as G } from "./equal.js";
|
|
28
|
+
import { FivePuppet as J } from "./five/FivePuppet.js";
|
|
29
29
|
const ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
30
30
|
__proto__: null,
|
|
31
|
-
BetterTween:
|
|
32
|
-
FiveDomEvents:
|
|
33
|
-
FivePuppet:
|
|
31
|
+
BetterTween: D,
|
|
32
|
+
FiveDomEvents: s,
|
|
33
|
+
FivePuppet: J,
|
|
34
34
|
Interval: e,
|
|
35
35
|
LightTag: m,
|
|
36
|
-
LineSegments:
|
|
37
|
-
Magnifier:
|
|
38
|
-
Object3D:
|
|
39
|
-
PointHelper:
|
|
40
|
-
PointSelector:
|
|
41
|
-
PointSelectorHelper:
|
|
36
|
+
LineSegments: k,
|
|
37
|
+
Magnifier: b,
|
|
38
|
+
Object3D: L,
|
|
39
|
+
PointHelper: F,
|
|
40
|
+
PointSelector: v,
|
|
41
|
+
PointSelectorHelper: P,
|
|
42
42
|
Rectangle: t,
|
|
43
|
-
absoluteUrl:
|
|
44
|
-
animeMap:
|
|
45
|
-
awaitNextFrame:
|
|
46
|
-
blink:
|
|
47
|
-
bounding:
|
|
48
|
-
boundingBox:
|
|
49
|
-
boundingSphere:
|
|
50
|
-
boxVertex:
|
|
51
|
-
boxVertexes:
|
|
52
|
-
checkFiveModelLoaded:
|
|
43
|
+
absoluteUrl: q,
|
|
44
|
+
animeMap: O,
|
|
45
|
+
awaitNextFrame: R,
|
|
46
|
+
blink: T,
|
|
47
|
+
bounding: w,
|
|
48
|
+
boundingBox: M,
|
|
49
|
+
boundingSphere: S,
|
|
50
|
+
boxVertex: B,
|
|
51
|
+
boxVertexes: _,
|
|
52
|
+
checkFiveModelLoaded: u,
|
|
53
53
|
convexHull: i,
|
|
54
|
-
equal:
|
|
55
|
-
fiveModelIsLoaded:
|
|
56
|
-
getCoordsFromClient:
|
|
57
|
-
getCoordsFromElement:
|
|
58
|
-
getFrameTime:
|
|
54
|
+
equal: G,
|
|
55
|
+
fiveModelIsLoaded: d,
|
|
56
|
+
getCoordsFromClient: c,
|
|
57
|
+
getCoordsFromElement: x,
|
|
58
|
+
getFrameTime: U,
|
|
59
59
|
inside: o,
|
|
60
|
-
isAbsoluteURL:
|
|
61
|
-
isModelLike:
|
|
62
|
-
isNil:
|
|
63
|
-
isPanoramaLike:
|
|
64
|
-
lookObject:
|
|
65
|
-
lookPoint:
|
|
66
|
-
nextFrame:
|
|
67
|
-
notNil:
|
|
60
|
+
isAbsoluteURL: A,
|
|
61
|
+
isModelLike: p,
|
|
62
|
+
isNil: C,
|
|
63
|
+
isPanoramaLike: l,
|
|
64
|
+
lookObject: f,
|
|
65
|
+
lookPoint: a,
|
|
66
|
+
nextFrame: V,
|
|
67
|
+
notNil: H,
|
|
68
68
|
pointInPolygon: o,
|
|
69
|
-
reblink:
|
|
70
|
-
requestAnimationFrameInterval:
|
|
69
|
+
reblink: y,
|
|
70
|
+
requestAnimationFrameInterval: z,
|
|
71
71
|
sculpt: r,
|
|
72
72
|
tag: n,
|
|
73
|
-
tweenProgress:
|
|
74
|
-
uuid:
|
|
75
|
-
waitFiveModelLoaded:
|
|
76
|
-
worldBounding:
|
|
77
|
-
worldBoundingBox:
|
|
78
|
-
worldBoundingSphere:
|
|
73
|
+
tweenProgress: E,
|
|
74
|
+
uuid: N,
|
|
75
|
+
waitFiveModelLoaded: g,
|
|
76
|
+
worldBounding: h,
|
|
77
|
+
worldBoundingBox: j,
|
|
78
|
+
worldBoundingSphere: I
|
|
79
79
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
80
80
|
export {
|
|
81
81
|
ko as exports
|
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import "../../vendor/hammerjs/hammer.js";
|
|
3
|
-
import "../three/PointSelector/index.js";
|
|
4
|
-
import "../tag.js";
|
|
5
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
6
|
-
import "./FivePuppet.js";
|
|
7
|
-
import "../three/CSS3DRenderer/index.js";
|
|
8
|
-
import "@realsee/five/line";
|
|
9
|
-
import "../three/core/Five_LineMaterial2.js";
|
|
10
|
-
import "../three/core/Sphere.js";
|
|
11
|
-
import "../../vendor/animejs/lib/anime.es.js";
|
|
12
|
-
function n(e) {
|
|
1
|
+
function l(e) {
|
|
13
2
|
return e.model ? e.work ? e.model.loaded ? e.model.name !== e.work.model.file ? { result: !1, msg: "five.model.name 与 five.work.model.file 不一致" } : { result: !0, msg: "" } : { result: !1, msg: "five.model 未加载完成" } : { result: !1, msg: "five 数据未加载" } : { result: !1, msg: "five.model 不存在" };
|
|
14
3
|
}
|
|
15
4
|
export {
|
|
16
|
-
|
|
5
|
+
l as checkFiveModelLoaded
|
|
17
6
|
};
|
|
@@ -4,7 +4,7 @@ function a(n) {
|
|
|
4
4
|
var t;
|
|
5
5
|
const r = (t = n.getElement()) == null ? void 0 : t.parentElement;
|
|
6
6
|
if (!r) {
|
|
7
|
-
console.error("
|
|
7
|
+
console.error("initialCSS3DRender2: five element is not exist");
|
|
8
8
|
return;
|
|
9
9
|
}
|
|
10
10
|
if (document.getElementById(d))
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var F = Object.defineProperty;
|
|
2
2
|
var U = Object.getOwnPropertySymbols;
|
|
3
3
|
var H = Object.prototype.hasOwnProperty, N = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var V = (
|
|
5
|
-
for (var t in
|
|
6
|
-
H.call(
|
|
4
|
+
var V = (e, o, t) => o in e ? F(e, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[o] = t, T = (e, o) => {
|
|
5
|
+
for (var t in o || (o = {}))
|
|
6
|
+
H.call(o, t) && V(e, t, o[t]);
|
|
7
7
|
if (U)
|
|
8
|
-
for (var t of U(
|
|
9
|
-
N.call(
|
|
10
|
-
return
|
|
8
|
+
for (var t of U(o))
|
|
9
|
+
N.call(o, t) && V(e, t, o[t]);
|
|
10
|
+
return e;
|
|
11
11
|
};
|
|
12
|
-
var g = (
|
|
12
|
+
var g = (e, o, t) => new Promise((c, p) => {
|
|
13
13
|
var f = (a) => {
|
|
14
14
|
try {
|
|
15
15
|
l(t.next(a));
|
|
@@ -23,64 +23,55 @@ var g = (o, e, t) => new Promise((c, p) => {
|
|
|
23
23
|
p(u);
|
|
24
24
|
}
|
|
25
25
|
}, l = (a) => a.done ? c(a.value) : Promise.resolve(a.value).then(f, s);
|
|
26
|
-
l((t = t.apply(
|
|
26
|
+
l((t = t.apply(e, o)).next());
|
|
27
27
|
});
|
|
28
28
|
import * as r from "three";
|
|
29
|
-
import "../../vendor/hammerjs/hammer.js";
|
|
30
|
-
import "../three/PointSelector/index.js";
|
|
31
|
-
import "../tag.js";
|
|
32
29
|
import { vectorToCoordinates as O } from "../vectorToCoordinate.js";
|
|
33
30
|
import { FiveUtil as Y } from "../Utils/FiveUtil.js";
|
|
34
31
|
import { notNil as k } from "../isNil.js";
|
|
35
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
36
|
-
import "./FivePuppet.js";
|
|
37
|
-
import "../three/CSS3DRenderer/index.js";
|
|
38
|
-
import "@realsee/five/line";
|
|
39
|
-
import "../three/core/Five_LineMaterial2.js";
|
|
40
32
|
import { worldBoundingSphere as j } from "../three/boundingBox.js";
|
|
41
|
-
|
|
42
|
-
function st(o, e, t) {
|
|
33
|
+
function L(e, o, t) {
|
|
43
34
|
return g(this, null, function* () {
|
|
44
35
|
var P, x, z;
|
|
45
|
-
if (!
|
|
36
|
+
if (!o)
|
|
46
37
|
return;
|
|
47
|
-
const c = j(
|
|
38
|
+
const c = j(o);
|
|
48
39
|
if (!c)
|
|
49
40
|
return;
|
|
50
|
-
const p = new Y(
|
|
51
|
-
let
|
|
52
|
-
const
|
|
41
|
+
const p = new Y(e), f = (P = t == null ? void 0 : t.scale) != null ? P : 1.4, s = c.center, l = e.camera.position.clone().sub(s).setY(0).normalize(), a = e.state.mode === "Mapview" ? e.state.fov : 60, C = Math.max(1.5, c.radius * f), A = C * (1 / Math.tan(r.MathUtils.degToRad(a / 2)));
|
|
42
|
+
let d = 0;
|
|
43
|
+
const m = [], M = (n) => {
|
|
53
44
|
const i = r.MathUtils.degToRad(n);
|
|
54
45
|
return l.clone().applyAxisAngle(new r.Vector3(0, 1, 0), i).clone().multiplyScalar(A).add(new r.Vector3(0, C, 0)).add(s);
|
|
55
46
|
};
|
|
56
|
-
for (;
|
|
47
|
+
for (; d !== 360; ) {
|
|
57
48
|
let n = 0;
|
|
58
|
-
const i = M(
|
|
49
|
+
const i = M(d), w = (y) => {
|
|
59
50
|
const _ = y.distanceTo(i), B = new r.Raycaster(y, i.clone().sub(y).normalize()), h = p.model.intersectRaycaster(B, void 0, !0)[0], S = h == null ? void 0 : h.distance;
|
|
60
51
|
k(S) ? S > _ && (n += 1) : n += 1;
|
|
61
52
|
}, E = c.clampPoint(i, new r.Vector3());
|
|
62
53
|
w(E);
|
|
63
54
|
const I = new r.Vector3(s.x, i.y, s.z);
|
|
64
|
-
if (w(I), k(
|
|
55
|
+
if (w(I), k(m[n]) && d > m[n] || (m[n] = d), n === 2)
|
|
65
56
|
break;
|
|
66
|
-
|
|
57
|
+
d += 30;
|
|
67
58
|
}
|
|
68
|
-
const R = M((z = (x =
|
|
69
|
-
if (
|
|
70
|
-
return
|
|
59
|
+
const R = M((z = (x = m[2]) != null ? x : m[1]) != null ? z : 0), v = R.distanceTo(s), b = O(s.clone().sub(R).normalize());
|
|
60
|
+
if (e.state.mode === "Mapview")
|
|
61
|
+
return e.updateCamera(
|
|
71
62
|
T({
|
|
72
63
|
offset: s,
|
|
73
64
|
distance: v
|
|
74
65
|
}, b),
|
|
75
66
|
800
|
|
76
67
|
);
|
|
77
|
-
|
|
68
|
+
e.setState(T({
|
|
78
69
|
mode: "Mapview",
|
|
79
70
|
offset: s,
|
|
80
71
|
distance: v
|
|
81
|
-
}, b)), yield
|
|
72
|
+
}, b)), yield e.ready();
|
|
82
73
|
});
|
|
83
74
|
}
|
|
84
75
|
export {
|
|
85
|
-
|
|
76
|
+
L as lookObject
|
|
86
77
|
};
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import "three";
|
|
3
|
-
import "../vendor/hammerjs/hammer.js";
|
|
4
|
-
import "./three/PointSelector/index.js";
|
|
5
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
6
|
-
import "./five/FivePuppet.js";
|
|
7
|
-
import "./three/CSS3DRenderer/index.js";
|
|
8
|
-
import "@realsee/five/line";
|
|
9
|
-
import "./three/core/Five_LineMaterial2.js";
|
|
10
|
-
import "./three/core/Sphere.js";
|
|
11
|
-
import "../vendor/animejs/lib/anime.es.js";
|
|
1
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.60.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.60.2-alpha.0",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
const
|
|
3
|
-
const r = new
|
|
4
|
-
return r.makeRotationFromEuler(
|
|
5
|
-
},
|
|
1
|
+
import * as e from "three";
|
|
2
|
+
const x = (t, a, i) => {
|
|
3
|
+
const r = new e.Matrix4(), o = new e.Euler(t, a, i, "YXZ");
|
|
4
|
+
return r.makeRotationFromEuler(o), r;
|
|
5
|
+
}, f = (t, {
|
|
6
6
|
scale: a,
|
|
7
7
|
rotation: i,
|
|
8
8
|
position: r
|
|
9
9
|
}) => {
|
|
10
10
|
if (a && t.scale.set(a, a, a), i) {
|
|
11
|
-
const [
|
|
12
|
-
|
|
11
|
+
const [o, n, c] = i;
|
|
12
|
+
o && t.applyMatrix4(x(o, 0, 0)), n && t.applyMatrix4(x(0, n, 0)), c && t.applyMatrix4(x(0, 0, c));
|
|
13
13
|
}
|
|
14
14
|
return r && t.position.set(r.x, r.y, r.z), t;
|
|
15
|
-
};
|
|
15
|
+
}, M = f;
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
M as object3d2LocalMatrix
|
|
18
18
|
};
|