Refactor code structure for improved readability and maintainability

This commit is contained in:
2025-07-22 10:22:29 +05:30
parent 8a6312322c
commit 60e43f9619
11 changed files with 18 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ import defaultTexture from '../../../../assets/textures/floor/white.png';
import flootTexture1 from '../../../../assets/textures/floor/factory wall texture.jpg';
import flootTexture2 from '../../../../assets/textures/floor/tex1/MI_FactoryConcreteFloor01_BaseColor.001.jpg';
import flootTexture3 from '../../../../assets/textures/floor/tex2/MI_FloorMats01_baseColor.png';
import flootTexture4 from '../../../../assets/textures/floor/tex3/metal_plate_diff_1k.jpg';
import { useBuilderStore } from "../../../../store/builder/useBuilderStore";
@@ -20,6 +21,7 @@ export const materials = [
{ texture: flootTexture1, textureId: "Material 1", textureName: "Grunge Concrete Wall" },
{ texture: flootTexture2, textureId: "Material 2", textureName: "Tiled Floor" },
{ texture: flootTexture3, textureId: "Material 3", textureName: "Metal Floor" },
{ texture: flootTexture4, textureId: "Material 4", textureName: "Metal Floor 2" },
];
const FloorProperties = () => {