bx-1316-refactoring #14
|
@ -30,22 +30,20 @@ const clickable_items = ref<any[]>([])
|
||||||
const clickable_refs = ref<any[]>([])
|
const clickable_refs = ref<any[]>([])
|
||||||
const envVars = reactive({}) as EnvVars
|
const envVars = reactive({}) as EnvVars
|
||||||
const def_distance = reactive({ max: 10, min: 1 })
|
const def_distance = reactive({ max: 10, min: 1 })
|
||||||
|
|
||||||
const controls_targetto = ref() as Ref<Vector3 | undefined>;
|
const controls_targetto = ref() as Ref<Vector3 | undefined>;
|
||||||
const controls_targetto_count = ref(CON_MOVETO_COUNT)
|
const controls_targetto_count = ref(CON_MOVETO_COUNT)
|
||||||
const camera_moveto = ref() as Ref<Vector3 | undefined>;
|
const camera_moveto = ref() as Ref<Vector3 | undefined>;
|
||||||
const camera_moveto_count = ref(CON_MOVETO_COUNT)
|
const camera_moveto_count = ref(CON_MOVETO_COUNT)
|
||||||
|
|
||||||
const camera_rotatetoto = ref() as Ref<Quaternion | undefined>;
|
const camera_rotatetoto = ref() as Ref<Quaternion | undefined>;
|
||||||
const camera_rotatetoto_count = ref(CAM_MOVETO_COUNT)
|
const camera_rotatetoto_count = ref(CAM_MOVETO_COUNT)
|
||||||
|
|
||||||
|
|
||||||
const sidebar = usePromoSidebar();
|
const sidebar = usePromoSidebar();
|
||||||
const sidebar_scene = usePromoScene();
|
const sidebar_scene = usePromoScene();
|
||||||
const clickable = useClickable()
|
const clickable = useClickable()
|
||||||
const loading_store = useLoading()
|
const loading_store = useLoading()
|
||||||
|
|
||||||
const { controls, camera, scene, raycaster, renderer } = useTresContext()
|
const { controls, camera, scene, raycaster, renderer } = useTresContext()
|
||||||
const { pause, resume } = useLoop()
|
|
||||||
const { seekByName, seekAllByName } = useSeek()
|
const { seekByName, seekAllByName } = useSeek()
|
||||||
|
|
||||||
const groundTexture = await useTexture({
|
const groundTexture = await useTexture({
|
||||||
|
|
Loading…
Reference in New Issue