Skip to content

Commit

Permalink
fix rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
LimesKey committed Dec 17, 2024
1 parent b49264d commit f40015c
Show file tree
Hide file tree
Showing 4 changed files with 301 additions and 35 deletions.
2 changes: 1 addition & 1 deletion app/ModelViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const ModelViewer = () => {
alt="A 3D model"
camera-controls
disable-zoom
camera-orbit="0deg 0deg 105%"
camera-orbit="0deg 90deg 105%"
disable-pan
style={{ width: '25', height: dimensions.height }}
></model-viewer>
Expand Down
18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,30 @@
"lint": "next lint"
},
"dependencies": {
"@emotion/react": "^11.13.5",
"@emotion/react": "^11.14.0",
"@google/model-viewer": "^4.0.0",
"@mdx-js/loader": "^3.1.0",
"@mdx-js/react": "^3.1.0",
"@next/mdx": "^15.0.3",
"@next/mdx": "^15.1.0",
"@react-three/fiber": "^8.17.10",
"@types/mdx": "^2.0.13",
"@types/three": "^0.171.0",
"autoprefixer": "^10.4.20",
"next": "^15.0.3",
"next": "^15.1.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-snowfall": "^2.2.0",
"theme-ui": "^0.17.1",
"three": "^0.170.0"
},
"devDependencies": {
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"@types/node": "^20.17.10",
"@types/react": "^18.3.17",
"@types/react-dom": "^18.3.5",
"eslint": "^8.57.1",
"eslint-config-next": "15.0.3",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.16",
"typescript": "^5"
"typescript": "^5.7.2"
}
}
Loading

0 comments on commit f40015c

Please sign in to comment.