Implement code changes to enhance functionality and improve performance

This commit is contained in:
2025-07-01 19:32:49 +05:30
parent a40e3fd35e
commit 1d70212cde
5 changed files with 45 additions and 17 deletions

View File

@@ -2,14 +2,14 @@ import * as THREE from 'three';
import { useMemo, useRef, useState } from 'react';
import * as Constants from '../../../../../types/world/worldConstants';
import defaultMaterial from '../../../../../assets/textures/floor/wall-tex.png';
import defaultMaterial from '../../../../../assets/textures/floor/factory wall texture.png';
import material1 from '../../../../../assets/textures/floor/factory wall texture.jpg';
import { useWallStore } from '../../../../../store/builder/useWallStore';
import { useWallClassification } from './helpers/useWallClassification';
import { useFrame, useThree } from '@react-three/fiber';
import { useWallVisibility } from '../../../../../store/builder/store';
import { Decal, PivotControls } from '@react-three/drei';
import { Base, Geometry, Subtraction } from '@react-three/csg';
import { Decal } from '@react-three/drei';
import { Base } from '@react-three/csg';
function Wall({ wall }: { readonly wall: Wall }) {
const { walls } = useWallStore();