@realsee/dnalogel 0.1.7 → 2.0.0-alpha.1
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/README.md +6 -90
- package/dist/dnalogel.es.js +37145 -0
- package/dist/dnalogel.umd.js +2 -0
- package/dist/style.css +1 -0
- package/{plugins → libs}/CSS3DRenderPlugin/index.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/index.js +181 -0
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +7 -0
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +18 -0
- package/{plugins → libs}/CameraMovementPlugin/index.d.ts +0 -0
- package/libs/CameraMovementPlugin/index.js +159 -0
- package/{plugins → libs}/CameraMovementPlugin/typing.d.ts +0 -0
- package/libs/CameraMovementPlugin/typing.js +17 -0
- package/{plugins → libs}/ModelChassisCompassPlugin/index.d.ts +1 -1
- package/libs/ModelChassisCompassPlugin/index.js +75 -0
- package/{plugins → libs}/ModelEntryDoorGuidePlugin/index.d.ts +6 -2
- package/libs/ModelEntryDoorGuidePlugin/index.js +136 -0
- package/libs/ModelRoomLabelPlugin/Assets/roomLabelBg.d.ts +1 -0
- package/libs/ModelRoomLabelPlugin/Assets/roomLabelBg.js +1 -0
- package/{plugins → libs}/ModelRoomLabelPlugin/Controller.d.ts +3 -2
- package/libs/ModelRoomLabelPlugin/Controller.js +100 -0
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.svelte +63 -0
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.svelte.map +1 -0
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.svelte +80 -0
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.svelte.map +1 -0
- package/libs/ModelRoomLabelPlugin/index.d.ts +12 -0
- package/libs/ModelRoomLabelPlugin/index.js +9 -0
- package/{plugins → libs}/ModelRoomLabelPlugin/typings.d.ts +2 -2
- package/libs/ModelRoomLabelPlugin/typings.js +1 -0
- package/{plugins → libs}/ModelRoomLabelPlugin/utils/parseData.d.ts +0 -0
- package/libs/ModelRoomLabelPlugin/utils/parseData.js +14 -0
- package/{plugins → libs}/ModelViewPlugin/index.d.ts +0 -0
- package/libs/ModelViewPlugin/index.js +160 -0
- package/{plugins → libs}/PanoCursorRaycasterPlugin/index.d.ts +2 -3
- package/libs/PanoCursorRaycasterPlugin/index.js +74 -0
- package/libs/floorplan/Assets/camera.d.ts +1 -0
- package/libs/floorplan/Assets/camera.js +1 -0
- package/libs/floorplan/Assets/floorplanExtraObject.d.ts +1 -0
- package/libs/floorplan/Assets/floorplanExtraObject.js +1 -0
- package/libs/floorplan/Components/BaseImage.svelte +25 -0
- package/libs/floorplan/Components/BaseImage.svelte.map +1 -0
- package/libs/floorplan/Components/Normalmage.svelte +11 -0
- package/libs/floorplan/Components/Normalmage.svelte.map +1 -0
- package/libs/floorplan/Components/RoomHighlight/Room.svelte +21 -0
- package/libs/floorplan/Components/RoomHighlight/Room.svelte.map +1 -0
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.svelte +60 -0
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.svelte.map +1 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.svelte +35 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.svelte.map +1 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte +7 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte.map +1 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte +16 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte.map +1 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte +17 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte.map +1 -0
- package/libs/floorplan/Components/SvgImage.svelte +25 -0
- package/libs/floorplan/Components/SvgImage.svelte.map +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/Assets/compass.d.ts +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/Assets/compass.js +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/Camera.svelte +46 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/Camera.svelte.map +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/Compass.svelte +48 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/Compass.svelte.map +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/CurrentFloor/CurrentFloor.svelte +37 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/CurrentFloor/CurrentFloor.svelte.map +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/Main.svelte +50 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/Main.svelte.map +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/RoomLabels/RoomLabel.svelte +41 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/RoomLabels/RoomLabel.svelte.map +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/RoomLabels/RoomLabels.svelte +25 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/RoomLabels/RoomLabels.svelte.map +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/RuleLabels/RuleItem.svelte +148 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/RuleLabels/RuleItem.svelte.map +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/RuleLabels/RuleLabels.svelte +15 -0
- package/libs/floorplan/ModelFloorplanPlugin/Components/RuleLabels/RuleLabels.svelte.map +1 -0
- package/{plugins → libs}/floorplan/ModelFloorplanPlugin/Controller.d.ts +16 -14
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +357 -0
- package/{plugins → libs}/floorplan/ModelFloorplanPlugin/index.d.ts +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -0
- package/{plugins → libs}/floorplan/ModelFloorplanPlugin/typings/events.type.d.ts +0 -0
- package/libs/floorplan/ModelFloorplanPlugin/typings/events.type.js +1 -0
- package/{plugins → libs}/floorplan/ModelFloorplanPlugin/utils/constant.d.ts +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/utils/constant.js +16 -0
- package/{plugins → libs}/floorplan/ModelFloorplanPlugin/utils/correctFiveState.d.ts +0 -0
- package/libs/floorplan/ModelFloorplanPlugin/utils/correctFiveState.js +46 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte +84 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte.map +1 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.svelte +18 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.svelte.map +1 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte +40 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte.map +1 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte +61 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte.map +1 -0
- package/{plugins → libs}/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +6 -11
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +88 -0
- package/{plugins → libs}/floorplan/PanoFloorplanRadarPlugin/index.d.ts +0 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -0
- package/{plugins → libs}/floorplan/TopviewFloorplanPlugin/Controller.d.ts +15 -11
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +189 -0
- package/{plugins → libs}/floorplan/TopviewFloorplanPlugin/index.d.ts +0 -0
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -0
- package/{plugins → libs}/floorplan/TopviewFloorplanPlugin/style.d.ts +0 -0
- package/libs/floorplan/TopviewFloorplanPlugin/style.js +8 -0
- package/{plugins → libs}/floorplan/typings/floorplanData.d.ts +6 -0
- package/libs/floorplan/typings/floorplanData.js +6 -0
- package/{plugins → libs}/floorplan/typings/floorplanServerData.d.ts +4 -2
- package/libs/floorplan/typings/floorplanServerData.js +101 -0
- package/libs/floorplan/typings/utility.d.ts +2 -0
- package/libs/floorplan/typings/utility.js +1 -0
- package/{plugins → libs}/floorplan/utils/formatData.d.ts +3 -3
- package/libs/floorplan/utils/formatData.js +94 -0
- package/{plugins → libs}/floorplan/utils/formatPosition.d.ts +3 -4
- package/libs/floorplan/utils/formatPosition.js +50 -0
- package/libs/index.d.ts +17 -0
- package/libs/index.js +10 -0
- package/{shared-utils → libs/shared-utils}/Preloader.d.ts +0 -0
- package/libs/shared-utils/Preloader.js +38 -0
- package/{shared-utils → libs/shared-utils}/Subscribe.d.ts +3 -3
- package/libs/shared-utils/Subscribe.js +101 -0
- package/{shared-utils → libs/shared-utils}/animationFrame/BetterTween.d.ts +0 -0
- package/libs/shared-utils/animationFrame/BetterTween.js +30 -0
- package/{shared-utils → libs/shared-utils}/animationFrame/calculateProgress.d.ts +0 -0
- package/libs/shared-utils/animationFrame/calculateProgress.js +23 -0
- package/{shared-utils → libs/shared-utils}/animationFrame/formatRad.d.ts +0 -0
- package/libs/shared-utils/animationFrame/formatRad.js +20 -0
- package/{shared-utils → libs/shared-utils}/animationFrame/index.d.ts +0 -0
- package/libs/shared-utils/animationFrame/index.js +48 -0
- package/{shared-utils → libs/shared-utils}/animationFrame/tween.d.ts +0 -0
- package/libs/shared-utils/animationFrame/tween.js +44 -0
- package/libs/shared-utils/changeModelCanvasOpacity.d.ts +2 -0
- package/libs/shared-utils/changeModelCanvasOpacity.js +15 -0
- package/{shared-utils → libs/shared-utils}/createCanvasTextTexture.d.ts +0 -0
- package/libs/shared-utils/createCanvasTextTexture.js +19 -0
- package/{shared-utils → libs/shared-utils}/createLine/index.d.ts +1 -1
- package/libs/shared-utils/createLine/index.js +8 -0
- package/{shared-utils → libs/shared-utils}/debounce.d.ts +1 -1
- package/libs/shared-utils/debounce.js +14 -0
- package/{shared-utils → libs/shared-utils}/equal.d.ts +0 -0
- package/libs/shared-utils/equal.js +84 -0
- package/{shared-utils → libs/shared-utils}/filter.d.ts +0 -0
- package/libs/shared-utils/filter.js +53 -0
- package/{shared-utils → libs/shared-utils}/five/changeMode.d.ts +0 -0
- package/libs/shared-utils/five/changeMode.js +15 -0
- package/{shared-utils → libs/shared-utils}/five/useFivePlugin.d.ts +0 -0
- package/libs/shared-utils/five/useFivePlugin.js +8 -0
- package/{shared-utils → libs/shared-utils}/formatRad.d.ts +0 -0
- package/libs/shared-utils/formatRad.js +10 -0
- package/{shared-utils → libs/shared-utils}/getPxmm.d.ts +0 -0
- package/libs/shared-utils/getPxmm.js +20 -0
- package/{shared-utils → libs/shared-utils}/getRandomColor.d.ts +0 -0
- package/libs/shared-utils/getRandomColor.js +10 -0
- package/{shared-utils → libs/shared-utils}/isNil.d.ts +0 -0
- package/libs/shared-utils/isNil.js +14 -0
- package/{shared-utils → libs/shared-utils}/isTruelyObject.d.ts +0 -0
- package/libs/shared-utils/isTruelyObject.js +20 -0
- package/libs/shared-utils/math/evenNumber.d.ts +3 -0
- package/libs/shared-utils/math/evenNumber.js +4 -0
- package/{shared-utils → libs/shared-utils}/math/planimetry.d.ts +4 -4
- package/libs/shared-utils/math/planimetry.js +288 -0
- package/{shared-utils → libs/shared-utils}/math/rad2Deg.d.ts +0 -0
- package/libs/shared-utils/math/rad2Deg.js +3 -0
- package/{shared-utils → libs/shared-utils}/nearlyEqual.d.ts +0 -0
- package/libs/shared-utils/nearlyEqual.js +9 -0
- package/{shared-utils → libs/shared-utils}/nextFrame.d.ts +0 -0
- package/libs/shared-utils/nextFrame.js +6 -0
- package/{shared-utils → libs/shared-utils}/noop.d.ts +0 -0
- package/libs/shared-utils/noop.js +7 -0
- package/{shared-utils → libs/shared-utils}/object3d2LocalMatrix.d.ts +0 -0
- package/libs/shared-utils/object3d2LocalMatrix.js +29 -0
- package/{shared-utils → libs/shared-utils}/px2rem.d.ts +0 -0
- package/libs/shared-utils/px2rem.js +4 -0
- package/libs/shared-utils/removeArrayItem.d.ts +7 -0
- package/libs/shared-utils/removeArrayItem.js +12 -0
- package/{shared-utils → libs/shared-utils}/tap.d.ts +0 -0
- package/{shared-utils → libs/shared-utils}/tap.js +4 -13
- package/{shared-utils → libs/shared-utils}/three/centerPoint.d.ts +0 -0
- package/libs/shared-utils/three/centerPoint.js +4 -0
- package/{shared-utils → libs/shared-utils}/three/getExtraModelLoader.d.ts +0 -0
- package/libs/shared-utils/three/getExtraModelLoader.js +18 -0
- package/{shared-utils → libs/shared-utils}/three/getNormal.d.ts +0 -0
- package/libs/shared-utils/three/getNormal.js +6 -0
- package/{shared-utils → libs/shared-utils}/three/getTextureLoader.d.ts +0 -0
- package/libs/shared-utils/three/getTextureLoader.js +17 -0
- package/{shared-utils → libs/shared-utils}/three/loadFbxObj.d.ts +0 -0
- package/libs/shared-utils/three/loadFbxObj.js +13 -0
- package/libs/shared-utils/three/loadTexture.d.ts +2 -0
- package/libs/shared-utils/three/loadTexture.js +10 -0
- package/{shared-utils → libs/shared-utils}/three/transformPositionToVector3.d.ts +0 -0
- package/libs/shared-utils/three/transformPositionToVector3.js +3 -0
- package/{shared-utils → libs/shared-utils}/three/transfromToMeshBasicMaterial.d.ts +0 -0
- package/libs/shared-utils/three/transfromToMeshBasicMaterial.js +14 -0
- package/{shared-utils → libs/shared-utils}/throttle.d.ts +1 -1
- package/libs/shared-utils/throttle.js +18 -0
- package/{shared-utils → libs/shared-utils}/to.d.ts +0 -0
- package/libs/shared-utils/to.js +18 -0
- package/{shared-utils → libs/shared-utils}/useDebounce.d.ts +0 -0
- package/libs/shared-utils/useDebounce.js +22 -0
- package/{shared-utils → libs/shared-utils}/useThrottle.d.ts +0 -0
- package/libs/shared-utils/useThrottle.js +25 -0
- package/libs/{gltf-viewer → shared-utils}/uuid.d.ts +0 -0
- package/libs/shared-utils/uuid.js +11 -0
- package/{shared-utils → libs/shared-utils}/vectorTocoordinates.d.ts +0 -0
- package/libs/shared-utils/vectorTocoordinates.js +9 -0
- package/{typings → libs/typings}/math.type.d.ts +0 -0
- package/libs/typings/math.type.js +1 -0
- package/{typings → libs/typings}/utils.type.d.ts +0 -0
- package/libs/typings/utils.type.js +1 -0
- package/package.json +45 -17
- package/TERMS.txt +0 -56
- package/components/ARVideoFigure/ARVideoFigureMesh.d.ts +0 -44
- package/components/ARVideoFigure/ARVideoFigureMesh.js +0 -371
- package/components/ARVideoFigure/ARVideoFigureScene.d.ts +0 -11
- package/components/ARVideoFigure/ARVideoFigureScene.js +0 -85
- package/components/ARVideoFigure/ImgBgTransparent.d.ts +0 -16
- package/components/ARVideoFigure/ImgBgTransparent.js +0 -65
- package/components/ARVideoFigure/ImgBgTransparentMesh.d.ts +0 -30
- package/components/ARVideoFigure/ImgBgTransparentMesh.js +0 -183
- package/components/ARVideoFigure/fragmentShader.d.ts +0 -5
- package/components/ARVideoFigure/fragmentShader.js +0 -18
- package/components/ARVideoFigure/index.d.ts +0 -15
- package/components/ARVideoFigure/index.js +0 -80
- package/components/ARVideoFigure/vertexShader.d.ts +0 -1
- package/components/ARVideoFigure/vertexShader.js +0 -10
- package/components/GLTFView/index.d.ts +0 -72
- package/components/GLTFView/index.js +0 -149
- package/components/GlassFilters/index.d.ts +0 -32
- package/components/GlassFilters/index.js +0 -78
- package/components/ModelView/ModelViewController.d.ts +0 -18
- package/components/ModelView/ModelViewController.js +0 -157
- package/components/ModelView/index.d.ts +0 -10
- package/components/ModelView/index.js +0 -24
- package/components/PaintBrush/index.d.ts +0 -16
- package/components/PaintBrush/index.js +0 -47
- package/components/PanoTag/index.d.ts +0 -4
- package/components/PanoTag/index.js +0 -13
- package/custom.d.js +0 -3
- package/data/1aGKl9JmrlXMXx8d.d.ts +0 -104
- package/data/1aGKl9JmrlXMXx8d.js +0 -537
- package/data/54djM0oR6ky3Ey8e.d.ts +0 -55
- package/data/54djM0oR6ky3Ey8e.js +0 -350
- package/data/6gyq3v1verxD7JO1.d.ts +0 -104
- package/data/6gyq3v1verxD7JO1.js +0 -462
- package/data/8054djM0oR6ky3Ey8e.d.ts +0 -55
- package/data/8054djM0oR6ky3Ey8e.js +0 -350
- package/data/KpokNd82rwjhackhQTBEoYKHg8zGbPXe.d.ts +0 -84
- package/data/KpokNd82rwjhackhQTBEoYKHg8zGbPXe.js +0 -600
- package/data/PrXel3aqGbp34JQn.d.ts +0 -389
- package/data/PrXel3aqGbp34JQn.js +0 -4649
- package/data/XJ6NMLWnkAY3Rdx8.d.ts +0 -843
- package/data/XJ6NMLWnkAY3Rdx8.js +0 -7989
- package/data/YdoNP9K4rwQDwjJr.d.ts +0 -83
- package/data/YdoNP9K4rwQDwjJr.js +0 -1453
- package/data/ZLvK29zj4L29Jowd.d.ts +0 -55
- package/data/ZLvK29zj4L29Jowd.js +0 -372
- package/data/auto3d-njL5J99VwCmnjtQElOmXQr.d.ts +0 -86
- package/data/auto3d-njL5J99VwCmnjtQElOmXQr.js +0 -711
- package/data/extrude-walls/ZLvK29zj4L29Jowd.d.ts +0 -5
- package/data/extrude-walls/ZLvK29zj4L29Jowd.js +0 -14
- package/data/extrude-walls/lo024DEgzanMj5BE.d.ts +0 -5
- package/data/extrude-walls/lo024DEgzanMj5BE.js +0 -14
- package/data/jd6oMOzPxnQ3BvxY_B7yw51J9rXlhYhjhGTOgRVqu6WeEqjNX.d.ts +0 -85
- package/data/jd6oMOzPxnQ3BvxY_B7yw51J9rXlhYhjhGTOgRVqu6WeEqjNX.js +0 -511
- package/data/lo024DEgzanMj5BE.d.ts +0 -55
- package/data/lo024DEgzanMj5BE.js +0 -966
- package/data/oPzy3ApbjjpD8YdR.d.ts +0 -83
- package/data/oPzy3ApbjjpD8YdR.js +0 -283
- package/data/qjAxMG4XbPn96wKG.d.ts +0 -104
- package/data/qjAxMG4XbPn96wKG.js +0 -637
- package/data/rXel3aPQRRBD4JQn.d.ts +0 -86
- package/data/rXel3aPQRRBD4JQn.js +0 -622
- package/data/vLykj3NWrllMrG06.d.ts +0 -91
- package/data/vLykj3NWrllMrG06.js +0 -2729
- package/data/wz0QV9KA4ugyo9ME.d.ts +0 -39
- package/data/wz0QV9KA4ugyo9ME.js +0 -136
- package/data/zxMawr9raSg8LYjG.d.ts +0 -53
- package/data/zxMawr9raSg8LYjG.js +0 -590
- package/examples/FiveStateController/index.js +0 -134
- package/examples/VRHouse/Mobile.js +0 -36
- package/examples/VRHouse/PC.js +0 -36
- package/examples/VRHouse/index.js +0 -36
- package/index.d.ts +0 -15
- package/index.js +0 -45
- package/libs/gltf-viewer/Subscribe.d.ts +0 -76
- package/libs/gltf-viewer/Subscribe.js +0 -231
- package/libs/gltf-viewer/coordsMoveByOffset.d.ts +0 -13
- package/libs/gltf-viewer/coordsMoveByOffset.js +0 -22
- package/libs/gltf-viewer/coordsToDirection.d.ts +0 -5
- package/libs/gltf-viewer/coordsToDirection.js +0 -41
- package/libs/gltf-viewer/formatRad.d.ts +0 -1
- package/libs/gltf-viewer/formatRad.js +0 -13
- package/libs/gltf-viewer/getFrameTime.d.ts +0 -1
- package/libs/gltf-viewer/getFrameTime.js +0 -28
- package/libs/gltf-viewer/index.d.ts +0 -55
- package/libs/gltf-viewer/index.js +0 -650
- package/libs/gltf-viewer/mouseWheel.d.ts +0 -2
- package/libs/gltf-viewer/mouseWheel.js +0 -59
- package/libs/gltf-viewer/requestAnimationFrame.d.ts +0 -1
- package/libs/gltf-viewer/requestAnimationFrame.js +0 -18
- package/libs/gltf-viewer/requestAnimationFrameInterval.d.ts +0 -1
- package/libs/gltf-viewer/requestAnimationFrameInterval.js +0 -31
- package/libs/gltf-viewer/uuid.js +0 -28
- package/plugins/AutoPreloadPlugin/index.d.ts +0 -23
- package/plugins/AutoPreloadPlugin/index.js +0 -111
- package/plugins/CSS3DRenderPlugin/components/Marker/index.d.ts +0 -12
- package/plugins/CSS3DRenderPlugin/components/Marker/index.js +0 -121
- package/plugins/CSS3DRenderPlugin/index.js +0 -298
- package/plugins/CameraMovementPlugin/index.js +0 -362
- package/plugins/CameraMovementPlugin/typing.js +0 -37
- package/plugins/ModelChassisCompassPlugin/index.js +0 -157
- package/plugins/ModelEntryDoorGuidePlugin/index.js +0 -247
- package/plugins/ModelExtrudeWallsPlugin/index.d.ts +0 -16
- package/plugins/ModelExtrudeWallsPlugin/index.js +0 -252
- package/plugins/ModelRoomLabelPlugin/Controller.js +0 -153
- package/plugins/ModelRoomLabelPlugin/RoomLabelItem.d.ts +0 -8
- package/plugins/ModelRoomLabelPlugin/RoomLabelItem.js +0 -66
- package/plugins/ModelRoomLabelPlugin/RoomLabelItems.d.ts +0 -7
- package/plugins/ModelRoomLabelPlugin/RoomLabelItems.js +0 -159
- package/plugins/ModelRoomLabelPlugin/index.d.ts +0 -8
- package/plugins/ModelRoomLabelPlugin/index.js +0 -18
- package/plugins/ModelRoomLabelPlugin/typings.js +0 -7
- package/plugins/ModelRoomLabelPlugin/utils/parseData.js +0 -35
- package/plugins/ModelTVVideoPlugin/index.d.ts +0 -21
- package/plugins/ModelTVVideoPlugin/index.js +0 -397
- package/plugins/ModelViewPlugin/index.js +0 -223
- package/plugins/PanoCursorRaycasterPlugin/PanoCursorRaycasterPluginUsage.d.ts +0 -48
- package/plugins/PanoCursorRaycasterPlugin/components/MovePointTowardsCamera.d.ts +0 -9
- package/plugins/PanoCursorRaycasterPlugin/components/MovePointTowardsCamera.js +0 -117
- package/plugins/PanoCursorRaycasterPlugin/components/PointAxesHelper.d.ts +0 -11
- package/plugins/PanoCursorRaycasterPlugin/components/PointAxesHelper.js +0 -39
- package/plugins/PanoCursorRaycasterPlugin/index.js +0 -126
- package/plugins/PanoCursorRaycasterPlugin/utils/addLineToFive.d.ts +0 -5
- package/plugins/PanoCursorRaycasterPlugin/utils/addLineToFive.js +0 -27
- package/plugins/PanoCursorRaycasterPlugin/utils/createLine.d.ts +0 -3
- package/plugins/PanoCursorRaycasterPlugin/utils/createLine.js +0 -48
- package/plugins/PanoDoorLabelPlugin/index.d.ts +0 -4
- package/plugins/PanoDoorLabelPlugin/index.js +0 -14
- package/plugins/PanoIRobotPlugin/index.d.ts +0 -10
- package/plugins/PanoIRobotPlugin/index.js +0 -18
- package/plugins/PanoMaskSelectorPlugin/compare.d.ts +0 -1
- package/plugins/PanoMaskSelectorPlugin/compare.js +0 -17
- package/plugins/PanoMaskSelectorPlugin/createBox.d.ts +0 -7
- package/plugins/PanoMaskSelectorPlugin/createBox.js +0 -79
- package/plugins/PanoMaskSelectorPlugin/createTextures.d.ts +0 -3
- package/plugins/PanoMaskSelectorPlugin/createTextures.js +0 -45
- package/plugins/PanoMaskSelectorPlugin/fragmentShader.d.ts +0 -1
- package/plugins/PanoMaskSelectorPlugin/fragmentShader.js +0 -10
- package/plugins/PanoMaskSelectorPlugin/index.d.ts +0 -49
- package/plugins/PanoMaskSelectorPlugin/index.js +0 -348
- package/plugins/PanoMaskSelectorPlugin/vertexShader.d.ts +0 -1
- package/plugins/PanoMaskSelectorPlugin/vertexShader.js +0 -10
- package/plugins/PanoRulerPlugin/data/roomInfo.d.ts +0 -3
- package/plugins/PanoRulerPlugin/data/roomInfo.js +0 -51
- package/plugins/PanoRulerPlugin/data/roomRules.d.ts +0 -3
- package/plugins/PanoRulerPlugin/data/roomRules.js +0 -235
- package/plugins/PanoRulerPlugin/index.d.ts +0 -27
- package/plugins/PanoRulerPlugin/index.js +0 -637
- package/plugins/PanoRulerPlugin/typings.d.ts +0 -21
- package/plugins/PanoRulerPlugin/typings.js +0 -7
- package/plugins/PanoTVVideoPlugin/index.d.ts +0 -26
- package/plugins/PanoTVVideoPlugin/index.js +0 -433
- package/plugins/TreasurePlugin/Controller.d.ts +0 -73
- package/plugins/TreasurePlugin/Controller.js +0 -250
- package/plugins/TreasurePlugin/TreasureFaceAnime.d.ts +0 -25
- package/plugins/TreasurePlugin/TreasureFaceAnime.js +0 -143
- package/plugins/TreasurePlugin/TreasureObject.d.ts +0 -53
- package/plugins/TreasurePlugin/TreasureObject.js +0 -406
- package/plugins/TreasurePlugin/TreasureOpenAnime.d.ts +0 -25
- package/plugins/TreasurePlugin/TreasureOpenAnime.js +0 -127
- package/plugins/TreasurePlugin/constants.d.ts +0 -33
- package/plugins/TreasurePlugin/constants.js +0 -67
- package/plugins/TreasurePlugin/index.d.ts +0 -11
- package/plugins/TreasurePlugin/index.js +0 -26
- package/plugins/TreasurePlugin/typings.d.ts +0 -2
- package/plugins/TreasurePlugin/typings.js +0 -7
- package/plugins/floorplan/Assets/floorplanExtraObject.d.ts +0 -1
- package/plugins/floorplan/Assets/floorplanExtraObject.js +0 -10
- package/plugins/floorplan/ModelFloorplanPlugin/Controller.js +0 -626
- package/plugins/floorplan/ModelFloorplanPlugin/components/Camera.d.ts +0 -13
- package/plugins/floorplan/ModelFloorplanPlugin/components/Camera.js +0 -78
- package/plugins/floorplan/ModelFloorplanPlugin/components/Compass.d.ts +0 -5
- package/plugins/floorplan/ModelFloorplanPlugin/components/Compass.js +0 -84
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomHighlight.d.ts +0 -10
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomHighlight.js +0 -129
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomLabels.d.ts +0 -13
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomLabels.js +0 -118
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/index.d.ts +0 -13
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/index.js +0 -62
- package/plugins/floorplan/ModelFloorplanPlugin/components/index.d.ts +0 -20
- package/plugins/floorplan/ModelFloorplanPlugin/components/index.js +0 -88
- package/plugins/floorplan/ModelFloorplanPlugin/controller.style.d.ts +0 -1
- package/plugins/floorplan/ModelFloorplanPlugin/controller.style.js +0 -16
- package/plugins/floorplan/ModelFloorplanPlugin/index.js +0 -20
- package/plugins/floorplan/ModelFloorplanPlugin/typings/events.type.js +0 -7
- package/plugins/floorplan/ModelFloorplanPlugin/utils/constant.js +0 -33
- package/plugins/floorplan/ModelFloorplanPlugin/utils/correctFiveState.js +0 -154
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.d.ts +0 -13
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.js +0 -113
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.style.d.ts +0 -3
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.style.js +0 -39
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/ExtraObjects.d.ts +0 -5
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/ExtraObjects.js +0 -66
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/RoomHighlight.d.ts +0 -9
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/RoomHighlight.js +0 -126
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/index.d.ts +0 -11
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/index.js +0 -58
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/index.d.ts +0 -17
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/index.js +0 -85
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/index.style.d.ts +0 -2
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/index.style.js +0 -15
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Controller.js +0 -211
- package/plugins/floorplan/PanoFloorplanRadarPlugin/index.js +0 -20
- package/plugins/floorplan/TopviewFloorplanPlugin/Controller.js +0 -262
- package/plugins/floorplan/TopviewFloorplanPlugin/index.js +0 -18
- package/plugins/floorplan/TopviewFloorplanPlugin/style.js +0 -16
- package/plugins/floorplan/components/FloorplanImage.d.ts +0 -7
- package/plugins/floorplan/components/FloorplanImage.js +0 -90
- package/plugins/floorplan/typings/floorplanData.js +0 -7
- package/plugins/floorplan/typings/floorplanServerData.js +0 -382
- package/plugins/floorplan/utils/formatData.js +0 -217
- package/plugins/floorplan/utils/formatPosition.js +0 -89
- package/shared-utils/Preloader.js +0 -57
- package/shared-utils/Subscribe.js +0 -230
- package/shared-utils/animationFrame/BetterTween.js +0 -103
- package/shared-utils/animationFrame/calculateProgress.js +0 -40
- package/shared-utils/animationFrame/formatRad.js +0 -36
- package/shared-utils/animationFrame/index.js +0 -81
- package/shared-utils/animationFrame/tween.js +0 -92
- package/shared-utils/changeModelCanvansOpacity.d.ts +0 -2
- package/shared-utils/changeModelCanvansOpacity.js +0 -38
- package/shared-utils/createCanvasTextTexture.js +0 -31
- package/shared-utils/createFiveContainer.d.ts +0 -10
- package/shared-utils/createFiveContainer.js +0 -171
- package/shared-utils/createLine/index.js +0 -43
- package/shared-utils/debounce.js +0 -30
- package/shared-utils/equal.js +0 -107
- package/shared-utils/filter.js +0 -127
- package/shared-utils/five/changeMode.js +0 -82
- package/shared-utils/five/useFivePlugin.js +0 -17
- package/shared-utils/formatRad.js +0 -18
- package/shared-utils/getPxmm.js +0 -51
- package/shared-utils/getRandomColor.js +0 -23
- package/shared-utils/isNil.js +0 -26
- package/shared-utils/isTruelyObject.js +0 -31
- package/shared-utils/math/evenNumber.d.ts +0 -1
- package/shared-utils/math/evenNumber.js +0 -13
- package/shared-utils/math/planimetry.js +0 -352
- package/shared-utils/math/rad2Deg.js +0 -12
- package/shared-utils/nearlyEqual.js +0 -19
- package/shared-utils/nextFrame.js +0 -15
- package/shared-utils/noop.js +0 -19
- package/shared-utils/object3d2LocalMatrix.js +0 -79
- package/shared-utils/px2rem.js +0 -22
- package/shared-utils/three/centerPoint.js +0 -14
- package/shared-utils/three/getExtraModelLoader.js +0 -45
- package/shared-utils/three/getNormal.js +0 -17
- package/shared-utils/three/getTextureLoader.js +0 -50
- package/shared-utils/three/loadFbxObj.js +0 -54
- package/shared-utils/three/loadTexture.d.ts +0 -2
- package/shared-utils/three/loadTexture.js +0 -46
- package/shared-utils/three/transformPositionToVector3.js +0 -20
- package/shared-utils/three/transfromToMeshBasicMaterial.js +0 -33
- package/shared-utils/throttle.js +0 -29
- package/shared-utils/to.js +0 -67
- package/shared-utils/useDebounce.js +0 -49
- package/shared-utils/useThrottle.js +0 -47
- package/shared-utils/uuid.d.ts +0 -4
- package/shared-utils/uuid.js +0 -28
- package/shared-utils/vectorTocoordinates.js +0 -18
- package/typedoc/components.d.ts +0 -6
- package/typedoc/components.js +0 -7
- package/typedoc/plugins.d.ts +0 -19
- package/typedoc/plugins.js +0 -165
- package/typedoc/shared-utils.d.ts +0 -3
- package/typedoc/shared-utils.js +0 -7
- package/typedoc/typings.d.ts +0 -3
- package/typedoc/typings.js +0 -7
- package/typings/math.type.js +0 -7
- package/typings/utils.type.js +0 -7
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import * as THREE from 'three';
|
|
2
|
-
import { FivePlugin, WorkImage } from '@realsee/five';
|
|
3
|
-
export interface PanoMaskObject {
|
|
4
|
-
color: {
|
|
5
|
-
r: number;
|
|
6
|
-
g: number;
|
|
7
|
-
b: number;
|
|
8
|
-
};
|
|
9
|
-
name?: string;
|
|
10
|
-
id: string;
|
|
11
|
-
}
|
|
12
|
-
export interface PanoMaskSelectorPluginData {
|
|
13
|
-
panoramaImgs: Omit<WorkImage, 'depth' | 'tiles'>[];
|
|
14
|
-
colorMaps: PanoMaskObject[];
|
|
15
|
-
config?: {
|
|
16
|
-
maskColor?: THREE.Color;
|
|
17
|
-
thickness?: number;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export interface PanoMaskSelectorPluginParameterType {
|
|
21
|
-
data?: PanoMaskSelectorPluginData;
|
|
22
|
-
}
|
|
23
|
-
export interface PanoMaskSelectorPluginReturnType {
|
|
24
|
-
/**
|
|
25
|
-
* 加载数据
|
|
26
|
-
*/
|
|
27
|
-
load: (data: PanoMaskSelectorPluginData) => Promise<boolean>;
|
|
28
|
-
/**
|
|
29
|
-
* @returns 返回值为 选中的 物体信息;如果选中失败 则 返回 false。
|
|
30
|
-
*/
|
|
31
|
-
select: (x: number, y: number) => Promise<false | PanoMaskObject>;
|
|
32
|
-
/**
|
|
33
|
-
* 擦除选中物体的 Mask(不可还原)。
|
|
34
|
-
*/
|
|
35
|
-
erase: () => void;
|
|
36
|
-
/**
|
|
37
|
-
* 隐藏 选中物体的 Mask。
|
|
38
|
-
*/
|
|
39
|
-
hide: () => void;
|
|
40
|
-
/**
|
|
41
|
-
* 展示 选中物体的 Mask。
|
|
42
|
-
*/
|
|
43
|
-
show: () => void;
|
|
44
|
-
/**
|
|
45
|
-
* 销毁函数。
|
|
46
|
-
*/
|
|
47
|
-
dispose: () => void;
|
|
48
|
-
}
|
|
49
|
-
export declare const PanoMaskSelectorPlugin: FivePlugin<PanoMaskSelectorPluginParameterType, PanoMaskSelectorPluginReturnType>;
|
|
@@ -1,348 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.string.iterator.js");
|
|
4
|
-
|
|
5
|
-
require("core-js/modules/es.weak-map.js");
|
|
6
|
-
|
|
7
|
-
require("core-js/modules/web.dom-collections.iterator.js");
|
|
8
|
-
|
|
9
|
-
require("core-js/modules/es.object.define-property.js");
|
|
10
|
-
|
|
11
|
-
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
12
|
-
|
|
13
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
14
|
-
|
|
15
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
16
|
-
|
|
17
|
-
Object.defineProperty(exports, "__esModule", {
|
|
18
|
-
value: true
|
|
19
|
-
});
|
|
20
|
-
exports.PanoMaskSelectorPlugin = void 0;
|
|
21
|
-
|
|
22
|
-
require("core-js/modules/es.array.iterator.js");
|
|
23
|
-
|
|
24
|
-
require("core-js/modules/es.array-buffer.slice.js");
|
|
25
|
-
|
|
26
|
-
require("core-js/modules/es.object.to-string.js");
|
|
27
|
-
|
|
28
|
-
require("core-js/modules/es.typed-array.uint8-array.js");
|
|
29
|
-
|
|
30
|
-
require("core-js/modules/es.typed-array.copy-within.js");
|
|
31
|
-
|
|
32
|
-
require("core-js/modules/es.typed-array.every.js");
|
|
33
|
-
|
|
34
|
-
require("core-js/modules/es.typed-array.fill.js");
|
|
35
|
-
|
|
36
|
-
require("core-js/modules/es.typed-array.filter.js");
|
|
37
|
-
|
|
38
|
-
require("core-js/modules/es.typed-array.find.js");
|
|
39
|
-
|
|
40
|
-
require("core-js/modules/es.typed-array.find-index.js");
|
|
41
|
-
|
|
42
|
-
require("core-js/modules/es.typed-array.for-each.js");
|
|
43
|
-
|
|
44
|
-
require("core-js/modules/es.typed-array.includes.js");
|
|
45
|
-
|
|
46
|
-
require("core-js/modules/es.typed-array.index-of.js");
|
|
47
|
-
|
|
48
|
-
require("core-js/modules/es.typed-array.iterator.js");
|
|
49
|
-
|
|
50
|
-
require("core-js/modules/es.typed-array.join.js");
|
|
51
|
-
|
|
52
|
-
require("core-js/modules/es.typed-array.last-index-of.js");
|
|
53
|
-
|
|
54
|
-
require("core-js/modules/es.typed-array.map.js");
|
|
55
|
-
|
|
56
|
-
require("core-js/modules/es.typed-array.reduce.js");
|
|
57
|
-
|
|
58
|
-
require("core-js/modules/es.typed-array.reduce-right.js");
|
|
59
|
-
|
|
60
|
-
require("core-js/modules/es.typed-array.reverse.js");
|
|
61
|
-
|
|
62
|
-
require("core-js/modules/es.typed-array.set.js");
|
|
63
|
-
|
|
64
|
-
require("core-js/modules/es.typed-array.slice.js");
|
|
65
|
-
|
|
66
|
-
require("core-js/modules/es.typed-array.some.js");
|
|
67
|
-
|
|
68
|
-
require("core-js/modules/es.typed-array.sort.js");
|
|
69
|
-
|
|
70
|
-
require("core-js/modules/es.typed-array.subarray.js");
|
|
71
|
-
|
|
72
|
-
require("core-js/modules/es.typed-array.to-locale-string.js");
|
|
73
|
-
|
|
74
|
-
require("core-js/modules/es.typed-array.to-string.js");
|
|
75
|
-
|
|
76
|
-
require("core-js/modules/es.array.fill.js");
|
|
77
|
-
|
|
78
|
-
require("core-js/modules/es.array.slice.js");
|
|
79
|
-
|
|
80
|
-
require("core-js/modules/es.array.find.js");
|
|
81
|
-
|
|
82
|
-
require("core-js/modules/es.array.for-each.js");
|
|
83
|
-
|
|
84
|
-
require("core-js/modules/web.dom-collections.for-each.js");
|
|
85
|
-
|
|
86
|
-
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
87
|
-
|
|
88
|
-
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
89
|
-
|
|
90
|
-
var THREE = _interopRequireWildcard(require("three"));
|
|
91
|
-
|
|
92
|
-
var _five = require("@realsee/five");
|
|
93
|
-
|
|
94
|
-
var _createBox = require("./createBox");
|
|
95
|
-
|
|
96
|
-
var _createTextures = require("./createTextures");
|
|
97
|
-
|
|
98
|
-
var _compare = require("./compare");
|
|
99
|
-
|
|
100
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
101
|
-
|
|
102
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
103
|
-
|
|
104
|
-
var PanoMaskSelectorPlugin = function PanoMaskSelectorPlugin(five) {
|
|
105
|
-
var parameters = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
106
|
-
var state = {
|
|
107
|
-
data: parameters.data
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
var dispose = function dispose() {
|
|
111
|
-
if (state.box) {
|
|
112
|
-
five.scene.remove(state.box);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
five.off('panoArrived', wrapper);
|
|
116
|
-
five.off('modeChange', modeChangeListener);
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
var wrapper = function wrapper() {
|
|
120
|
-
var _state$data$config, _state$data$config2;
|
|
121
|
-
|
|
122
|
-
if (five.panoIndex === undefined) {
|
|
123
|
-
return;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
if (five.panoIndex === state.currentLoadedIndex) {
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
if (!state.data) {
|
|
131
|
-
return;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
if (state.box) {
|
|
135
|
-
five.scene.remove(state.box);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
var panoramaImgs = state.data.panoramaImgs[five.panoIndex];
|
|
139
|
-
|
|
140
|
-
if (!panoramaImgs) {
|
|
141
|
-
state.textures = undefined;
|
|
142
|
-
return false;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
state.textures = (0, _createTextures.createTextures)(panoramaImgs);
|
|
146
|
-
state.box = (0, _createBox.createBox)(state.textures, five.work.observers[five.panoIndex], {
|
|
147
|
-
opacity: true,
|
|
148
|
-
maskColor: ((_state$data$config = state.data.config) === null || _state$data$config === void 0 ? void 0 : _state$data$config.maskColor) || new THREE.Color(1, 0, 0),
|
|
149
|
-
thickness: ((_state$data$config2 = state.data.config) === null || _state$data$config2 === void 0 ? void 0 : _state$data$config2.thickness) || 0.005
|
|
150
|
-
});
|
|
151
|
-
five.scene.add(state.box);
|
|
152
|
-
state.currentLoadedIndex = five.panoIndex;
|
|
153
|
-
return true;
|
|
154
|
-
};
|
|
155
|
-
|
|
156
|
-
var load = /*#__PURE__*/function () {
|
|
157
|
-
var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(data) {
|
|
158
|
-
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
159
|
-
while (1) {
|
|
160
|
-
switch (_context.prev = _context.next) {
|
|
161
|
-
case 0:
|
|
162
|
-
state.data = data;
|
|
163
|
-
wrapper();
|
|
164
|
-
return _context.abrupt("return", true);
|
|
165
|
-
|
|
166
|
-
case 3:
|
|
167
|
-
case "end":
|
|
168
|
-
return _context.stop();
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}, _callee);
|
|
172
|
-
}));
|
|
173
|
-
|
|
174
|
-
return function load(_x2) {
|
|
175
|
-
return _ref.apply(this, arguments);
|
|
176
|
-
};
|
|
177
|
-
}();
|
|
178
|
-
|
|
179
|
-
var select = /*#__PURE__*/function () {
|
|
180
|
-
var _ref2 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(_x, _y) {
|
|
181
|
-
var _state$data;
|
|
182
|
-
|
|
183
|
-
var element, pixel, x, y, renderTarget, pickingBuffer, camera, renderer, newScence, observer, newBox, unit8ArrayGroup, i, selectedColor, colorMaps, object;
|
|
184
|
-
return _regenerator["default"].wrap(function _callee2$(_context2) {
|
|
185
|
-
while (1) {
|
|
186
|
-
switch (_context2.prev = _context2.next) {
|
|
187
|
-
case 0:
|
|
188
|
-
if (state.textures) {
|
|
189
|
-
_context2.next = 2;
|
|
190
|
-
break;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
return _context2.abrupt("return", false);
|
|
194
|
-
|
|
195
|
-
case 2:
|
|
196
|
-
if (state.box) {
|
|
197
|
-
_context2.next = 4;
|
|
198
|
-
break;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
return _context2.abrupt("return", false);
|
|
202
|
-
|
|
203
|
-
case 4:
|
|
204
|
-
if (!(five.panoIndex === undefined)) {
|
|
205
|
-
_context2.next = 6;
|
|
206
|
-
break;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
return _context2.abrupt("return", false);
|
|
210
|
-
|
|
211
|
-
case 6:
|
|
212
|
-
if (!(five.currentMode !== _five.Five.Mode.Panorama)) {
|
|
213
|
-
_context2.next = 8;
|
|
214
|
-
break;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
return _context2.abrupt("return", false);
|
|
218
|
-
|
|
219
|
-
case 8:
|
|
220
|
-
if (five.renderer) {
|
|
221
|
-
_context2.next = 10;
|
|
222
|
-
break;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
return _context2.abrupt("return", false);
|
|
226
|
-
|
|
227
|
-
case 10:
|
|
228
|
-
element = five.getElement();
|
|
229
|
-
|
|
230
|
-
if (element) {
|
|
231
|
-
_context2.next = 13;
|
|
232
|
-
break;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
return _context2.abrupt("return", false);
|
|
236
|
-
|
|
237
|
-
case 13:
|
|
238
|
-
pixel = 1;
|
|
239
|
-
x = _x * five.renderer.getPixelRatio();
|
|
240
|
-
y = _y * five.renderer.getPixelRatio();
|
|
241
|
-
renderTarget = new THREE.WebGLRenderTarget(pixel, pixel);
|
|
242
|
-
pickingBuffer = new Uint8Array(4 * pixel * pixel);
|
|
243
|
-
camera = five.camera.clone();
|
|
244
|
-
renderer = five.renderer;
|
|
245
|
-
newScence = new THREE.Scene();
|
|
246
|
-
observer = five.work.observers[five.panoIndex];
|
|
247
|
-
newBox = (0, _createBox.createBox)(state.textures, observer, {
|
|
248
|
-
opacity: false
|
|
249
|
-
});
|
|
250
|
-
newScence.add(newBox);
|
|
251
|
-
camera.setViewOffset(element.width, element.height, x, y, pixel, pixel);
|
|
252
|
-
renderer.setRenderTarget(renderTarget);
|
|
253
|
-
renderer.render(newScence, camera);
|
|
254
|
-
pickingBuffer.fill(0);
|
|
255
|
-
renderer.readRenderTargetPixels(renderTarget, 0, 0, pixel, pixel, pickingBuffer);
|
|
256
|
-
camera.clearViewOffset();
|
|
257
|
-
renderer.setRenderTarget(null);
|
|
258
|
-
unit8ArrayGroup = [];
|
|
259
|
-
|
|
260
|
-
for (i = 0; i < pickingBuffer.length; i += 4 * pixel) {
|
|
261
|
-
unit8ArrayGroup.push(pickingBuffer.slice(i, i + 4 * pixel));
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
selectedColor = new THREE.Color(pickingBuffer[0] / 255, pickingBuffer[1] / 255, pickingBuffer[2] / 255);
|
|
265
|
-
colorMaps = ((_state$data = state.data) === null || _state$data === void 0 ? void 0 : _state$data.colorMaps) || [];
|
|
266
|
-
object = colorMaps.find(function (item) {
|
|
267
|
-
var objectColor = new THREE.Color(item.color.r, item.color.g, item.color.b);
|
|
268
|
-
return (0, _compare.compare)(objectColor, selectedColor);
|
|
269
|
-
});
|
|
270
|
-
|
|
271
|
-
if (object) {
|
|
272
|
-
_context2.next = 38;
|
|
273
|
-
break;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
return _context2.abrupt("return", false);
|
|
277
|
-
|
|
278
|
-
case 38:
|
|
279
|
-
state.box.material.forEach(function (m) {
|
|
280
|
-
return m.uniforms.selectedColor.value = selectedColor;
|
|
281
|
-
});
|
|
282
|
-
five.needsRender = true;
|
|
283
|
-
return _context2.abrupt("return", object);
|
|
284
|
-
|
|
285
|
-
case 41:
|
|
286
|
-
case "end":
|
|
287
|
-
return _context2.stop();
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
}, _callee2);
|
|
291
|
-
}));
|
|
292
|
-
|
|
293
|
-
return function select(_x3, _x4) {
|
|
294
|
-
return _ref2.apply(this, arguments);
|
|
295
|
-
};
|
|
296
|
-
}();
|
|
297
|
-
|
|
298
|
-
var erase = function erase() {
|
|
299
|
-
if (!state.box) return;
|
|
300
|
-
state.box.material.forEach(function (m) {
|
|
301
|
-
return m.uniforms.selectedColor.value = new THREE.Color(0.0, 0.0, 0.0);
|
|
302
|
-
});
|
|
303
|
-
five.needsRender = true;
|
|
304
|
-
};
|
|
305
|
-
|
|
306
|
-
var hide = function hide() {
|
|
307
|
-
var _state$box, _state$box$material;
|
|
308
|
-
|
|
309
|
-
(_state$box = state.box) === null || _state$box === void 0 ? void 0 : (_state$box$material = _state$box.material) === null || _state$box$material === void 0 ? void 0 : _state$box$material.forEach(function (material) {
|
|
310
|
-
material.visible = false;
|
|
311
|
-
});
|
|
312
|
-
five.needsRender = true;
|
|
313
|
-
};
|
|
314
|
-
|
|
315
|
-
var show = function show() {
|
|
316
|
-
var _state$box2, _state$box2$material;
|
|
317
|
-
|
|
318
|
-
if (five.currentMode !== _five.Five.Mode.Panorama) {
|
|
319
|
-
return;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
(_state$box2 = state.box) === null || _state$box2 === void 0 ? void 0 : (_state$box2$material = _state$box2.material) === null || _state$box2$material === void 0 ? void 0 : _state$box2$material.forEach(function (material) {
|
|
323
|
-
material.visible = true;
|
|
324
|
-
});
|
|
325
|
-
five.needsRender = true;
|
|
326
|
-
};
|
|
327
|
-
|
|
328
|
-
var modeChangeListener = function modeChangeListener(mode) {
|
|
329
|
-
if (mode !== _five.Five.Mode.Panorama) {
|
|
330
|
-
hide();
|
|
331
|
-
} else {
|
|
332
|
-
show();
|
|
333
|
-
}
|
|
334
|
-
};
|
|
335
|
-
|
|
336
|
-
five.on('panoArrived', wrapper);
|
|
337
|
-
five.on('modeChange', modeChangeListener);
|
|
338
|
-
return {
|
|
339
|
-
load: load,
|
|
340
|
-
select: select,
|
|
341
|
-
erase: erase,
|
|
342
|
-
dispose: dispose,
|
|
343
|
-
hide: hide,
|
|
344
|
-
show: show
|
|
345
|
-
};
|
|
346
|
-
};
|
|
347
|
-
|
|
348
|
-
exports.PanoMaskSelectorPlugin = PanoMaskSelectorPlugin;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const vertexShader = "\nvarying vec2 vUv;\n\nvoid main() {\n vUv = uv;\n\n vec4 mvPosition = modelViewMatrix * vec4(position, 1.0);\n gl_Position = projectionMatrix * mvPosition;\n}\n\n";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.vertexShader = void 0;
|
|
9
|
-
var vertexShader = "\nvarying vec2 vUv;\n\nvoid main() {\n vUv = uv;\n\n vec4 mvPosition = modelViewMatrix * vec4(position, 1.0);\n gl_Position = projectionMatrix * mvPosition;\n}\n\n";
|
|
10
|
-
exports.vertexShader = vertexShader;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
var roomInfo = {
|
|
10
|
-
rooms: {
|
|
11
|
-
'u-Zey6EVKjPlh8j0': {
|
|
12
|
-
id: 'u-Zey6EVKjPlh8j0',
|
|
13
|
-
name: '客厅',
|
|
14
|
-
localName: '客厅',
|
|
15
|
-
area: 21495693.83524382
|
|
16
|
-
},
|
|
17
|
-
'u-159aca88-2916-4d61-88c4-b1875fe9f29f': {
|
|
18
|
-
id: 'u-159aca88-2916-4d61-88c4-b1875fe9f29f',
|
|
19
|
-
name: '卧室A',
|
|
20
|
-
localName: '卧室A',
|
|
21
|
-
area: 13753544.72414422
|
|
22
|
-
},
|
|
23
|
-
'u-f733f1ae-f7bd-4d69-fd41-bf9d44e383d8': {
|
|
24
|
-
id: 'u-f733f1ae-f7bd-4d69-fd41-bf9d44e383d8',
|
|
25
|
-
name: '厨房',
|
|
26
|
-
localName: '厨房',
|
|
27
|
-
area: 5205689.576537967
|
|
28
|
-
},
|
|
29
|
-
'u-500a2014-cd1b-44c4-e31c-634597adc158': {
|
|
30
|
-
id: 'u-500a2014-cd1b-44c4-e31c-634597adc158',
|
|
31
|
-
name: '门厅',
|
|
32
|
-
localName: '门厅',
|
|
33
|
-
area: 5096864.253328443
|
|
34
|
-
},
|
|
35
|
-
'u-64593a70-cbef-4119-0616-402d2ce17374': {
|
|
36
|
-
id: 'u-64593a70-cbef-4119-0616-402d2ce17374',
|
|
37
|
-
name: '卧室B',
|
|
38
|
-
localName: '卧室B',
|
|
39
|
-
area: 12528071.985600233
|
|
40
|
-
},
|
|
41
|
-
'u-e1532c3c-5ed5-4ab2-42a8-9b5e08249988': {
|
|
42
|
-
id: 'u-e1532c3c-5ed5-4ab2-42a8-9b5e08249988',
|
|
43
|
-
name: '卫生间',
|
|
44
|
-
localName: '卫生间',
|
|
45
|
-
area: 4662225.953600168
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
observers: ['u-Zey6EVKjPlh8j0', 'u-Zey6EVKjPlh8j0', 'u-159aca88-2916-4d61-88c4-b1875fe9f29f', 'u-159aca88-2916-4d61-88c4-b1875fe9f29f', 'u-Zey6EVKjPlh8j0', 'u-f733f1ae-f7bd-4d69-fd41-bf9d44e383d8', 'u-f733f1ae-f7bd-4d69-fd41-bf9d44e383d8', 'u-500a2014-cd1b-44c4-e31c-634597adc158', 'u-500a2014-cd1b-44c4-e31c-634597adc158', 'u-500a2014-cd1b-44c4-e31c-634597adc158', 'u-64593a70-cbef-4119-0616-402d2ce17374', 'u-64593a70-cbef-4119-0616-402d2ce17374', 'u-64593a70-cbef-4119-0616-402d2ce17374', 'u-e1532c3c-5ed5-4ab2-42a8-9b5e08249988', 'u-e1532c3c-5ed5-4ab2-42a8-9b5e08249988']
|
|
49
|
-
};
|
|
50
|
-
var _default = roomInfo;
|
|
51
|
-
exports["default"] = _default;
|
|
@@ -1,235 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
var roomRules = {
|
|
10
|
-
'5,6': [{
|
|
11
|
-
x: 4.2707244999999965,
|
|
12
|
-
z: -1.2772244999999967,
|
|
13
|
-
observers: [5, 6]
|
|
14
|
-
}, {
|
|
15
|
-
x: 1.058390041303952,
|
|
16
|
-
z: -1.2772244999999967,
|
|
17
|
-
observers: [5, 6]
|
|
18
|
-
}, {
|
|
19
|
-
x: 1.0760564029572706,
|
|
20
|
-
z: -2.9022245000000404,
|
|
21
|
-
observers: [5, 6]
|
|
22
|
-
}, {
|
|
23
|
-
x: 4.2707244999999965,
|
|
24
|
-
z: -2.9022244999999964,
|
|
25
|
-
observers: [5, 6]
|
|
26
|
-
}, {
|
|
27
|
-
x: 4.2707244999999965,
|
|
28
|
-
z: -1.2772244999999967,
|
|
29
|
-
observers: [5, 6]
|
|
30
|
-
}],
|
|
31
|
-
'10,11,12': [{
|
|
32
|
-
x: 4.2707244999999965,
|
|
33
|
-
z: -3.1022244999999966,
|
|
34
|
-
observers: [10, 11, 12]
|
|
35
|
-
}, {
|
|
36
|
-
x: 1.2577244999999966,
|
|
37
|
-
z: -3.1022244999999966,
|
|
38
|
-
observers: [10, 11, 12]
|
|
39
|
-
}, {
|
|
40
|
-
x: 1.2577244999999966,
|
|
41
|
-
z: -4.162224499999996,
|
|
42
|
-
observers: [10, 11, 12]
|
|
43
|
-
}, {
|
|
44
|
-
x: 1.9039349,
|
|
45
|
-
z: -4.162224499999996,
|
|
46
|
-
observers: [10, 11, 12]
|
|
47
|
-
}, {
|
|
48
|
-
x: 1.9039349,
|
|
49
|
-
z: -5.999224499999997,
|
|
50
|
-
observers: [11, 12]
|
|
51
|
-
}, {
|
|
52
|
-
x: 5.9919876999999975,
|
|
53
|
-
z: -5.999224499999997,
|
|
54
|
-
observers: [10, 11, 12]
|
|
55
|
-
}, {
|
|
56
|
-
x: 5.9919876999999975,
|
|
57
|
-
z: -3.1022244999999966,
|
|
58
|
-
observers: [10, 11, 12]
|
|
59
|
-
}, {
|
|
60
|
-
x: 4.2707244999999965,
|
|
61
|
-
z: -3.1022244999999966,
|
|
62
|
-
observers: [10, 11, 12]
|
|
63
|
-
}],
|
|
64
|
-
'13,14': [{
|
|
65
|
-
x: -0.23127550000000338,
|
|
66
|
-
z: -4.819224499999996,
|
|
67
|
-
observers: [13, 14]
|
|
68
|
-
}, {
|
|
69
|
-
x: -0.23127550000000338,
|
|
70
|
-
z: -2.7582244999999967,
|
|
71
|
-
observers: [13, 14]
|
|
72
|
-
}, {
|
|
73
|
-
x: -1.0809070999999968,
|
|
74
|
-
z: -2.7582244999999967,
|
|
75
|
-
observers: [13]
|
|
76
|
-
}, {
|
|
77
|
-
x: -1.0809070999999968,
|
|
78
|
-
z: -3.0542244999999966,
|
|
79
|
-
observers: [13, 14]
|
|
80
|
-
}, {
|
|
81
|
-
x: -2.7302755000000034,
|
|
82
|
-
z: -3.0542244999999966,
|
|
83
|
-
observers: [13, 14]
|
|
84
|
-
}, {
|
|
85
|
-
x: -2.7302755000000034,
|
|
86
|
-
z: -4.819224499999996,
|
|
87
|
-
observers: [13, 14]
|
|
88
|
-
}, {
|
|
89
|
-
x: -0.23127550000000338,
|
|
90
|
-
z: -4.819224499999996,
|
|
91
|
-
observers: [13, 14]
|
|
92
|
-
}],
|
|
93
|
-
'7,8,9': [{
|
|
94
|
-
x: 0.8780917970427253,
|
|
95
|
-
z: -3.1022244999997928,
|
|
96
|
-
observers: [7, 8, 9]
|
|
97
|
-
}, {
|
|
98
|
-
x: 0.8743781265877042,
|
|
99
|
-
z: -2.7391816007851304,
|
|
100
|
-
observers: [7, 8, 9]
|
|
101
|
-
}, {
|
|
102
|
-
x: -0.11127550000000337,
|
|
103
|
-
z: -2.7571459004034113,
|
|
104
|
-
observers: [7, 8, 9]
|
|
105
|
-
}, {
|
|
106
|
-
x: -0.11127550000000337,
|
|
107
|
-
z: -6.0592244999999965,
|
|
108
|
-
observers: [7, 8, 9]
|
|
109
|
-
}, {
|
|
110
|
-
x: 1.7839349000000002,
|
|
111
|
-
z: -6.0592244999999965,
|
|
112
|
-
observers: [7, 8, 9]
|
|
113
|
-
}, {
|
|
114
|
-
x: 1.7839349000000002,
|
|
115
|
-
z: -4.282224499999996,
|
|
116
|
-
observers: [9]
|
|
117
|
-
}, {
|
|
118
|
-
x: 1.0577244999999966,
|
|
119
|
-
z: -4.282224499999996,
|
|
120
|
-
observers: [7, 8, 9]
|
|
121
|
-
}, {
|
|
122
|
-
x: 1.0577244999999966,
|
|
123
|
-
z: -3.1022244999999966,
|
|
124
|
-
observers: [8, 9]
|
|
125
|
-
}, {
|
|
126
|
-
x: 0.8780917970427253,
|
|
127
|
-
z: -3.1022244999999966,
|
|
128
|
-
observers: [7, 8, 9]
|
|
129
|
-
}],
|
|
130
|
-
'2,3': [{
|
|
131
|
-
x: 4.2707244999999965,
|
|
132
|
-
z: -1.1572244999999965,
|
|
133
|
-
observers: [2, 3]
|
|
134
|
-
}, {
|
|
135
|
-
x: 4.2707244999999965,
|
|
136
|
-
z: 2.414492100000003,
|
|
137
|
-
observers: [2, 3]
|
|
138
|
-
}, {
|
|
139
|
-
x: 3.5221456000000035,
|
|
140
|
-
z: 2.414492100000003,
|
|
141
|
-
observers: [2, 3]
|
|
142
|
-
}, {
|
|
143
|
-
x: 3.5221456000000035,
|
|
144
|
-
z: 3.353828099999999,
|
|
145
|
-
observers: [2, 3]
|
|
146
|
-
}, {
|
|
147
|
-
x: 1.0377244999999966,
|
|
148
|
-
z: 3.353828099999999,
|
|
149
|
-
observers: []
|
|
150
|
-
}, {
|
|
151
|
-
x: 1.0377244999999966,
|
|
152
|
-
z: 2.5693174999999973,
|
|
153
|
-
observers: []
|
|
154
|
-
}, {
|
|
155
|
-
x: 1.7998128999999972,
|
|
156
|
-
z: 2.5693174999999973,
|
|
157
|
-
observers: []
|
|
158
|
-
}, {
|
|
159
|
-
x: 1.7998128999999972,
|
|
160
|
-
z: 2.4493174999999976,
|
|
161
|
-
observers: [2, 3]
|
|
162
|
-
}, {
|
|
163
|
-
x: 1.0380479545235721,
|
|
164
|
-
z: 2.4493174999999976,
|
|
165
|
-
observers: [2, 3]
|
|
166
|
-
}, {
|
|
167
|
-
x: 1.0574039258235062,
|
|
168
|
-
z: -1.1572245000005497,
|
|
169
|
-
observers: [2, 3]
|
|
170
|
-
}, {
|
|
171
|
-
x: 4.2707244999999965,
|
|
172
|
-
z: -1.1572244999999965,
|
|
173
|
-
observers: [2, 3]
|
|
174
|
-
}],
|
|
175
|
-
'': [{
|
|
176
|
-
x: -1.2009070999999967,
|
|
177
|
-
z: -2.9342244999999965,
|
|
178
|
-
observers: []
|
|
179
|
-
}, {
|
|
180
|
-
x: -1.2009070999999967,
|
|
181
|
-
z: -2.7582244999999967,
|
|
182
|
-
observers: []
|
|
183
|
-
}, {
|
|
184
|
-
x: -2.7302755000000034,
|
|
185
|
-
z: -2.7582244999999967,
|
|
186
|
-
observers: []
|
|
187
|
-
}, {
|
|
188
|
-
x: -2.7302755000000034,
|
|
189
|
-
z: -2.9342244999999965,
|
|
190
|
-
observers: []
|
|
191
|
-
}, {
|
|
192
|
-
x: -1.2009070999999967,
|
|
193
|
-
z: -2.9342244999999965,
|
|
194
|
-
observers: []
|
|
195
|
-
}],
|
|
196
|
-
'0,1,4': [{
|
|
197
|
-
x: -1.1409070999999966,
|
|
198
|
-
z: -2.5782244999999966,
|
|
199
|
-
observers: [0, 1, 4]
|
|
200
|
-
}, {
|
|
201
|
-
x: -0.17127550000000338,
|
|
202
|
-
z: -2.5782244999999966,
|
|
203
|
-
observers: [0, 1, 4]
|
|
204
|
-
}, {
|
|
205
|
-
x: 0.8724688726376335,
|
|
206
|
-
z: -2.559186504804209,
|
|
207
|
-
observers: [0, 1, 4]
|
|
208
|
-
}, {
|
|
209
|
-
x: 0.8377244999999967,
|
|
210
|
-
z: 3.353828099999999,
|
|
211
|
-
observers: [0, 1, 4]
|
|
212
|
-
}, {
|
|
213
|
-
x: -2.7702755000000034,
|
|
214
|
-
z: 3.353828099999999,
|
|
215
|
-
observers: [0, 1]
|
|
216
|
-
}, {
|
|
217
|
-
x: -2.7702755000000034,
|
|
218
|
-
z: -2.608224499999997,
|
|
219
|
-
observers: []
|
|
220
|
-
}, {
|
|
221
|
-
x: -2.7902755000000035,
|
|
222
|
-
z: -2.608224499999997,
|
|
223
|
-
observers: []
|
|
224
|
-
}, {
|
|
225
|
-
x: -2.7902755000000035,
|
|
226
|
-
z: -2.5782244999999966,
|
|
227
|
-
observers: []
|
|
228
|
-
}, {
|
|
229
|
-
x: -1.1409070999999966,
|
|
230
|
-
z: -2.5782244999999966,
|
|
231
|
-
observers: [0, 1, 4]
|
|
232
|
-
}]
|
|
233
|
-
};
|
|
234
|
-
var _default = roomRules;
|
|
235
|
-
exports["default"] = _default;
|