dev #84
|
@ -83,7 +83,7 @@ const setTarget = (smooth = false) => {
|
|||
goto_cam.value = new Vector3(f, f, f)
|
||||
} else {
|
||||
(controls.value as OrbitControlsProps).target = target
|
||||
camera.value?.position.set(f, f, f)
|
||||
// camera.value?.position.set(f, f, f)
|
||||
}
|
||||
}
|
||||
setTarget()
|
||||
|
|
|
@ -19,7 +19,7 @@ export const use_section_count = () => useState('section_count', () => n)
|
|||
export const use_extra_section = () => useState('extra_section', () => 0)
|
||||
export const use_total_length = () => useState('total_length', () => (((min + 104) * n) + 104) * 0.001)
|
||||
export const use_min_length = () => useState('min_length', () => 700)
|
||||
export const use_max_size = () => useState<number>('max_size', () => 20)
|
||||
export const use_max_size = () => useState<number>('max_size', () => 3)
|
||||
export const use_explosion_state = () => useState<boolean>('explosion_state', () => false)
|
||||
|
||||
export const use_goto_camera = () => useState<Vector3 | undefined>('gotocam', () => undefined)
|
||||
|
|
Loading…
Reference in New Issue