Update App.tsx with brush-related imports and changes

This commit is contained in:
2026-04-15 07:54:02 +02:00
parent e5aeedf852
commit 19cf47faf8

View File

@@ -135,10 +135,6 @@ import {
} from "../core/whitebox-selection-mode"; } from "../core/whitebox-selection-mode";
import { import {
BOX_BRUSH_VOLUME_MODES, BOX_BRUSH_VOLUME_MODES,
BOX_EDGE_LABELS,
BOX_FACE_IDS,
BOX_FACE_LABELS,
BOX_VERTEX_LABELS,
DEFAULT_BOX_BRUSH_WATER_FOAM_CONTACT_LIMIT, DEFAULT_BOX_BRUSH_WATER_FOAM_CONTACT_LIMIT,
DEFAULT_BOX_BRUSH_CENTER, DEFAULT_BOX_BRUSH_CENTER,
DEFAULT_BOX_BRUSH_ROTATION_DEGREES, DEFAULT_BOX_BRUSH_ROTATION_DEGREES,
@@ -146,6 +142,7 @@ import {
MAX_BOX_BRUSH_WATER_FOAM_CONTACT_LIMIT, MAX_BOX_BRUSH_WATER_FOAM_CONTACT_LIMIT,
createDefaultFaceUvState, createDefaultFaceUvState,
normalizeBrushName, normalizeBrushName,
type Brush,
type BoxBrush, type BoxBrush,
type BoxBrushVolumeMode, type BoxBrushVolumeMode,
type FaceUvRotationQuarterTurns, type FaceUvRotationQuarterTurns,
@@ -217,6 +214,16 @@ import {
createFitToFaceBoxBrushFaceUvState, createFitToFaceBoxBrushFaceUvState,
createFitToMaterialTileBoxBrushFaceUvState createFitToMaterialTileBoxBrushFaceUvState
} from "../geometry/box-face-uvs"; } from "../geometry/box-face-uvs";
import {
getBrushDefaultName,
getBrushEdgeIds,
getBrushEdgeLabel,
getBrushFaceIds,
getBrushFaceLabel,
getBrushKindLabel,
getBrushVertexIds,
getBrushVertexLabel
} from "../geometry/whitebox-topology";
import { import {
DEFAULT_ENTITY_POSITION, DEFAULT_ENTITY_POSITION,
DEFAULT_INTERACTABLE_PROMPT, DEFAULT_INTERACTABLE_PROMPT,