Releases: omnidotdev/rdk
@omnidotdev/rdk@0.9.0
@omnidotdev/rdk@0.8.0
Minor Changes
-
#59
584773cThanks @coopbri and @nickw1! - AddGeoLineandGeoPolygoncomponents for rendering paths and areas in AR space using lon/lat coordinates. These components complete the core GeoJSON geometry support:GeoLine: Renders lines (example use cases are roads, paths, routes) using Three.jsLine2for variable width supportGeoPolygon: Renders filled polygons (zones, areas, boundaries) with optional holes
Both components accept GeoJSON-style coordinate arrays
[lon, lat, elevation?]for direct compatibility with mapping APIs and thelocar-tilerlibrary.
@omnidotdev/rdk@0.7.0
Minor Changes
-
#56
39954c3Thanks @coopbri! - Add status flags to backend hooks for safe destructuring.useGeolocationBackend()anduseFiducialBackend()now return an object withisPendingandisSuccessboolean flags instead of returningnullon first render. This enables safe destructuring without null checks:// before (crashed on first render) const geo = useGeolocationBackend(); const locar = geo?.locar; // after (safe destructuring) const { locar, isPending, isSuccess } = useGeolocationBackend(); if (isSuccess && locar) { const worldCoords = locar.lonLatToWorldCoords(lon, lat); }
New exported types:
GeolocationBackendState,FiducialBackendState
@omnidotdev/rdk@0.6.0
@omnidotdev/rdk@0.5.2
@omnidotdev/rdk@0.5.1
@omnidotdev/rdk@0.5.0
@omnidotdev/rdk@0.4.2
@omnidotdev/rdk@0.4.1
Patch Changes
-
#27
d808716Thanks @nickw1! - AddedonGpsUpdatedcallback to geolocation backend -
#30
4027439Thanks @coopbri! - - RemovedXRStoreActionsandXRStoreStatelibrary exports- Added
FiducialAnchorPropsandGeolocationAnchorPropslibrary exports - Fixed
GeolocationSessionandFiducialSessionoptionsprop being typed toany
- Added
@omnidotdev/rdk@0.4.0
Minor Changes
-
#26
fa31da4Thanks @coopbri! - Added native WebXR support, powered by@react-three/xr.BREAKING: Removed
cameraSourceprop from XR component. Sessions now auto-configure themselves:// before <XR cameraSource="video"> <FiducialSession /> </XR> // after <XR> {/* auto-configures video mode */} <FiducialSession /> </XR>
New Features:
ImmersiveSessioncomponent for WebXR AR/VR- Nested
@react-three/xr's store nested underuseXRStore'simmersiveproperty - Added
ImmersiveModetype export, which maps to and from official WebXR modes (immersive-ar↔ar,immersive-vr↔vr,inline↔inline)