Merge branch 'bx-696-startproject' of https://git.svs-tech.pro/ksenia_mikhailova/mns-mini-zabor into bx-696-startproject
This commit is contained in:
commit
364c9599bd
|
@ -12,6 +12,7 @@ const section_count = use_section_count()
|
||||||
const extra_section = use_extra_section()
|
const extra_section = use_extra_section()
|
||||||
const total_length = use_total_length()
|
const total_length = use_total_length()
|
||||||
const min_length = use_min_length()
|
const min_length = use_min_length()
|
||||||
|
const max_size = use_max_size()
|
||||||
|
|
||||||
const controlsState = reactive({
|
const controlsState = reactive({
|
||||||
distance: section_count.value,
|
distance: section_count.value,
|
||||||
|
|
|
@ -12,7 +12,6 @@ const { scrollToAnchor, scrollToTop } = useAnchorScroll({
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
console.log({ route })
|
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<div class="header">
|
<div class="header">
|
||||||
|
|
|
@ -7,9 +7,8 @@ import { EXRLoader } from 'three/examples/jsm/Addons.js';
|
||||||
import { useGLTF, } from '@tresjs/cientos'
|
import { useGLTF, } from '@tresjs/cientos'
|
||||||
|
|
||||||
const section_count = useState<number>('section_count')
|
const section_count = useState<number>('section_count')
|
||||||
const extra_section = useState<number>('extra_section')
|
const extra_section = use_extra_section()
|
||||||
|
const max_size = use_max_size()
|
||||||
const max_size = useState<number>('max_size', () => 13)
|
|
||||||
|
|
||||||
const { scene, renderer, camera } = useTresContext()
|
const { scene, renderer, camera } = useTresContext()
|
||||||
renderer.value.toneMapping = ReinhardToneMapping
|
renderer.value.toneMapping = ReinhardToneMapping
|
||||||
|
|
|
@ -12,3 +12,4 @@ export const use_section_count = () => useState('section_count', () => 5)
|
||||||
export const use_extra_section = () => useState('extra_section', () => 0)
|
export const use_extra_section = () => useState('extra_section', () => 0)
|
||||||
export const use_total_length = () => useState('total_length', () => (1000 * 5 - 100) * 0.001)
|
export const use_total_length = () => useState('total_length', () => (1000 * 5 - 100) * 0.001)
|
||||||
export const use_min_length = () => useState('min_length', () => 1000)
|
export const use_min_length = () => useState('min_length', () => 1000)
|
||||||
|
export const use_max_size = () => useState<number>('max_size', () => 13)
|
|
@ -20,8 +20,6 @@ const props = defineProps({
|
||||||
error: Object as () => NuxtError
|
error: Object as () => NuxtError
|
||||||
})
|
})
|
||||||
|
|
||||||
const handleError = () => clearError({ redirect: '/' })
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|
|
@ -20,7 +20,9 @@ export default defineNuxtConfig({
|
||||||
assetsInclude: ['**/*.glb', '**/*.gltf'],
|
assetsInclude: ['**/*.glb', '**/*.gltf'],
|
||||||
},
|
},
|
||||||
robots: {
|
robots: {
|
||||||
|
rules: {
|
||||||
UserAgent: '*',
|
UserAgent: '*',
|
||||||
Disallow: '/',
|
Disallow: '/',
|
||||||
}
|
}
|
||||||
|
}
|
||||||
})
|
})
|
Loading…
Reference in New Issue