Skip to content

Commit

Permalink
fix: change internal Scene component name to force rendering (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu authored Jul 3, 2023
1 parent 0eea3ab commit 780743c
Show file tree
Hide file tree
Showing 5 changed files with 251 additions and 244 deletions.
1 change: 0 additions & 1 deletion docs/.vitepress/theme/components/FirstScene.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const gl = {
<template>
<TresCanvas v-bind="gl">
<TresPerspectiveCamera :position="[11, 11, 11]" :fov="45" :aspect="1" :near="0.1" :far="1000" />

<OrbitControls />
<TresMesh :position="[-2, 6, 0]" :rotation="[0, Math.PI, 0]" cast-shadow>
<TresConeGeometry :args="[1, 1.5, 3]" />
Expand Down
5 changes: 2 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
"preview": "vitepress preview"
},
"devDependencies": {
"unocss": "^0.53.0",
"vite-svg-loader": "^4.0.0",
"vitepress": "1.0.0-beta.5"
"unocss": "^0.53.4",
"vite-svg-loader": "^4.0.0"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"@huntersofbook/plausible-vue": "^1.0.0",
"@release-it/conventional-changelog": "^5.1.1",
"@stackblitz/sdk": "^1.9.0",
"@tresjs/cientos": "2.1.4",
"@tresjs/cientos": "2.2.0",
"@types/three": "^0.152.1",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
Expand Down
Loading

0 comments on commit 780743c

Please sign in to comment.