Skip to content

Commit

Permalink
refactor(origin/teleport-target): remove mesh
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaa committed Oct 5, 2024
1 parent b79bb7f commit 74e0fef
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/components/xr/origin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,7 @@ export const Origin = () => {
return (
<>
<XROrigin position={position} />
<TeleportTarget onTeleport={setPosition}>
<mesh position={[0, 0, 0]} scale={[0.5, 0.001, 0.5]}>
<sphereGeometry />
<meshPhysicalMaterial
color="white"
ior={1.5}
opacity={0.15}
specularColor="white"
specularIntensity={1}
transmission={1}
transparent
/>
</mesh>
</TeleportTarget>
<TeleportTarget onTeleport={setPosition} />
</>
)
}

0 comments on commit 74e0fef

Please sign in to comment.