UX Improvements
* The cam state of SnapshotEditor cameras now persist * Title bar for the prop editor * Cleaned up the toolbar
This commit is contained in:
parent
d621794280
commit
215cd880f0
13 changed files with 354 additions and 170 deletions
|
@ -1,5 +1,5 @@
|
|||
import {editable as e, bindToCanvas} from '@theatre/plugin-r3f'
|
||||
import {OrbitControls, Stars} from '@react-three/drei'
|
||||
import {Stars} from '@react-three/drei'
|
||||
import {getProject} from '@theatre/core'
|
||||
import React, {Suspense} from 'react'
|
||||
import {Canvas} from '@react-three/fiber'
|
||||
|
@ -86,12 +86,12 @@ function App() {
|
|||
<Suspense fallback={null}>
|
||||
<Model url={sceneGLB} />
|
||||
</Suspense>
|
||||
<OrbitControls
|
||||
{/* <OrbitControls
|
||||
enablePan={false}
|
||||
enableZoom={true}
|
||||
maxPolarAngle={Math.PI / 2}
|
||||
minPolarAngle={Math.PI / 2}
|
||||
/>
|
||||
/> */}
|
||||
<Stars radius={500} depth={50} count={1000} factor={10} />
|
||||
</Canvas>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue