@realsee/dnalogel 2.25.0 → 2.26.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/CruisePlugin/typing.d.ts +1 -1
- package/dist/GuideLinePlugin/typing.d.ts +1 -1
- package/dist/PanoCompassPlugin/typings.d.ts +1 -1
- package/dist/PipelinePlugin/Controller.d.ts +108 -0
- package/dist/PipelinePlugin/index.d.ts +6 -0
- package/dist/PipelinePlugin/typing/PluginData.d.ts +20 -0
- package/dist/PipelinePlugin/typing/ServerData.d.ts +28 -0
- package/dist/PipelinePlugin/typing/index.d.ts +79 -0
- package/dist/PipelinePlugin/utils/Objects/FlowPipe.d.ts +34 -0
- package/dist/PipelinePlugin/utils/Objects/Pipe.d.ts +49 -0
- package/dist/PipelinePlugin/utils/formatData.d.ts +12 -0
- package/dist/base/BasePluginWithData.d.ts +3 -15
- package/dist/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +1 -1
- package/dist/floorplan/typings/index.d.ts +1 -1
- package/dist/index.cjs.js +100 -65
- package/dist/index.d.ts +1 -0
- package/dist/index.js +9269 -8673
- package/dist/index.umd.js +93 -58
- package/dist/shared-utils/three/Extras/Core/Interpolations.d.ts +11 -0
- package/dist/shared-utils/three/Extras/Curves/BezierCurve3.d.ts +13 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +33 -30
- package/docs/classes/CruisePluginController.html +28 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +22 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +37 -34
- package/docs/classes/Magnifier.html +22 -19
- package/docs/classes/ModelRoomLabelController.html +13 -10
- package/docs/classes/Object3DHelperController.html +27 -24
- package/docs/classes/PaintBrush.html +17 -14
- package/docs/classes/PanoMeasurePluginLine.html +29 -26
- package/docs/classes/PanoMeasurePluginModel.html +29 -26
- package/docs/classes/PanoMeasurePluginPoint.html +16 -13
- package/docs/classes/PanoMeasurePluginPolyline.html +29 -26
- package/docs/classes/PanoTagPluginController.html +49 -46
- package/docs/classes/Util.BetterTween.html +11 -8
- package/docs/classes/Util.Interval.html +14 -11
- package/docs/classes/Util.Magnifier.html +22 -19
- package/docs/classes/Util.PointDomHelper.html +13 -10
- package/docs/classes/Util.PointHelper.html +13 -10
- package/docs/classes/Util.PointSelectorHelper.html +18 -15
- package/docs/classes/Util.Rectangle.html +15 -12
- package/docs/enums/CameraMovementEffect.html +9 -6
- package/docs/enums/ContentType.html +22 -19
- package/docs/enums/DIRECTION.html +11 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -8
- package/docs/enums/DimensionType.html +9 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -8
- package/docs/enums/PaintBrushTypeEnum.html +10 -7
- package/docs/enums/PointType.html +9 -6
- package/docs/enums/Rotation.html +10 -7
- package/docs/functions/CSS3DRenderPlugin.html +6 -3
- package/docs/functions/CameraMovementPlugin.html +6 -3
- package/docs/functions/CruisePlugin.html +6 -3
- package/docs/functions/GuideLinePlugin.html +7 -4
- package/docs/functions/ItemLabelPlugin.html +6 -3
- package/docs/functions/MapviewFloorplanPlugin.html +6 -3
- package/docs/functions/ModelChassisCompassPlugin.html +6 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -3
- package/docs/functions/ModelFloorplanPlugin.html +6 -3
- package/docs/functions/ModelItemLabelPlugin.html +6 -3
- package/docs/functions/ModelRoomLabelPlugin.html +6 -3
- package/docs/functions/ModelTVVideoPlugin.html +6 -3
- package/docs/functions/ModelViewPlugin.html +6 -3
- package/docs/functions/Object3DHelperPlugin.html +6 -3
- package/docs/functions/PanoCompassPlugin.html +6 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +6 -3
- package/docs/functions/PanoDoorLabelPlugin.html +6 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +6 -3
- package/docs/functions/PanoMeasurePlugin.html +6 -3
- package/docs/functions/PanoRulerPlugin.html +6 -3
- package/docs/functions/PanoRulerProPlugin.html +6 -3
- package/docs/functions/PanoSpatialTagPlugin.html +6 -3
- package/docs/functions/PanoTagPlugin.html +6 -3
- package/docs/functions/PanoVideoPlugin.html +6 -3
- package/docs/functions/PipelinePlugin.html +280 -0
- package/docs/functions/TopviewFloorplanPlugin.html +6 -3
- package/docs/functions/Util.absoluteUrl.html +7 -4
- package/docs/functions/Util.getCoordsFromClient.html +7 -4
- package/docs/functions/Util.getCoordsFromElement.html +7 -4
- package/docs/functions/Util.getFrameTime.html +7 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +7 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +7 -4
- package/docs/functions/Util.isAbsoluteURL.html +7 -4
- package/docs/functions/Util.isModelLike.html +7 -4
- package/docs/functions/Util.isNil.html +7 -4
- package/docs/functions/Util.isPanoramaLike.html +7 -4
- package/docs/functions/Util.nextFrame.html +7 -4
- package/docs/functions/Util.notNil.html +7 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +7 -4
- package/docs/functions/Util.tweenProgress.html +7 -4
- package/docs/functions/Util.uuid.html +7 -4
- package/docs/functions/pluginFlag.html +7 -4
- package/docs/index.html +7 -4
- package/docs/interfaces/AddTagConfig.html +8 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +10 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +9 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +10 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +14 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +22 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +14 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +16 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +16 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +11 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +10 -21
- package/docs/interfaces/CruisePluginTypes.PluginState.html +13 -10
- package/docs/interfaces/EventMap.html +17 -14
- package/docs/interfaces/FloorplanBounding.html +10 -7
- package/docs/interfaces/FloorplanData.html +12 -9
- package/docs/interfaces/FloorplanEntrance.html +13 -10
- package/docs/interfaces/FloorplanExtraObject.html +12 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +10 -7
- package/docs/interfaces/FloorplanFloorData.html +11 -8
- package/docs/interfaces/FloorplanImagePosition.html +9 -6
- package/docs/interfaces/FloorplanObserver.html +11 -8
- package/docs/interfaces/FloorplanOutlineItem.html +11 -8
- package/docs/interfaces/FloorplanPosition.html +9 -6
- package/docs/interfaces/FloorplanRoomItem.html +15 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +9 -6
- package/docs/interfaces/FloorplanServerBounding.html +10 -7
- package/docs/interfaces/FloorplanServerComputedData.html +12 -9
- package/docs/interfaces/FloorplanServerData.html +9 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +12 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +10 -7
- package/docs/interfaces/FloorplanServerEntrance.html +13 -10
- package/docs/interfaces/FloorplanServerFloorData.html +11 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +9 -6
- package/docs/interfaces/FloorplanServerObserver.html +11 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +11 -8
- package/docs/interfaces/FloorplanServerPosition.html +9 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +16 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +12 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +15 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +10 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +8 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +15 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +10 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +20 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +9 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +20 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +7 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +10 -21
- package/docs/interfaces/GuideLinePluginType.PluginState.html +10 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +13 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +11 -8
- package/docs/interfaces/HelperOffset.html +10 -7
- package/docs/interfaces/ImagePlaneGroup.html +8 -5
- package/docs/interfaces/ItemLabelPluginData.html +8 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +11 -8
- package/docs/interfaces/MinMax.html +9 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +9 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +8 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +8 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +11 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -5
- package/docs/interfaces/ModelViewPluginExportType.html +13 -10
- package/docs/interfaces/Object3DHelperState.html +10 -7
- package/docs/interfaces/ObjectHelperControllers.html +11 -8
- package/docs/interfaces/PaintBrushAction.html +14 -11
- package/docs/interfaces/PaintBrushConfigs.html +14 -11
- package/docs/interfaces/PaintBrushState.html +12 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -4
- package/docs/interfaces/PanoMeasureParameterType.html +18 -15
- package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +12 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +9 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +10 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +11 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +9 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -6
- package/docs/interfaces/PanoRulerProPluginState.html +10 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +13 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -9
- package/docs/interfaces/Point.html +10 -7
- package/docs/interfaces/Room.html +11 -8
- package/docs/interfaces/RoomInfo.html +9 -6
- package/docs/interfaces/RoomLabel.html +16 -13
- package/docs/interfaces/RoomRules.html +7 -4
- package/docs/interfaces/Rooms.html +7 -4
- package/docs/interfaces/Scissor.html +11 -8
- package/docs/interfaces/State.html +10 -7
- package/docs/interfaces/TagCacheInterface.html +14 -11
- package/docs/interfaces/TagConfig.html +15 -12
- package/docs/interfaces/TagGLTFObjectGroup.html +8 -5
- package/docs/interfaces/TagIconUrl.html +14 -11
- package/docs/interfaces/TagObjectGroup.html +8 -5
- package/docs/interfaces/TagStyle.html +8 -5
- package/docs/interfaces/Tags.html +11 -8
- package/docs/interfaces/TemporaryState.html +8 -5
- package/docs/interfaces/Util.MagnifierParameter.html +13 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +10 -7
- package/docs/interfaces/Util.PointIntersection.html +10 -7
- package/docs/modules/CruisePluginTypes.html +7 -4
- package/docs/modules/GuideLineItem.html +7 -4
- package/docs/modules/GuideLineModeItem.html +7 -4
- package/docs/modules/GuideLinePluginType.html +7 -4
- package/docs/modules/PanoVideoPluginType.html +7 -4
- package/docs/modules/Util.html +7 -4
- package/docs/modules.html +10 -4
- package/docs/types/ArrayPosition.html +7 -4
- package/docs/types/AudioAppearance.html +7 -4
- package/docs/types/AudioTagTypeConfigKey.html +7 -4
- package/docs/types/CSS3DRenderExportType.html +7 -4
- package/docs/types/CSS3DRenderPluginExportType.html +7 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +7 -4
- package/docs/types/ClassFunctionParameters.html +7 -4
- package/docs/types/Color.html +7 -4
- package/docs/types/ContentTypeConfigKey.html +7 -4
- package/docs/types/ContentTypeConfigKeySplit.html +7 -4
- package/docs/types/ContentTypeMap.html +7 -4
- package/docs/types/Create3DDomContainerReturnType.html +7 -4
- package/docs/types/Create3DElementReturnType.html +7 -4
- package/docs/types/CruisePluginExportType.html +7 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +7 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +7 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +7 -4
- package/docs/types/DeprecatedTagProperty.html +7 -4
- package/docs/types/Direction-1.html +7 -4
- package/docs/types/Direction4.html +7 -4
- package/docs/types/ElementRenderer.html +7 -4
- package/docs/types/FloorplanRuleLabels.html +7 -4
- package/docs/types/FloorplanServerRuleLabels.html +7 -4
- package/docs/types/GuideLinePluginExportType.html +7 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +7 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +7 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +7 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +7 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +7 -4
- package/docs/types/GuideLinePluginType.PathItem.html +7 -4
- package/docs/types/GuideLinePluginType.PluginData.html +7 -4
- package/docs/types/HelperEventMap.html +7 -4
- package/docs/types/LoadTagConfig.html +7 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +7 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +7 -4
- package/docs/types/MediaData.html +7 -4
- package/docs/types/MediaStore.html +7 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +7 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +7 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +7 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +7 -4
- package/docs/types/MoveArgs.html +7 -4
- package/docs/types/MoveOpts.html +7 -4
- package/docs/types/Object3DHelperEventMap.html +7 -4
- package/docs/types/ObjectFit.html +7 -4
- package/docs/types/PaintBrushEventMap.html +7 -4
- package/docs/types/PanoCompassPluginData.html +7 -4
- package/docs/types/PanoCompassPluginExportType.html +7 -4
- package/docs/types/PanoCompassPluginParameterType.html +7 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -4
- package/docs/types/PanoIndex.html +7 -4
- package/docs/types/PanoMeasurePluginEvent.html +7 -4
- package/docs/types/PanoMeasureReturnType.html +7 -4
- package/docs/types/PanoSpatialTagPluginId.html +7 -4
- package/docs/types/PanoTagPluginExportInterface.html +7 -4
- package/docs/types/PanoTagPluginParamsInterface.html +7 -4
- package/docs/types/PanoVideoPluginParameterType.html +7 -4
- package/docs/types/PanoVideoPluginReturnType.html +7 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +7 -4
- package/docs/types/PipelinePluginParameterType.html +271 -0
- package/docs/types/PipelinePluginReturnType.html +271 -0
- package/docs/types/PlaneTag.html +7 -4
- package/docs/types/Point2DTag.html +7 -4
- package/docs/types/Point3DTag.html +7 -4
- package/docs/types/PointTag.html +7 -4
- package/docs/types/PointTagInstance.html +7 -4
- package/docs/types/Position.html +7 -4
- package/docs/types/RotateArgs.html +7 -4
- package/docs/types/RotateOpts.html +7 -4
- package/docs/types/RuleLabelsKey.html +7 -4
- package/docs/types/RuleLabelsValue.html +7 -4
- package/docs/types/StickType.html +7 -4
- package/docs/types/Tag.html +7 -4
- package/docs/types/Tag2D.html +7 -4
- package/docs/types/Tag3D.html +7 -4
- package/docs/types/TagContentType.html +7 -4
- package/docs/types/TagDimensionType.html +7 -4
- package/docs/types/TagElement.html +7 -4
- package/docs/types/TagEvents.html +7 -4
- package/docs/types/TagGLTFObject.html +7 -4
- package/docs/types/TagHooks.html +7 -4
- package/docs/types/TagId.html +7 -4
- package/docs/types/TagInstance.html +7 -4
- package/docs/types/TagPointType.html +7 -4
- package/docs/types/TagRendererMap.html +7 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +7 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +7 -4
- package/docs/types/WorkCode.html +7 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +7 -4
- package/docs/variables/PLUGIN.html +7 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -4
- package/docs/variables/ROOM_TYPE_MAP.html +7 -4
- package/docs/variables/itemLabelPluginServerParams.html +7 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +7 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +7 -4
- package/libs/CruisePlugin/typing.d.ts +1 -1
- package/libs/GuideLinePlugin/typing.d.ts +1 -1
- package/libs/PanoCompassPlugin/typings.d.ts +1 -1
- package/libs/PipelinePlugin/Controller.d.ts +108 -0
- package/libs/PipelinePlugin/Controller.js +344 -0
- package/libs/PipelinePlugin/index.d.ts +6 -0
- package/libs/PipelinePlugin/index.js +39 -0
- package/libs/PipelinePlugin/typing/PluginData/index.js +6 -0
- package/libs/PipelinePlugin/typing/PluginData.d.ts +20 -0
- package/libs/PipelinePlugin/typing/PluginData.js +1 -0
- package/libs/PipelinePlugin/typing/ServerData/index.js +6 -0
- package/libs/PipelinePlugin/typing/ServerData.d.ts +28 -0
- package/libs/PipelinePlugin/typing/ServerData.js +1 -0
- package/libs/PipelinePlugin/typing/index.d.ts +79 -0
- package/libs/PipelinePlugin/typing/index.js +6 -0
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.d.ts +34 -0
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +106 -0
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.d.ts +11 -0
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +52 -0
- package/libs/PipelinePlugin/utils/Objects/Pipe.d.ts +49 -0
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +179 -0
- package/libs/PipelinePlugin/utils/formatData.d.ts +12 -0
- package/libs/PipelinePlugin/utils/formatData.js +46 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/base/BasePluginWithData.d.ts +3 -15
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +87 -88
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +75 -76
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +1 -1
- package/libs/floorplan/typings/index.d.ts +1 -1
- package/libs/index.d.ts +1 -0
- package/libs/index.js +117 -108
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/Extras/Core/Interpolations.d.ts +11 -0
- package/libs/shared-utils/three/Extras/Core/Interpolations.js +28 -0
- package/libs/shared-utils/three/Extras/Core/Interpolations2.js +34 -0
- package/libs/shared-utils/three/Extras/Curves/BezierCurve3.d.ts +13 -0
- package/libs/shared-utils/three/Extras/Curves/BezierCurve3.js +30 -0
- package/package.json +1 -1
package/libs/index.d.ts
CHANGED
package/libs/index.js
CHANGED
|
@@ -1,55 +1,56 @@
|
|
|
1
1
|
import { consoleVersion as o } from "./shared-utils/logger.js";
|
|
2
2
|
import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
|
|
3
|
-
import { PaintBrush as
|
|
4
|
-
import { PaintBrushTypeEnum as
|
|
5
|
-
import { ModelViewPlugin as
|
|
6
|
-
import { CSS3DRenderPlugin as
|
|
7
|
-
import { PanoCursorRaycasterPlugin as
|
|
8
|
-
import { ModelRoomLabelPlugin as
|
|
9
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
10
|
-
import { ModelFloorplanPlugin as
|
|
11
|
-
import { MapviewFloorplanPlugin as
|
|
12
|
-
import { TopviewFloorplanPlugin as
|
|
13
|
-
import { PanoFloorplanRadarPlugin as
|
|
14
|
-
import { FLOOR_TYPE_MAP as
|
|
15
|
-
import { ModelChassisCompassPlugin as
|
|
16
|
-
import { ModelEntryDoorGuidePlugin as
|
|
17
|
-
import { CameraMovementPlugin as
|
|
18
|
-
import { CameraMovementEffect as
|
|
19
|
-
import { PanoRulerPlugin as
|
|
20
|
-
import { PanoRulerProPlugin as
|
|
21
|
-
import { PanoCompassPlugin as
|
|
22
|
-
import { PanoMeasurePlugin as
|
|
23
|
-
import { PanoSpatialTagPlugin as
|
|
24
|
-
import { modelItemLabelPluginServerParams as
|
|
25
|
-
import { ModelTVVideoPlugin as
|
|
26
|
-
import { DIRECTION as
|
|
27
|
-
import { itemLabelPluginServerParams as
|
|
28
|
-
import { PanoDoorLabelPlugin as
|
|
29
|
-
import { GuideLinePlugin as
|
|
30
|
-
import { CruisePlugin as
|
|
31
|
-
import { PanoTagPlugin as
|
|
32
|
-
import { Object3DHelperPlugin as
|
|
33
|
-
import { PanoVideoPlugin as
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import { default as
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
3
|
+
import { PaintBrush as Gp } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as Fp } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as vp } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as Vp } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as hp } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as Bp, modelRoomLabelPluginServerParams as Hp } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as jp } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as kp } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as zp } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as Kp } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as Wp } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as Zp, ROOM_FETILE_TYPE_MAP as oe, ROOM_TYPE_MAP as re } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as ie } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as pe } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as ne } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as ae, Rotation as Pe } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as fe } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as ge } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as de } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as Te } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as Ce } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as Ee } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as Ie } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as ye } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as Ae } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as Ge } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as Fe } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as ve } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as Ve } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as he } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as Be } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { PipelinePlugin as Ue } from "./PipelinePlugin/index.js";
|
|
35
|
+
import { index as $e } from "./shared-utils/index.js";
|
|
36
|
+
import { CSS3DRender as qe } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
37
|
+
import { Model as Je } from "./PanoMeasurePlugin/Model/index.js";
|
|
38
|
+
import { default as Qe } from "./PanoMeasurePlugin/Model/point.js";
|
|
39
|
+
import { default as Xe } from "./PanoMeasurePlugin/Model/line.js";
|
|
40
|
+
import { Polyline as on } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
41
|
+
import { default as tn } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
42
|
+
import { DISPLAY_STRATEGY_TYPE as pn } from "./ModelItemLabelPlugin/typings.js";
|
|
43
|
+
import { ModelItemLabelPlugin as nn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
44
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as an } from "./ItemLabelPlugin/typings.js";
|
|
45
|
+
import { Plugin as un } from "./ItemLabelPlugin/Plugin.js";
|
|
46
|
+
import { GuideLineItem$1 as xn } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
47
|
+
import { GuideLineModeItem$1 as sn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
48
|
+
import { default as Mn } from "./CruisePlugin/Controller.js";
|
|
49
|
+
import { typing as Ln } from "./CruisePlugin/typing/index.js";
|
|
50
|
+
import { default as _n, pluginFlag as En } from "./PanoTagPlugin/controller/index.js";
|
|
51
|
+
import { ContentType as In, DimensionType as On, PointType as yn } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
52
|
+
import { Object3DHelperController as An, PLUGIN as Dn } from "./Object3DHelperPlugin/Controller.js";
|
|
53
|
+
import { typings as bn } from "./PanoVideoPlugin/typings/index.js";
|
|
53
54
|
import "./components/PaintBrush/Controller.js";
|
|
54
55
|
import "./components/PaintBrush/utils.js";
|
|
55
56
|
import "./components/PaintBrush/tween.js";
|
|
@@ -386,6 +387,13 @@ import "./PanoVideoPlugin/Controller.js";
|
|
|
386
387
|
import "./PanoVideoPlugin/VideoMeshController.js";
|
|
387
388
|
import "./PanoVideoPlugin/utils/shader.js";
|
|
388
389
|
import "./PanoVideoPlugin/utils/index.js";
|
|
390
|
+
import "./PipelinePlugin/Controller.js";
|
|
391
|
+
import "./PipelinePlugin/utils/formatData.js";
|
|
392
|
+
import "./PipelinePlugin/utils/Objects/FlowPipe.js";
|
|
393
|
+
import "./PipelinePlugin/utils/Objects/Pipe.js";
|
|
394
|
+
import "./shared-utils/three/Extras/Curves/BezierCurve3.js";
|
|
395
|
+
import "./shared-utils/three/Extras/Core/Interpolations.js";
|
|
396
|
+
import "./shared-utils/three/Extras/Core/Interpolations2.js";
|
|
389
397
|
import "./shared-utils/math/Interval.js";
|
|
390
398
|
import "./shared-utils/math/Rectangle.js";
|
|
391
399
|
import "./shared-utils/three/getCoords.js";
|
|
@@ -393,62 +401,63 @@ import "./shared-utils/three/getRaycaster.js";
|
|
|
393
401
|
r();
|
|
394
402
|
o();
|
|
395
403
|
export {
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
404
|
+
qe as CSS3DRender,
|
|
405
|
+
Vp as CSS3DRenderPlugin,
|
|
406
|
+
ae as CameraMovementEffect,
|
|
407
|
+
ne as CameraMovementPlugin,
|
|
408
|
+
In as ContentType,
|
|
409
|
+
ve as CruisePlugin,
|
|
410
|
+
Mn as CruisePluginController,
|
|
411
|
+
Ln as CruisePluginTypes,
|
|
412
|
+
ye as DIRECTION,
|
|
413
|
+
pn as DISPLAY_STRATEGY_TYPE,
|
|
414
|
+
On as DimensionType,
|
|
415
|
+
jp as FLOOR_PLAN_ATTACHED_TO,
|
|
416
|
+
Zp as FLOOR_TYPE_MAP,
|
|
417
|
+
xn as GuideLineItem,
|
|
418
|
+
sn as GuideLineModeItem,
|
|
419
|
+
Fe as GuideLinePlugin,
|
|
420
|
+
an as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
421
|
+
un as ItemLabelPlugin,
|
|
422
|
+
tn as Magnifier,
|
|
423
|
+
zp as MapviewFloorplanPlugin,
|
|
424
|
+
ie as ModelChassisCompassPlugin,
|
|
425
|
+
pe as ModelEntryDoorGuidePlugin,
|
|
426
|
+
kp as ModelFloorplanPlugin,
|
|
427
|
+
nn as ModelItemLabelPlugin,
|
|
428
|
+
Bp as ModelRoomLabelPlugin,
|
|
429
|
+
Ie as ModelTVVideoPlugin,
|
|
430
|
+
vp as ModelViewPlugin,
|
|
431
|
+
An as Object3DHelperController,
|
|
432
|
+
he as Object3DHelperPlugin,
|
|
433
|
+
Dn as PLUGIN,
|
|
434
|
+
Gp as PaintBrush,
|
|
435
|
+
Fp as PaintBrushTypeEnum,
|
|
436
|
+
de as PanoCompassPlugin,
|
|
437
|
+
hp as PanoCursorRaycasterPlugin,
|
|
438
|
+
Ge as PanoDoorLabelPlugin,
|
|
439
|
+
Wp as PanoFloorplanRadarPlugin,
|
|
440
|
+
Te as PanoMeasurePlugin,
|
|
441
|
+
Xe as PanoMeasurePluginLine,
|
|
442
|
+
Je as PanoMeasurePluginModel,
|
|
443
|
+
Qe as PanoMeasurePluginPoint,
|
|
444
|
+
on as PanoMeasurePluginPolyline,
|
|
445
|
+
fe as PanoRulerPlugin,
|
|
446
|
+
ge as PanoRulerProPlugin,
|
|
447
|
+
Ce as PanoSpatialTagPlugin,
|
|
448
|
+
Ve as PanoTagPlugin,
|
|
449
|
+
_n as PanoTagPluginController,
|
|
450
|
+
Be as PanoVideoPlugin,
|
|
451
|
+
bn as PanoVideoPluginType,
|
|
452
|
+
Ue as PipelinePlugin,
|
|
453
|
+
yn as PointType,
|
|
454
|
+
oe as ROOM_FETILE_TYPE_MAP,
|
|
455
|
+
re as ROOM_TYPE_MAP,
|
|
456
|
+
Pe as Rotation,
|
|
457
|
+
Kp as TopviewFloorplanPlugin,
|
|
458
|
+
$e as Util,
|
|
459
|
+
Ae as itemLabelPluginServerParams,
|
|
460
|
+
Ee as modelItemLabelPluginServerParams,
|
|
461
|
+
Hp as modelRoomLabelPluginServerParams,
|
|
462
|
+
En as pluginFlag
|
|
454
463
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv2.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv2.26.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",
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
/**
|
|
3
|
+
* N 阶贝塞尔曲线
|
|
4
|
+
*
|
|
5
|
+
* @param points points.length 阶数是 points.length - 1
|
|
6
|
+
*
|
|
7
|
+
* @description
|
|
8
|
+
*
|
|
9
|
+
* N 阶贝塞尔就是递归求插值, 从 N 阶一直降阶到 1 阶,也就是求直线线性插值
|
|
10
|
+
*/
|
|
11
|
+
export declare function Bezier(t: number, points: THREE.Vector3[]): THREE.Vector3;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as l from "three";
|
|
2
|
+
import { QuadraticBezier as x, CubicBezier as a } from "./Interpolations2.js";
|
|
3
|
+
function y(e, r) {
|
|
4
|
+
const c = r.length - 1;
|
|
5
|
+
if (c < 1)
|
|
6
|
+
throw new Error("length of points must greater than 2");
|
|
7
|
+
if (c === 2)
|
|
8
|
+
return new l.Vector3(
|
|
9
|
+
x(e, r[0].x, r[1].x, r[2].x),
|
|
10
|
+
x(e, r[0].y, r[1].y, r[2].y),
|
|
11
|
+
x(e, r[0].z, r[1].z, r[2].z)
|
|
12
|
+
);
|
|
13
|
+
if (c === 3)
|
|
14
|
+
return new l.Vector3(
|
|
15
|
+
a(e, r[0].x, r[1].x, r[2].x, r[3].x),
|
|
16
|
+
a(e, r[0].y, r[1].y, r[2].y, r[3].y),
|
|
17
|
+
a(e, r[0].z, r[1].z, r[2].z, r[3].z)
|
|
18
|
+
);
|
|
19
|
+
if (c === 1) {
|
|
20
|
+
const [u, z] = r;
|
|
21
|
+
return u.clone().add(z.clone().sub(u).multiplyScalar(e));
|
|
22
|
+
}
|
|
23
|
+
const f = [];
|
|
24
|
+
return r.reduce((u, z) => (f.push(y(e, [u, z])), z)), y(e, f);
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
y as Bezier
|
|
28
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
function c(r, n) {
|
|
2
|
+
const e = 1 - r;
|
|
3
|
+
return e * e * n;
|
|
4
|
+
}
|
|
5
|
+
function t(r, n) {
|
|
6
|
+
return 2 * (1 - r) * r * n;
|
|
7
|
+
}
|
|
8
|
+
function o(r, n) {
|
|
9
|
+
return r * r * n;
|
|
10
|
+
}
|
|
11
|
+
function P(r, n, e, i) {
|
|
12
|
+
return c(r, n) + t(r, e) + o(r, i);
|
|
13
|
+
}
|
|
14
|
+
function f(r, n) {
|
|
15
|
+
const e = 1 - r;
|
|
16
|
+
return e * e * e * n;
|
|
17
|
+
}
|
|
18
|
+
function z(r, n) {
|
|
19
|
+
const e = 1 - r;
|
|
20
|
+
return 3 * e * e * r * n;
|
|
21
|
+
}
|
|
22
|
+
function B(r, n) {
|
|
23
|
+
return 3 * (1 - r) * r * r * n;
|
|
24
|
+
}
|
|
25
|
+
function a(r, n) {
|
|
26
|
+
return r * r * r * n;
|
|
27
|
+
}
|
|
28
|
+
function b(r, n, e, i, u) {
|
|
29
|
+
return f(r, n) + z(r, e) + B(r, i) + a(r, u);
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
b as CubicBezier,
|
|
33
|
+
P as QuadraticBezier
|
|
34
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
declare class CustomBezierCurve3 extends THREE.Curve<THREE.Vector3> {
|
|
3
|
+
type: string;
|
|
4
|
+
controlPoints: THREE.Vector3[];
|
|
5
|
+
constructor(controlPoints?: THREE.Vector3[]);
|
|
6
|
+
getPoint(t: number, optionalTarget?: THREE.Vector3): THREE.Vector3;
|
|
7
|
+
copy(source: CustomBezierCurve3): this;
|
|
8
|
+
toJSON(): object & {
|
|
9
|
+
controlPoints: number[][];
|
|
10
|
+
};
|
|
11
|
+
fromJSON(json: any): this;
|
|
12
|
+
}
|
|
13
|
+
export { CustomBezierCurve3 };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var p = Object.defineProperty;
|
|
2
|
+
var a = (n, o, t) => o in n ? p(n, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[o] = t;
|
|
3
|
+
var i = (n, o, t) => (a(n, typeof o != "symbol" ? o + "" : o, t), t);
|
|
4
|
+
import * as c from "three";
|
|
5
|
+
import { Bezier as u } from "../Core/Interpolations.js";
|
|
6
|
+
class P extends c.Curve {
|
|
7
|
+
constructor(t = []) {
|
|
8
|
+
super();
|
|
9
|
+
i(this, "type");
|
|
10
|
+
i(this, "controlPoints");
|
|
11
|
+
this.type = "CustomBezierCurve3", this.controlPoints = t;
|
|
12
|
+
}
|
|
13
|
+
getPoint(t, r = new c.Vector3()) {
|
|
14
|
+
const s = r, e = u(t, this.controlPoints);
|
|
15
|
+
return s.copy(e), s;
|
|
16
|
+
}
|
|
17
|
+
copy(t) {
|
|
18
|
+
return super.copy(t), this.controlPoints = t.controlPoints.map((r) => r.clone()), this;
|
|
19
|
+
}
|
|
20
|
+
toJSON() {
|
|
21
|
+
const t = super.toJSON(), r = this.controlPoints.map((e) => e.toArray());
|
|
22
|
+
return Object.assign(t, { controlPoints: r });
|
|
23
|
+
}
|
|
24
|
+
fromJSON(t) {
|
|
25
|
+
return super.fromJSON(t), this.controlPoints = t.controlPoints.map((r) => new c.Vector3().fromArray(r)), this;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
P as CustomBezierCurve3
|
|
30
|
+
};
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "2.
|
|
10
|
+
"version": "2.26.0",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|