From 784fe1d0517d79778a75d7e482744c1c631fa07f Mon Sep 17 00:00:00 2001 From: quantulr <35954003+quantulr@users.noreply.github.com> Date: Mon, 25 Dec 2023 10:44:13 +0800 Subject: [PATCH] update --- src/components/Sticker.tsx | 7 +++---- src/components/ThreeScene.tsx | 3 +-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/components/Sticker.tsx b/src/components/Sticker.tsx index 03e9be6..735c91b 100644 --- a/src/components/Sticker.tsx +++ b/src/components/Sticker.tsx @@ -1,6 +1,5 @@ import useModelStore, { DecalSticker } from "@/store/useModelStore"; import { Decal, useTexture } from "@react-three/drei"; -import { Euler } from "three"; /** * logo 和文字标签 @@ -17,7 +16,7 @@ const Sticker = ({ decal }: { decal: DecalSticker }) => { // }, 10) return ( { @@ -48,8 +47,8 @@ const Sticker = ({ decal }: { decal: DecalSticker }) => { // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-expect-error rotation={Math.PI} - // rotation={new Euler(Math.PI / 2, 0, 0)} - // rotation={[Math.PI * 1, Math.PI * 1, Math.PI * 1]} + // rotation={new Euler(Math.PI / 2, 0, 0)} + // rotation={[Math.PI * 1, Math.PI * 1, Math.PI * 1]} > { }; const ThreeScene = () => { - // const hdr = useTexture("/venice_sunset_1k.hdr") return ( - + {/* */} );