Changes
Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
@@ -177,7 +177,7 @@ export function XRControllerMeasure() {
|
||||
useModelStore.getState().registerHoverMeasurement({
|
||||
kind: hoverDetected.kind,
|
||||
value: hoverDetected.value,
|
||||
position: { x: hoverDetected.position.x, y: hoverDetected.position.y, z: hoverDetected.position.z },
|
||||
position: [hoverDetected.position.x, hoverDetected.position.y, hoverDetected.position.z],
|
||||
endpoints: hoverDetected.endpoints && {
|
||||
a: { x: hoverDetected.endpoints.a.x, y: hoverDetected.endpoints.a.y, z: hoverDetected.endpoints.a.z },
|
||||
b: { x: hoverDetected.endpoints.b.x, y: hoverDetected.endpoints.b.y, z: hoverDetected.endpoints.b.z },
|
||||
|
||||
Reference in New Issue
Block a user