AEB-55 / Добавлены лого и иконки

This commit is contained in:
iv_vuytsik
2025-09-11 08:12:18 +03:00
parent 4d6b7b48d7
commit ac5d0d0b00
25 changed files with 78 additions and 47934 deletions

View File

@@ -42,8 +42,7 @@ const ModelViewer: React.FC<ModelViewerProps> = ({
const [showModel, setShowModel] = useState(false)
const isInitializedRef = useRef(false)
const isDisposedRef = useRef(false)
useEffect(() => {
isDisposedRef.current = false
@@ -154,7 +153,11 @@ const ModelViewer: React.FC<ModelViewerProps> = ({
setLoadingProgress(100)
console.log('GLTF Model loaded successfully!')
console.log('\n=== Complete Model Object ===')
console.log(result)
console.log('\n=== Structure Overview ===')
console.log('Meshes:', result.meshes?.length || 0)
console.log('Transform Nodes:', result.transformNodes?.length || 0)
if (result.meshes.length > 0) {
const boundingBox = result.meshes[0].getHierarchyBoundingVectors()
@@ -165,7 +168,6 @@ const ModelViewer: React.FC<ModelViewerProps> = ({
camera.radius = maxDimension * 2
camera.target = result.meshes[0].position
onModelLoaded?.({
meshes: result.meshes,
boundingBox: {