Skip to content

Commit 6ad048d

Browse files
Model Thumbnail
1 parent ea4522d commit 6ad048d

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎public/models/thumbs/model3.png‎

494 KB
Loading

‎public/models/thumbs/model4.png‎

163 KB
Loading

‎public/models/thumbs/model5.png‎

191 KB
Loading

‎src/App.tsx‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ function App() {
6161
stops > 2 ? "Underexposed" : stops < -2 ? "Overexposed" : "Balanced";
6262

6363
const MODELS_LIST = [
64-
{ id: "model1_female", name: "models.model1", thumbnail: "/thumbnails/model1_female.jpg" },
65-
{ id: "model2_male", name: "models.model2", thumbnail: "/thumbnails/model2_male.jpg" },
66-
{ id: "model3_milkchocolate", name: "models.model3", thumbnail: "/thumbnails/model3.jpg" },
67-
{ id: "model4_serum", name: "models.model4", thumbnail: "/thumbnails/model4.jpg" },
68-
{ id: "model5_cosmetic", name: "models.model5", thumbnail: "/thumbnails/model5.jpg" },
64+
{ id: "model1_female", name: "models.model1", thumbnail: "/models/thumbs/model1_female.jpg" },
65+
{ id: "model2_male", name: "models.model2", thumbnail: "/models/thumbs/model2_male.jpg" },
66+
{ id: "model3_milkchocolate", name: "models.model3", thumbnail: "/models/thumbs/model3.png" },
67+
{ id: "model4_serum", name: "models.model4", thumbnail: "/models/thumbs/model4.png" },
68+
{ id: "model5_cosmetic", name: "models.model5", thumbnail: "/models/thumbs/model5.png" },
6969
] as const;
7070

7171
const [isModelModalOpen, setIsModelModalOpen] = useState(false);

‎src/components/ThreeSceneOLD.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function StudioReflector({
8080
lightRotation,
8181
fillLightRotation,
8282
reflectorRotation,
83-
reflectorTilt // <-- Tambahkan prop kemiringan baru di sini (dalam derajat)
83+
reflectorTilt
8484
}: {
8585
position: [number, number, number];
8686
lightEnabled: boolean;
@@ -89,7 +89,7 @@ function StudioReflector({
8989
lightRotation: number;
9090
fillLightRotation: number;
9191
reflectorRotation: number;
92-
reflectorTilt: number; // <-- Daftarkan tipenya
92+
reflectorTilt: number;
9393
}) {
9494
const reflectorRef = useRef<THREE.Group>(null);
9595
const lightRef = useRef<THREE.DirectionalLight>(null);

0 commit comments

Comments
 (0)