dev #84
|
@ -56,15 +56,10 @@ onMounted(() => {
|
|||
<TresCanvas height="600">
|
||||
<TresPerspectiveCamera :position="[-7, 2, 4]" ref="camera" />
|
||||
<OrbitControls v-bind="controlsState" ref="controls" make-default />
|
||||
<ModelEnv />
|
||||
<Suspense>
|
||||
<ModelDiagram />
|
||||
</Suspense>
|
||||
|
||||
<TresPointLight v-bind="back_light" v-if="back_light"
|
||||
:position="[back_light.position.x, back_light.position.y, back_light.position.z]" />
|
||||
<TresPointLight v-bind="secondary_light" v-if="secondary_light"
|
||||
:position="[secondary_light.position.x, secondary_light.position.y, secondary_light.position.z]" />
|
||||
<!-- <TresAmbientLight :intensity="2" /> -->
|
||||
</TresCanvas>
|
||||
</ClientOnly>
|
||||
<div class="canvas-icons">
|
||||
|
|
Loading…
Reference in New Issue