From 7bc23d19e638466596cfce14702d0f33195a546e Mon Sep 17 00:00:00 2001 From: Aria Minaei Date: Sun, 8 Aug 2021 10:25:11 +0200 Subject: [PATCH] Better default position for SnapshotEditor's camera --- .../plugin-r3f/src/components/useSnapshotEditorCamera.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/plugin-r3f/src/components/useSnapshotEditorCamera.tsx b/packages/plugin-r3f/src/components/useSnapshotEditorCamera.tsx index 5d07955..071129b 100644 --- a/packages/plugin-r3f/src/components/useSnapshotEditorCamera.tsx +++ b/packages/plugin-r3f/src/components/useSnapshotEditorCamera.tsx @@ -14,13 +14,13 @@ import {useThree} from '@react-three/fiber' const camConf = types.compound({ transform: types.compound({ position: types.compound({ - x: types.number(0), + x: types.number(10), y: types.number(10), z: types.number(0), }), target: types.compound({ x: types.number(0), - y: types.number(10), + y: types.number(0), z: types.number(0), }), }), @@ -68,7 +68,7 @@ export default function useSnapshotEditorCamera( const node = ( <> - +