Reorder imports and add default box brush constants in App.tsx
This commit is contained in:
@@ -16,6 +16,8 @@ import {
|
|||||||
import type { Vec2, Vec3 } from "../core/vector";
|
import type { Vec2, Vec3 } from "../core/vector";
|
||||||
import {
|
import {
|
||||||
BOX_FACE_IDS,
|
BOX_FACE_IDS,
|
||||||
|
DEFAULT_BOX_BRUSH_CENTER,
|
||||||
|
DEFAULT_BOX_BRUSH_SIZE,
|
||||||
createDefaultFaceUvState,
|
createDefaultFaceUvState,
|
||||||
type BoxBrush,
|
type BoxBrush,
|
||||||
type BoxFaceId,
|
type BoxFaceId,
|
||||||
@@ -27,8 +29,6 @@ import { createFitToFaceBoxBrushFaceUvState } from "../geometry/box-face-uvs";
|
|||||||
import { STARTER_MATERIAL_LIBRARY, type MaterialDef } from "../materials/starter-material-library";
|
import { STARTER_MATERIAL_LIBRARY, type MaterialDef } from "../materials/starter-material-library";
|
||||||
import { Panel } from "../shared-ui/Panel";
|
import { Panel } from "../shared-ui/Panel";
|
||||||
import { ViewportCanvas } from "../viewport-three/ViewportCanvas";
|
import { ViewportCanvas } from "../viewport-three/ViewportCanvas";
|
||||||
|
|
||||||
import { DEFAULT_BOX_BRUSH_CENTER, DEFAULT_BOX_BRUSH_SIZE } from "../document/brushes";
|
|
||||||
import type { EditorStore } from "./editor-store";
|
import type { EditorStore } from "./editor-store";
|
||||||
import { useEditorStoreState } from "./use-editor-store";
|
import { useEditorStoreState } from "./use-editor-store";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user