@realsee/five 6.0.0-alpha.63 → 6.0.0-alpha.65
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/docs/assets/highlight.css +20 -20
- package/docs/assets/main.js +59 -52
- package/docs/assets/navigation.js +1 -0
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +805 -825
- package/docs/classes/five.AnimationFrameLoop.html +16 -15
- package/docs/classes/five.BoxBoundingVolume.html +18 -1
- package/docs/classes/five.Camera.html +37 -11
- package/docs/classes/five.CullingVolume.html +10 -1
- package/docs/classes/five.Fetcher.html +5 -1
- package/docs/classes/five.Five.html +237 -288
- package/docs/classes/five.InternalWebGLRenderer.html +2 -1
- package/docs/classes/five.IntersectMesh.html +4 -1
- package/docs/classes/five.Model.html +62 -65
- package/docs/classes/five.NetworkAbortError.html +2 -1
- package/docs/classes/five.NetworkFirbiddenError.html +2 -1
- package/docs/classes/five.NetworkResponseError.html +3 -1
- package/docs/classes/five.NetworkSubscribe.html +42 -56
- package/docs/classes/five.NetworkTimeoutError.html +2 -1
- package/docs/classes/five.PBMContainer.html +12 -11
- package/docs/classes/five.PBMGroup.html +3 -3
- package/docs/classes/five.PBMMesh.html +4 -3
- package/docs/classes/five.PBMMeshMaterial.html +50 -47
- package/docs/classes/five.PanoCircleMesh.html +30 -7
- package/docs/classes/five.PanoCircleMeshCustom.html +30 -7
- package/docs/classes/five.PanoCircleMeshSolid.html +30 -7
- package/docs/classes/five.RegionBoundingVolume.html +21 -1
- package/docs/classes/five.RequestScheduler.html +13 -12
- package/docs/classes/five.Scene.html +5 -3
- package/docs/classes/five.SphereBoundingVolume.html +17 -1
- package/docs/classes/five.Subscribe.html +43 -62
- package/docs/classes/five.TextureLoader.html +5 -1
- package/docs/classes/five.Tile.html +30 -1
- package/docs/classes/five.Tile3DModel.html +28 -1
- package/docs/classes/five.TileCubeTextureTarget.html +9 -1
- package/docs/classes/five.TileNode.html +4 -1
- package/docs/classes/five.Tileset.html +31 -5
- package/docs/classes/five.TilesetCache.html +8 -1
- package/docs/classes/five.TilesetTraverser.html +19 -1
- package/docs/classes/five.Work.html +28 -28
- package/docs/classes/five.XRButton.html +3 -1
- package/docs/classes/gltf_loader.DDSLoader.html +3 -1
- package/docs/classes/gltf_loader.DRACOLoader.html +8 -1
- package/docs/classes/gltf_loader.GLTFLoader.html +18 -17
- package/docs/classes/gltf_loader.GLTFObject.html +8 -6
- package/docs/classes/gltf_loader.GLTFParser.html +6 -1
- package/docs/classes/gltf_loader.THREEGLTFLoader.html +8 -1
- package/docs/classes/line.Line.html +10 -1
- package/docs/classes/line.LineGeometry.html +14 -1
- package/docs/classes/line.LineMaterial.html +8 -1
- package/docs/classes/line.LineSegmentsGeometry.html +12 -1
- package/docs/classes/line.THREE_Line2.html +4 -1
- package/docs/classes/line.THREE_LineSegments2.html +4 -1
- package/docs/classes/react.Store.html +23 -29
- package/docs/classes/sticker.Sticker.html +25 -32
- package/docs/classes/vfx.Airflow.html +8 -1
- package/docs/classes/vfx.Flame.html +10 -1
- package/docs/classes/vfx.Particle.html +79 -82
- package/docs/classes/vfx.SpotLight.html +7 -1
- package/docs/enums/five.VolumePlaneIntersect.html +4 -1
- package/docs/functions/five.defaultImageURLTransform.html +5 -0
- package/docs/functions/five.getViewportScale.html +1 -0
- package/docs/functions/five.imageSupport.html +1 -0
- package/docs/functions/five.isPanoId.html +1 -0
- package/docs/functions/five.loadAt3d.html +1 -0
- package/docs/functions/five.loadB3dm.html +1 -0
- package/docs/functions/five.loadDome.html +1 -0
- package/docs/functions/five.loadDomez.html +1 -0
- package/docs/functions/five.loadPbm.html +1 -0
- package/docs/functions/five.loadPnts.html +1 -0
- package/docs/functions/five.panoEqual.html +1 -0
- package/docs/functions/five.panoParse.html +1 -0
- package/docs/functions/five.panoStringify.html +1 -0
- package/docs/functions/five.parseWork.html +7 -0
- package/docs/functions/react.FiveCanvas-1.html +6 -0
- package/docs/functions/react.createFiveFeature.html +1 -0
- package/docs/functions/react.createFiveProvider.html +9 -0
- package/docs/functions/react.createStore.html +15 -0
- package/docs/functions/react.unsafe__useFiveInstance.html +5 -0
- package/docs/functions/react.useFiveAction.html +19 -0
- package/docs/functions/react.useFiveCameraDirection.html +3 -0
- package/docs/functions/react.useFiveCameraRaycaster.html +3 -0
- package/docs/functions/react.useFiveCurrentObserver.html +5 -0
- package/docs/functions/react.useFiveCurrentState.html +5 -0
- package/docs/functions/react.useFiveEventCallback.html +5 -0
- package/docs/functions/react.useFiveFloor.html +5 -0
- package/docs/functions/react.useFiveHelper.html +5 -0
- package/docs/functions/react.useFiveModelIntersectRaycaster.html +7 -0
- package/docs/functions/react.useFiveModelReadyState.html +4 -0
- package/docs/functions/react.useFiveProject2d.html +7 -0
- package/docs/functions/react.useFiveScene.html +2 -0
- package/docs/functions/react.useFiveSceneEffect.html +5 -0
- package/docs/functions/react.useFiveState.html +1 -0
- package/docs/functions/react.useFiveWork.html +8 -0
- package/docs/functions/react.withFive.html +1 -0
- package/docs/functions/vue.unsafe__useFiveInject.html +5 -0
- package/docs/functions/vue.useFiveAction.html +25 -0
- package/docs/functions/vue.useFiveCameraDirection.html +3 -0
- package/docs/functions/vue.useFiveCameraRaycaster.html +3 -0
- package/docs/functions/vue.useFiveCurrentObserver.html +5 -0
- package/docs/functions/vue.useFiveCurrentState.html +5 -0
- package/docs/functions/vue.useFiveEventCallback.html +5 -0
- package/docs/functions/vue.useFiveFloor.html +5 -0
- package/docs/functions/vue.useFiveHelper.html +5 -0
- package/docs/functions/vue.useFiveModel.html +2 -0
- package/docs/functions/vue.useFiveModelBounding.html +2 -0
- package/docs/functions/vue.useFiveModelIntersectRaycaster.html +7 -0
- package/docs/functions/vue.useFiveModelReadyState.html +4 -0
- package/docs/functions/vue.useFiveProject2d.html +7 -0
- package/docs/functions/vue.useFiveScene.html +2 -0
- package/docs/functions/vue.useFiveState.html +5 -0
- package/docs/functions/vue.useFiveWorks.html +8 -0
- package/docs/index.html +35 -79
- package/docs/interfaces/five.AddableObject.html +9 -9
- package/docs/interfaces/five.AjaxOptions.html +11 -11
- package/docs/interfaces/five.AnimationFrame.html +5 -1
- package/docs/interfaces/five.BaseEvent.html +5 -1
- package/docs/interfaces/five.BoundingVolume.html +14 -1
- package/docs/interfaces/five.CameraPose.html +6 -1
- package/docs/interfaces/five.ClipperParameter.html +3 -1
- package/docs/interfaces/five.DepthPanoramaControllerCustomInitArgs.html +25 -25
- package/docs/interfaces/five.EventCallback.html +355 -466
- package/docs/interfaces/five.FiveInitArgs.html +84 -86
- package/docs/interfaces/five.FloorplanControllerCustomInitArgs.html +17 -17
- package/docs/interfaces/five.GestureEvent.html +19 -1
- package/docs/interfaces/five.ImageOptions.html +16 -18
- package/docs/interfaces/five.ImageURLMappings.html +1 -1
- package/docs/interfaces/five.ImageURLOptions.html +15 -15
- package/docs/interfaces/five.IntersectEvent.html +8 -1
- package/docs/interfaces/five.IntersectMeshInterface.html +3 -3
- package/docs/interfaces/five.Intersection.html +3 -3
- package/docs/interfaces/five.MapviewControllerCustomInitArgs.html +13 -13
- package/docs/interfaces/five.ModeChangeEvent.html +9 -1
- package/docs/interfaces/five.ModelControllerCustomInitArgs.html +18 -18
- package/docs/interfaces/five.ModelEvent.html +8 -1
- package/docs/interfaces/five.ModelLodOptions.html +2 -1
- package/docs/interfaces/five.ModelsEvent.html +6 -1
- package/docs/interfaces/five.MotionKeyframe.html +4 -1
- package/docs/interfaces/five.MovePanoOptions.html +29 -30
- package/docs/interfaces/five.NetworkOptions.html +9 -9
- package/docs/interfaces/five.NetworkResourceEvent.html +9 -1
- package/docs/interfaces/five.ObjectEvent.html +6 -1
- package/docs/interfaces/five.PBMPanoPicture.html +7 -7
- package/docs/interfaces/five.PBMParameters.html +42 -43
- package/docs/interfaces/five.PanoCircleMeshCustomOptions.html +9 -1
- package/docs/interfaces/five.PanoCircleMeshInterface.html +21 -10
- package/docs/interfaces/five.PanoCircleMeshOptions.html +3 -1
- package/docs/interfaces/five.PanoCircleMeshSolidOptions.html +3 -1
- package/docs/interfaces/five.PanoEvent.html +11 -1
- package/docs/interfaces/five.PanoTextureEvent.html +9 -1
- package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +32 -32
- package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +18 -18
- package/docs/interfaces/five.Pose.html +15 -32
- package/docs/interfaces/five.RenderEvent.html +7 -1
- package/docs/interfaces/five.Scissor.html +11 -12
- package/docs/interfaces/five.State.html +20 -21
- package/docs/interfaces/five.StateEvent.html +7 -1
- package/docs/interfaces/five.SubscribeMixinType.emit.html +1 -1
- package/docs/interfaces/five.SubscribeMixinType.hasListener.html +1 -1
- package/docs/interfaces/five.SubscribeMixinType.off.html +1 -1
- package/docs/interfaces/five.SubscribeMixinType.on.html +1 -1
- package/docs/interfaces/five.SubscribeMixinType.once.html +1 -1
- package/docs/interfaces/five.SubscribeMixinType.waitUnitl.html +1 -1
- package/docs/interfaces/five.TextureOptions.html +18 -20
- package/docs/interfaces/five.Tile3DModelLoaderOptions.html +6 -3
- package/docs/interfaces/five.TileCubeNode.html +7 -1
- package/docs/interfaces/five.TileCubeTree.html +2 -1
- package/docs/interfaces/five.TileHeader.html +9 -1
- package/docs/interfaces/five.TilesetHeader.html +5 -1
- package/docs/interfaces/five.TilesetOptions.html +5 -1
- package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +9 -9
- package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +28 -28
- package/docs/interfaces/five.WebXRAxesParams.html +4 -1
- package/docs/interfaces/five.WebXRControllerParams.html +2 -1
- package/docs/interfaces/five.WorkCubeImage.html +13 -13
- package/docs/interfaces/five.WorkImage.html +20 -21
- package/docs/interfaces/five.WorkInitial.html +17 -17
- package/docs/interfaces/five.WorkModel.html +12 -13
- package/docs/interfaces/five.WorkObserver.html +40 -41
- package/docs/interfaces/five.WorkOptions.html +17 -17
- package/docs/interfaces/five.WorkResolvedObserver.html +41 -39
- package/docs/interfaces/five.WorkTile.html +9 -1
- package/docs/interfaces/five.WorkVideo.html +8 -9
- package/docs/interfaces/five.WorksEvent.html +9 -1
- package/docs/interfaces/five.XRControllerEvent.html +8 -1
- package/docs/interfaces/five.XRGestureEvent.html +11 -1
- package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +29 -28
- package/docs/interfaces/five.XRSessionEvent.html +7 -1
- package/docs/interfaces/gltf_loader.DDS.html +7 -1
- package/docs/interfaces/gltf_loader.GLTF.html +10 -4
- package/docs/interfaces/gltf_loader.GLTFReference.html +3 -1
- package/docs/interfaces/gltf_loader.THREEGLTF.html +8 -1
- package/docs/interfaces/react.FiveActionReactCallbacks.html +27 -37
- package/docs/interfaces/react.FiveInjectionTypes.html +113 -138
- package/docs/interfaces/react.PropTypeOfFiveFeatures.html +2 -1
- package/docs/interfaces/sticker.IntersectionLike.html +7 -8
- package/docs/interfaces/vfx.ParticleArgs.html +67 -68
- package/docs/interfaces/vfx.ParticleTweenKeyframe.html +3 -1
- package/docs/interfaces/vue.FiveActionVueCallbacks.html +31 -42
- package/docs/modules/five.SubscribeMixinType.html +7 -1
- package/docs/modules/five.html +171 -647
- package/docs/modules/gltf_loader.html +11 -1
- package/docs/modules/line.html +8 -1
- package/docs/modules/react.FiveCanvas.html +8 -0
- package/docs/modules/react.html +37 -130
- package/docs/modules/sticker.html +3 -1
- package/docs/modules/vfx.html +8 -1
- package/docs/modules/vue.html +24 -115
- package/docs/types/five.AjaxResponseType.html +1 -0
- package/docs/types/five.AjaxResponseTypeMapping.html +1 -0
- package/docs/types/five.BoundingVolumeJson.html +1 -0
- package/docs/types/five.BoxBoundingVolumeJson.html +1 -0
- package/docs/types/five.ControllerCustomInitTypes.html +1 -0
- package/docs/types/five.ControllerEventTypes.html +32 -0
- package/docs/types/five.CoordinatesSystemTransformer.html +1 -0
- package/docs/types/five.EventTypes.html +26 -0
- package/docs/types/five.FivePlugin.html +71 -0
- package/docs/types/five.FivePluginInit.html +3 -0
- package/docs/types/five.FivePluginInstance.html +3 -0
- package/docs/types/five.GestureTypes.html +1 -0
- package/docs/types/five.LegacyEventType.html +203 -0
- package/docs/types/five.LooseWork.html +1 -0
- package/docs/types/five.LooseWorkInitial.html +1 -0
- package/docs/types/five.LooseWorkModel.html +1 -0
- package/docs/types/five.LooseWorkObserver.html +1 -0
- package/docs/types/five.LooseWorkPanorama.html +1 -0
- package/docs/types/five.LooseWorkVideo.html +1 -0
- package/docs/types/five.LooseWorkWithExtrinsics.html +8 -0
- package/docs/types/five.Mirror.html +1 -0
- package/docs/types/five.Mode.html +11 -0
- package/docs/types/five.ModelMaterialValues.html +1 -0
- package/docs/types/five.Models.html +12 -0
- package/docs/types/five.MotionValue.html +1 -0
- package/docs/types/five.NetWorkMeta.html +1 -0
- package/docs/types/five.NetworkError.html +1 -0
- package/docs/types/five.NetworkErrorCallback.html +1 -0
- package/docs/types/five.NetworkProgressCallback.html +1 -0
- package/docs/types/five.NetworkResponse.html +1 -0
- package/docs/types/five.NetworkState.html +1 -0
- package/docs/types/five.NetworkSuccessCallback.html +1 -0
- package/docs/types/five.NetworkType.html +1 -0
- package/docs/types/five.Pano.html +1 -0
- package/docs/types/five.PanoId.html +1 -0
- package/docs/types/five.ParseWorkOptions.html +13 -0
- package/docs/types/five.ParsedResultType.html +1 -0
- package/docs/types/five.PostProcessingType.html +1 -0
- package/docs/types/five.RegionBoundingVolumeJson.html +1 -0
- package/docs/types/five.RequestResult.html +1 -0
- package/docs/types/five.SphereBoundingVolumeJson.html +1 -0
- package/docs/types/five.SubscribeEventMap.html +1 -0
- package/docs/types/five.TileContentData.html +1 -0
- package/docs/types/five.TilesetFrameState.html +1 -0
- package/docs/types/five.WebXRControllerKey.html +1 -0
- package/docs/types/five.WebXRControllerType.html +1 -0
- package/docs/types/five.Works.html +1 -0
- package/docs/types/line.LineMaterialParameters.html +1 -0
- package/docs/types/react.FiveInjectionActionFeature.html +1 -0
- package/docs/types/react.FiveInjectionDataFeature.html +1 -0
- package/docs/types/react.FiveInjectionFeature.html +1 -0
- package/docs/types/react.FiveProviderPropTypes.html +1 -0
- package/docs/types/react.FiveProviderType.html +1 -0
- package/docs/types/react.StoreActionMapHanlder.html +1 -0
- package/docs/types/react.StoreActionMapType.html +1 -0
- package/docs/types/react.StoreProviderType.html +1 -0
- package/docs/types/react.StoreValueMapType.html +1 -0
- package/docs/types/vfx.ParticleType.html +1 -0
- package/docs/types/vue.FiveModelIntersectRaycaster.html +1 -0
- package/docs/types/vue.FiveProviderComponent.html +1 -0
- package/docs/types/vue.Project2d.html +1 -0
- package/docs/variables/five.PROXY_CONTROLLER_EVENT_NAMES.html +1 -0
- package/docs/variables/five.defaultPbmParameters.html +1 -0
- package/docs/variables/react.INJECTION_PROPNAME.html +1 -0
- package/docs/variables/vue.FiveCanvas.html +8 -0
- package/docs/variables/vue.FiveProvider.html +8 -0
- package/five/index.d.ts +15 -1
- package/five/index.js +85 -85
- package/five/index.mjs +3515 -3525
- package/gltf-loader/index.js +5 -5
- package/gltf-loader/index.mjs +70 -70
- package/line/index.js +3 -3
- package/line/index.mjs +66 -65
- package/package.json +3 -3
- package/react/index.js +3 -3
- package/react/index.mjs +2 -2
- package/sticker/index.js +3 -3
- package/sticker/index.mjs +49 -49
- package/umd/five-gltf-loader.js +4 -4
- package/umd/five-line.js +4 -4
- package/umd/five-react.js +3 -3
- package/umd/five-sticker.js +3 -3
- package/umd/five-vfx.js +8 -8
- package/umd/five-vue.js +3 -3
- package/umd/five.js +40 -40
- package/vfx/index.js +2 -2
- package/vfx/index.mjs +2 -2
- package/vue/index.d.ts +1 -1
- package/vue/index.js +3 -3
- package/vue/index.mjs +93 -92
- package/docs/assets/icons.css +0 -1043
- package/docs/assets/icons.png +0 -0
- package/docs/assets/icons@2x.png +0 -0
- package/docs/assets/widgets.png +0 -0
- package/docs/assets/widgets@2x.png +0 -0
- package/docs/modules.html +0 -1
- package/umd/five.js.LICENSE.txt +0 -100
package/vfx/index.js
CHANGED
package/vfx/index.mjs
CHANGED
package/vue/index.d.ts
CHANGED
package/vue/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* @realsee/five
|
|
4
|
-
* Generated: 12/
|
|
5
|
-
* Version: 6.0.0-alpha.
|
|
4
|
+
* Generated: 12/14/2023
|
|
5
|
+
* Version: 6.0.0-alpha.65
|
|
6
6
|
* Terms:
|
|
7
7
|
* Realsee SDK License Agreement
|
|
8
8
|
* Update: July 28, 2021
|
|
@@ -252,4 +252,4 @@
|
|
|
252
252
|
* No amendment to or modification of this Agreement will be binding unless in
|
|
253
253
|
* writing and signed by Realsee. You and Realsee hereto confirm that this
|
|
254
254
|
* Agreement and all related documents shall be drafted in English.
|
|
255
|
-
*/"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),g=require("@realsee/five"),R=require("three");function k(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const d=k(R);var s=function(){return s=Object.assign||function(n){for(var r,a=1,o=arguments.length;a<o;a++){r=arguments[a];for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(n[f]=r[f])}return n},s.apply(this,arguments)}
|
|
255
|
+
*/"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),g=require("@realsee/five"),R=require("three");function k(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const d=k(R);var s=function(){return s=Object.assign||function(n){for(var r,a=1,o=arguments.length;a<o;a++){r=arguments[a];for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(n[f]=r[f])}return n},s.apply(this,arguments)};var C=!1;function j(e){C=e}var y=Symbol();function l(){var e=t.inject(y);if(!e)throw new Error("Inject five error!");return e}var E={display:"inline-block",overflow:"hidden"},O=t.defineComponent({props:{width:{type:Number,required:!0},height:{type:Number,required:!0}},setup:function(e){var n=t.toRef(e,"width"),r=t.toRef(e,"height"),a=l(),o=t.ref(null);return t.watch([n,r,o],function(){if(a.renderer&&o.value){if(a.renderer.domElement.parentNode!==null&&a.renderer.domElement.parentNode!==o.value)throw new Error("There are more than 2 fiveCanvas in this context.");a.renderer.domElement.parentNode!==o.value&&o.value.appendChild(a.renderer.domElement),a.camera.aspect=n.value/r.value,a.camera.updateProjectionMatrix(),a.renderer.setSize(n.value,r.value),a.needsRender=!0}}),function(){return t.h("div",{id:"five",style:s({width:"".concat(n.value,"px"),height:"".concat(r.value,"px")},E),ref:o})}}}),h=[];function P(e){var n=e===void 0?{}:e,r=n.backgroundColor,a=r===void 0?1579548:r,o=n.backgroundAlpha,f=o===void 0?1:o,u=n.pixelRatio,v=u===void 0?1:u;if(!(typeof window>"u")){var i=h.shift();return i||(i=new d.WebGLRenderer({antialias:!1,alpha:!0}),i.outputEncoding=d.sRGBEncoding),i.setPixelRatio(v),i.setClearColor(a,f),i.autoClear=!0,i}}function B(e){e&&h.indexOf(e)===-1&&h.push(e)}function U(e,n){var r=Array.isArray(e)?e:[e],a=Array.isArray(n)?n:[n];if(r.length!==a.length)return!1;for(var o=0;o<r.length;o++)if(r[o]!==a[o])return!1;return!0}var x=t.defineComponent({props:{works:Object,initialWorks:Object,initialState:Object,initialUserAction:Boolean,onWorksChange:Function,onStateChange:Function,onCurrentStateChange:Function,onError:Function,fiveInitArgs:{type:Object,default:function(){return{}}},style:Object},setup:function(e){var n,r=t.toRefs(e).works,a=g.getViewportScale(),o=a===1?window.devicePixelRatio:1,f=P({pixelRatio:o}),u=new g.Five(s({renderer:f},e.fiveInitArgs)),v=e.works||e.initialWorks;return v&&u.load(v,e.initialState,void 0,(n=e.initialUserAction)!==null&&n!==void 0?n:!0),j(!!e.works),r&&t.watch(r,function(i,c){i&&!U(i,u.works)&&u.load(i,e.initialState)}),t.onBeforeUnmount(function(){u&&(u.dispose(),B(u.renderer))}),u.on("load",function(){e.onWorksChange&&u.works&&e.onWorksChange(u==null?void 0:u.works)}),u.on("stateChange",function(i,c){e.onStateChange&&e.onStateChange(i,c)}),u.on("currentStateChange",function(i,c){e.onCurrentStateChange&&e.onCurrentStateChange(i,c)}),u.on("error",function(i){e.onError?e.onError(i):console.warn(i.message)}),t.provide(y,u),{five:t.shallowReadonly(u)}},render:function(){return t.h("div",{style:this.$props.style},this.$slots)}});function W(){var e=l(),n=t.ref(e.works),r=t.readonly(n),a=function(f,u,v,i){if(C)throw new Error("props 'work' is set in fiveProvider, if you need modify work internal, use 'initialWork' instead.");return e.load(f,u,v,i)},o=e.on("load",function(){n.value=e.works});return t.onBeforeUnmount(function(){o()}),[r,a]}function _(){var e=l(),n=t.ref(s({},e.state)),r=e.on("stateChange",function(o){Object.assign(n.value,s({},o))});t.onBeforeUnmount(function(){r()});var a=function(o,f,u){f===void 0&&(f=!1),u===void 0&&(u=!0);var v=typeof o=="function"?o(e.getCurrentState()):o;e.setState(v,f,u)};return[n,a]}function A(){var e=l(),n=t.ref(e.getCurrentState()),r=e.on("currentStateChange",function(){Object.assign(n.value,e.getCurrentState())});t.onBeforeUnmount(function(){r()});var a=function(o,f,u){var v=typeof o=="function"?o(e.getCurrentState()):o;e.setState(v,f,u)};return[n,a]}function I(){var e=l(),n=t.reactive(e.getCurrentState()),r=t.ref(e.works.getResolvedObserver(e.pano)),a=e.on("currentStateChange",function(){Object.assign(n,e.getCurrentState()),r.value=e.works.getResolvedObserver({workCode:n.workCode,panoIndex:n.panoIndex})});return t.onBeforeUnmount(function(){a()}),r}function L(e,n){var r=l(),a=r.on(e,n);t.onBeforeUnmount(function(){a()})}function V(){var e=l(),n=function(v,i){return e.updateCamera(v,i)},r=function(v,i,c,S,b){return e.getPixels(v,i,c,S,b)},a=function(v){return e.render(v)},o=function(){return e.needsRender=!0},f=function(v,i){return e.preloadPano(v,i)},u=function(v,i){return i===void 0&&(i=!1),e.project2d(v,i)};return{updateCamera:n,getPixels:r,render:a,needsRender:o,preloadPano:f,project2d:u}}function D(e,n){n===void 0&&(n=!1);var r=l(),a=t.ref(Symbol()),o=t.shallowRef(e?r.project2d(t.isRef(e)?e.value:e,n):null),f=r.on("cameraUpdate",function(){a.value=Symbol()});return t.onBeforeUnmount(function(){f()}),t.watch([a,e],function(){o.value=r.project2d(t.isRef(e)?e.value:e,n)}),o}function H(){return D}function m(e){var n=e.camera.getWorldDirection(new d.Vector3),r=new d.Raycaster(e.camera.position,n);return r}function M(){var e=l(),n=t.shallowRef(m(e)),r=e.on("cameraUpdate",function(){n.value=m(e)});return t.onBeforeUnmount(function(){r()}),n}function p(e){return e.camera.getWorldDirection(new d.Vector3)}function q(){var e=l(),n=t.shallowRef(p(e)),r=e.on("cameraUpdate",function(){n.value=p(e)});return t.onBeforeUnmount(function(){r()}),n}function N(e){var n=l(),r=t.shallowRef([]);return t.watch(e,function(){r.value=n.model.intersectRaycaster(t.isRef(e)?e.value:e)}),r}function T(){return N}function w(e){return e.model.empty?"Empty":"Loaded"}function $(){var e=l(),n=t.ref(w(e)),r=e.on("modelLoaded",function(){n.value=w(e)});return t.onBeforeUnmount(function(){r()}),n}function z(){var e=l(),n=t.ref(e.model.shownFloor),r=t.ref(e.model.floorLength),a=function(f){typeof f=="number"?e.model.show(f):e.model.show()},o=[];return o.push(e.on("modelShownFloorChange",function(){n.value=e.model.shownFloor})),o.push(e.on("modelLoaded",function(){r.value=e.model.floorLength})),t.onBeforeUnmount(function(){for(var f;f=o.shift();)f()}),[n,r,a]}function G(){var e=l(),n=t.ref(e.helperVisible),r=function(o){e.helperVisible=o},a=e.on("helpersVisibleChange",function(o){n.value=o});return t.onBeforeUnmount(function(){a()}),[n,r]}function K(){return l()}function F(e){return e.model.bounding.clone()}function J(){var e=l(),n=t.shallowRef(F(e)),r=e.on("modelLoaded",function(){n.value=F(e)});return t.onBeforeUnmount(function(){r()}),n}function Q(){var e=l();return e.scene}function X(){var e=l(),n=t.shallowRef(e.model),r=e.on("modelLoaded",function(){n.value=e.model});return t.onBeforeUnmount(function(){r()}),n}exports.FiveCanvas=O;exports.FiveProvider=x;exports.unsafe__useFiveInject=K;exports.useFiveAction=V;exports.useFiveCameraDirection=q;exports.useFiveCameraRaycaster=M;exports.useFiveCurrentObserver=I;exports.useFiveCurrentState=A;exports.useFiveEventCallback=L;exports.useFiveFloor=z;exports.useFiveHelper=G;exports.useFiveModel=X;exports.useFiveModelBounding=J;exports.useFiveModelIntersectRaycaster=T;exports.useFiveModelReadyState=$;exports.useFiveProject2d=H;exports.useFiveScene=Q;exports.useFiveState=_;exports.useFiveWorks=W;
|
package/vue/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* @realsee/five
|
|
4
|
-
* Generated: 12/
|
|
5
|
-
* Version: 6.0.0-alpha.
|
|
4
|
+
* Generated: 12/14/2023
|
|
5
|
+
* Version: 6.0.0-alpha.65
|
|
6
6
|
* Terms:
|
|
7
7
|
* Realsee SDK License Agreement
|
|
8
8
|
* Update: July 28, 2021
|
|
@@ -252,25 +252,26 @@
|
|
|
252
252
|
* No amendment to or modification of this Agreement will be binding unless in
|
|
253
253
|
* writing and signed by Realsee. You and Realsee hereto confirm that this
|
|
254
254
|
* Agreement and all related documents shall be drafted in English.
|
|
255
|
-
*/import { inject as P, defineComponent as F, toRef as C, ref as c, watch as
|
|
255
|
+
*/import { inject as P, defineComponent as F, toRef as C, ref as c, watch as p, h as R, toRefs as W, onBeforeUnmount as l, provide as A, shallowReadonly as _, readonly as L, reactive as I, shallowRef as h, isRef as m } from "vue";
|
|
256
256
|
import { getViewportScale as V, Five as U } from "@realsee/five";
|
|
257
257
|
import * as g from "three";
|
|
258
258
|
var s = function() {
|
|
259
|
-
return s = Object.assign || function(
|
|
260
|
-
for (var
|
|
261
|
-
|
|
262
|
-
for (var u in
|
|
263
|
-
Object.prototype.hasOwnProperty.call(
|
|
259
|
+
return s = Object.assign || function(r) {
|
|
260
|
+
for (var n, o = 1, t = arguments.length; o < t; o++) {
|
|
261
|
+
n = arguments[o];
|
|
262
|
+
for (var u in n)
|
|
263
|
+
Object.prototype.hasOwnProperty.call(n, u) && (r[u] = n[u]);
|
|
264
264
|
}
|
|
265
|
-
return
|
|
265
|
+
return r;
|
|
266
266
|
}, s.apply(this, arguments);
|
|
267
|
-
}
|
|
267
|
+
};
|
|
268
|
+
var j = !1;
|
|
268
269
|
function B(e) {
|
|
269
270
|
j = e;
|
|
270
271
|
}
|
|
271
|
-
var
|
|
272
|
+
var E = Symbol();
|
|
272
273
|
function v() {
|
|
273
|
-
var e = P(
|
|
274
|
+
var e = P(E);
|
|
274
275
|
if (!e)
|
|
275
276
|
throw new Error("Inject five error!");
|
|
276
277
|
return e;
|
|
@@ -290,24 +291,24 @@ var H = {
|
|
|
290
291
|
}
|
|
291
292
|
},
|
|
292
293
|
setup: function(e) {
|
|
293
|
-
var
|
|
294
|
-
return
|
|
294
|
+
var r = C(e, "width"), n = C(e, "height"), o = v(), t = c(null);
|
|
295
|
+
return p([r, n, t], function() {
|
|
295
296
|
if (o.renderer && t.value) {
|
|
296
297
|
if (o.renderer.domElement.parentNode !== null && o.renderer.domElement.parentNode !== t.value)
|
|
297
298
|
throw new Error("There are more than 2 fiveCanvas in this context.");
|
|
298
|
-
o.renderer.domElement.parentNode !== t.value && t.value.appendChild(o.renderer.domElement), o.camera.aspect =
|
|
299
|
+
o.renderer.domElement.parentNode !== t.value && t.value.appendChild(o.renderer.domElement), o.camera.aspect = r.value / n.value, o.camera.updateProjectionMatrix(), o.renderer.setSize(r.value, n.value), o.needsRender = !0;
|
|
299
300
|
}
|
|
300
301
|
}), function() {
|
|
301
302
|
return R("div", {
|
|
302
303
|
id: "five",
|
|
303
|
-
style: s({ width: "".concat(
|
|
304
|
+
style: s({ width: "".concat(r.value, "px"), height: "".concat(n.value, "px") }, H),
|
|
304
305
|
ref: t
|
|
305
306
|
});
|
|
306
307
|
};
|
|
307
308
|
}
|
|
308
309
|
}), w = [];
|
|
309
310
|
function N(e) {
|
|
310
|
-
var
|
|
311
|
+
var r = e === void 0 ? {} : e, n = r.backgroundColor, o = n === void 0 ? 1579548 : n, t = r.backgroundAlpha, u = t === void 0 ? 1 : t, i = r.pixelRatio, f = i === void 0 ? 1 : i;
|
|
311
312
|
if (!(typeof window > "u")) {
|
|
312
313
|
var a = w.shift();
|
|
313
314
|
return a || (a = new g.WebGLRenderer({ antialias: !1, alpha: !0 }), a.outputEncoding = g.sRGBEncoding), a.setPixelRatio(f), a.setClearColor(o, u), a.autoClear = !0, a;
|
|
@@ -316,12 +317,12 @@ function N(e) {
|
|
|
316
317
|
function D(e) {
|
|
317
318
|
e && w.indexOf(e) === -1 && w.push(e);
|
|
318
319
|
}
|
|
319
|
-
function q(e,
|
|
320
|
-
var
|
|
321
|
-
if (
|
|
320
|
+
function q(e, r) {
|
|
321
|
+
var n = Array.isArray(e) ? e : [e], o = Array.isArray(r) ? r : [r];
|
|
322
|
+
if (n.length !== o.length)
|
|
322
323
|
return !1;
|
|
323
|
-
for (var t = 0; t <
|
|
324
|
-
if (
|
|
324
|
+
for (var t = 0; t < n.length; t++)
|
|
325
|
+
if (n[t] !== o[t])
|
|
325
326
|
return !1;
|
|
326
327
|
return !0;
|
|
327
328
|
}
|
|
@@ -344,8 +345,8 @@ var M = F({
|
|
|
344
345
|
style: Object
|
|
345
346
|
},
|
|
346
347
|
setup: function(e) {
|
|
347
|
-
var
|
|
348
|
-
return f && i.load(f, e.initialState, void 0, (
|
|
348
|
+
var r, n = W(e).works, o = V(), t = o === 1 ? window.devicePixelRatio : 1, u = N({ pixelRatio: t }), i = new U(s({ renderer: u }, e.fiveInitArgs)), f = e.works || e.initialWorks;
|
|
349
|
+
return f && i.load(f, e.initialState, void 0, (r = e.initialUserAction) !== null && r !== void 0 ? r : !0), B(!!e.works), n && p(n, function(a, d) {
|
|
349
350
|
a && !q(a, i.works) && i.load(a, e.initialState);
|
|
350
351
|
}), l(function() {
|
|
351
352
|
i && (i.dispose(), D(i.renderer));
|
|
@@ -357,7 +358,7 @@ var M = F({
|
|
|
357
358
|
e.onCurrentStateChange && e.onCurrentStateChange(a, d);
|
|
358
359
|
}), i.on("error", function(a) {
|
|
359
360
|
e.onError ? e.onError(a) : console.warn(a.message);
|
|
360
|
-
}), A(
|
|
361
|
+
}), A(E, i), {
|
|
361
362
|
five: _(i)
|
|
362
363
|
};
|
|
363
364
|
},
|
|
@@ -366,66 +367,66 @@ var M = F({
|
|
|
366
367
|
}
|
|
367
368
|
});
|
|
368
369
|
function J() {
|
|
369
|
-
var e = v(),
|
|
370
|
+
var e = v(), r = c(e.works), n = L(r), o = function(u, i, f, a) {
|
|
370
371
|
if (j)
|
|
371
372
|
throw new Error("props 'work' is set in fiveProvider, if you need modify work internal, use 'initialWork' instead.");
|
|
372
373
|
return e.load(u, i, f, a);
|
|
373
374
|
}, t = e.on("load", function() {
|
|
374
|
-
|
|
375
|
+
r.value = e.works;
|
|
375
376
|
});
|
|
376
377
|
return l(function() {
|
|
377
378
|
t();
|
|
378
|
-
}), [
|
|
379
|
+
}), [n, o];
|
|
379
380
|
}
|
|
380
381
|
function Q() {
|
|
381
|
-
var e = v(),
|
|
382
|
-
Object.assign(
|
|
382
|
+
var e = v(), r = c(s({}, e.state)), n = e.on("stateChange", function(t) {
|
|
383
|
+
Object.assign(r.value, s({}, t));
|
|
383
384
|
});
|
|
384
385
|
l(function() {
|
|
385
|
-
|
|
386
|
+
n();
|
|
386
387
|
});
|
|
387
388
|
var o = function(t, u, i) {
|
|
388
389
|
u === void 0 && (u = !1), i === void 0 && (i = !0);
|
|
389
390
|
var f = typeof t == "function" ? t(e.getCurrentState()) : t;
|
|
390
391
|
e.setState(f, u, i);
|
|
391
392
|
};
|
|
392
|
-
return [
|
|
393
|
+
return [r, o];
|
|
393
394
|
}
|
|
394
395
|
function X() {
|
|
395
|
-
var e = v(),
|
|
396
|
-
Object.assign(
|
|
396
|
+
var e = v(), r = c(e.getCurrentState()), n = e.on("currentStateChange", function() {
|
|
397
|
+
Object.assign(r.value, e.getCurrentState());
|
|
397
398
|
});
|
|
398
399
|
l(function() {
|
|
399
|
-
|
|
400
|
+
n();
|
|
400
401
|
});
|
|
401
402
|
var o = function(t, u, i) {
|
|
402
403
|
var f = typeof t == "function" ? t(e.getCurrentState()) : t;
|
|
403
404
|
e.setState(f, u, i);
|
|
404
405
|
};
|
|
405
|
-
return [
|
|
406
|
+
return [r, o];
|
|
406
407
|
}
|
|
407
408
|
function Y() {
|
|
408
|
-
var e = v(),
|
|
409
|
-
Object.assign(
|
|
410
|
-
workCode:
|
|
411
|
-
panoIndex:
|
|
409
|
+
var e = v(), r = I(e.getCurrentState()), n = c(e.works.getResolvedObserver(e.pano)), o = e.on("currentStateChange", function() {
|
|
410
|
+
Object.assign(r, e.getCurrentState()), n.value = e.works.getResolvedObserver({
|
|
411
|
+
workCode: r.workCode,
|
|
412
|
+
panoIndex: r.panoIndex
|
|
412
413
|
});
|
|
413
414
|
});
|
|
414
415
|
return l(function() {
|
|
415
416
|
o();
|
|
416
|
-
}),
|
|
417
|
+
}), n;
|
|
417
418
|
}
|
|
418
|
-
function Z(e,
|
|
419
|
-
var
|
|
419
|
+
function Z(e, r) {
|
|
420
|
+
var n = v(), o = n.on(e, r);
|
|
420
421
|
l(function() {
|
|
421
422
|
o();
|
|
422
423
|
});
|
|
423
424
|
}
|
|
424
425
|
function ee() {
|
|
425
|
-
var e = v(),
|
|
426
|
+
var e = v(), r = function(f, a) {
|
|
426
427
|
return e.updateCamera(f, a);
|
|
427
|
-
},
|
|
428
|
-
return e.getPixels(f, a, d,
|
|
428
|
+
}, n = function(f, a, d, x, O) {
|
|
429
|
+
return e.getPixels(f, a, d, x, O);
|
|
429
430
|
}, o = function(f) {
|
|
430
431
|
return e.render(f);
|
|
431
432
|
}, t = function() {
|
|
@@ -436,93 +437,93 @@ function ee() {
|
|
|
436
437
|
return a === void 0 && (a = !1), e.project2d(f, a);
|
|
437
438
|
};
|
|
438
439
|
return {
|
|
439
|
-
updateCamera:
|
|
440
|
-
getPixels:
|
|
440
|
+
updateCamera: r,
|
|
441
|
+
getPixels: n,
|
|
441
442
|
render: o,
|
|
442
443
|
needsRender: t,
|
|
443
444
|
preloadPano: u,
|
|
444
445
|
project2d: i
|
|
445
446
|
};
|
|
446
447
|
}
|
|
447
|
-
function G(e,
|
|
448
|
-
|
|
449
|
-
var
|
|
448
|
+
function G(e, r) {
|
|
449
|
+
r === void 0 && (r = !1);
|
|
450
|
+
var n = v(), o = c(Symbol()), t = h(e ? n.project2d(m(e) ? e.value : e, r) : null), u = n.on("cameraUpdate", function() {
|
|
450
451
|
o.value = Symbol();
|
|
451
452
|
});
|
|
452
453
|
return l(function() {
|
|
453
454
|
u();
|
|
454
|
-
}),
|
|
455
|
-
t.value =
|
|
455
|
+
}), p([o, e], function() {
|
|
456
|
+
t.value = n.project2d(m(e) ? e.value : e, r);
|
|
456
457
|
}), t;
|
|
457
458
|
}
|
|
458
|
-
function
|
|
459
|
+
function re() {
|
|
459
460
|
return G;
|
|
460
461
|
}
|
|
461
462
|
function y(e) {
|
|
462
|
-
var
|
|
463
|
-
return
|
|
463
|
+
var r = e.camera.getWorldDirection(new g.Vector3()), n = new g.Raycaster(e.camera.position, r);
|
|
464
|
+
return n;
|
|
464
465
|
}
|
|
465
|
-
function
|
|
466
|
-
var e = v(),
|
|
467
|
-
|
|
466
|
+
function ne() {
|
|
467
|
+
var e = v(), r = h(y(e)), n = e.on("cameraUpdate", function() {
|
|
468
|
+
r.value = y(e);
|
|
468
469
|
});
|
|
469
470
|
return l(function() {
|
|
470
|
-
|
|
471
|
-
}),
|
|
471
|
+
n();
|
|
472
|
+
}), r;
|
|
472
473
|
}
|
|
473
|
-
function
|
|
474
|
+
function S(e) {
|
|
474
475
|
return e.camera.getWorldDirection(new g.Vector3());
|
|
475
476
|
}
|
|
476
477
|
function te() {
|
|
477
|
-
var e = v(),
|
|
478
|
-
|
|
478
|
+
var e = v(), r = h(S(e)), n = e.on("cameraUpdate", function() {
|
|
479
|
+
r.value = S(e);
|
|
479
480
|
});
|
|
480
481
|
return l(function() {
|
|
481
|
-
|
|
482
|
-
}),
|
|
482
|
+
n();
|
|
483
|
+
}), r;
|
|
483
484
|
}
|
|
484
485
|
function T(e) {
|
|
485
|
-
var
|
|
486
|
-
return
|
|
487
|
-
|
|
488
|
-
}),
|
|
486
|
+
var r = v(), n = h([]);
|
|
487
|
+
return p(e, function() {
|
|
488
|
+
n.value = r.model.intersectRaycaster(m(e) ? e.value : e);
|
|
489
|
+
}), n;
|
|
489
490
|
}
|
|
490
491
|
function oe() {
|
|
491
492
|
return T;
|
|
492
493
|
}
|
|
493
|
-
function
|
|
494
|
+
function b(e) {
|
|
494
495
|
return e.model.empty ? "Empty" : "Loaded";
|
|
495
496
|
}
|
|
496
497
|
function ae() {
|
|
497
|
-
var e = v(),
|
|
498
|
-
|
|
498
|
+
var e = v(), r = c(b(e)), n = e.on("modelLoaded", function() {
|
|
499
|
+
r.value = b(e);
|
|
499
500
|
});
|
|
500
501
|
return l(function() {
|
|
501
|
-
|
|
502
|
-
}),
|
|
502
|
+
n();
|
|
503
|
+
}), r;
|
|
503
504
|
}
|
|
504
505
|
function ie() {
|
|
505
|
-
var e = v(),
|
|
506
|
+
var e = v(), r = c(e.model.shownFloor), n = c(e.model.floorLength), o = function(u) {
|
|
506
507
|
typeof u == "number" ? e.model.show(u) : e.model.show();
|
|
507
508
|
}, t = [];
|
|
508
509
|
return t.push(e.on("modelShownFloorChange", function() {
|
|
509
|
-
|
|
510
|
+
r.value = e.model.shownFloor;
|
|
510
511
|
})), t.push(e.on("modelLoaded", function() {
|
|
511
|
-
|
|
512
|
+
n.value = e.model.floorLength;
|
|
512
513
|
})), l(function() {
|
|
513
514
|
for (var u; u = t.shift(); )
|
|
514
515
|
u();
|
|
515
|
-
}), [
|
|
516
|
+
}), [r, n, o];
|
|
516
517
|
}
|
|
517
518
|
function ue() {
|
|
518
|
-
var e = v(),
|
|
519
|
+
var e = v(), r = c(e.helperVisible), n = function(t) {
|
|
519
520
|
e.helperVisible = t;
|
|
520
521
|
}, o = e.on("helpersVisibleChange", function(t) {
|
|
521
|
-
|
|
522
|
+
r.value = t;
|
|
522
523
|
});
|
|
523
524
|
return l(function() {
|
|
524
525
|
o();
|
|
525
|
-
}), [
|
|
526
|
+
}), [r, n];
|
|
526
527
|
}
|
|
527
528
|
function fe() {
|
|
528
529
|
return v();
|
|
@@ -531,24 +532,24 @@ function k(e) {
|
|
|
531
532
|
return e.model.bounding.clone();
|
|
532
533
|
}
|
|
533
534
|
function ve() {
|
|
534
|
-
var e = v(),
|
|
535
|
-
|
|
535
|
+
var e = v(), r = h(k(e)), n = e.on("modelLoaded", function() {
|
|
536
|
+
r.value = k(e);
|
|
536
537
|
});
|
|
537
538
|
return l(function() {
|
|
538
|
-
|
|
539
|
-
}),
|
|
539
|
+
n();
|
|
540
|
+
}), r;
|
|
540
541
|
}
|
|
541
542
|
function le() {
|
|
542
543
|
var e = v();
|
|
543
544
|
return e.scene;
|
|
544
545
|
}
|
|
545
546
|
function ce() {
|
|
546
|
-
var e = v(),
|
|
547
|
-
|
|
547
|
+
var e = v(), r = h(e.model), n = e.on("modelLoaded", function() {
|
|
548
|
+
r.value = e.model;
|
|
548
549
|
});
|
|
549
550
|
return l(function() {
|
|
550
|
-
|
|
551
|
-
}),
|
|
551
|
+
n();
|
|
552
|
+
}), r;
|
|
552
553
|
}
|
|
553
554
|
export {
|
|
554
555
|
K as FiveCanvas,
|
|
@@ -556,7 +557,7 @@ export {
|
|
|
556
557
|
fe as unsafe__useFiveInject,
|
|
557
558
|
ee as useFiveAction,
|
|
558
559
|
te as useFiveCameraDirection,
|
|
559
|
-
|
|
560
|
+
ne as useFiveCameraRaycaster,
|
|
560
561
|
Y as useFiveCurrentObserver,
|
|
561
562
|
X as useFiveCurrentState,
|
|
562
563
|
Z as useFiveEventCallback,
|
|
@@ -566,7 +567,7 @@ export {
|
|
|
566
567
|
ve as useFiveModelBounding,
|
|
567
568
|
oe as useFiveModelIntersectRaycaster,
|
|
568
569
|
ae as useFiveModelReadyState,
|
|
569
|
-
|
|
570
|
+
re as useFiveProject2d,
|
|
570
571
|
le as useFiveScene,
|
|
571
572
|
Q as useFiveState,
|
|
572
573
|
J as useFiveWorks
|