Add new viewer and console toolbar (handle + settings)

Related to #360
This commit is contained in:
Kurt Hutten
2021-06-08 18:40:17 +10:00
parent 927ba29e04
commit 02460544bf
7 changed files with 70 additions and 31 deletions

View File

@@ -10,6 +10,7 @@ import {
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls'
import { Vector3 } from 'three'
import { requestRender } from 'src/helpers/hooks/useIdeState'
import PanelToolbar from 'src/components/PanelToolbar'
extend({ OrbitControls })
@@ -227,6 +228,7 @@ const IdeViewer = () => {
<div className="h-16 w-16 bg-pink-600 rounded-full animate-ping"></div>
</div>
)}
<PanelToolbar panelName="3d-view" />
</div>
)
}