style: biome format/import-order for refactored tool files
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
aa3b0ef758
commit
ee7bb39605
@@ -29,8 +29,8 @@ import { BoxGeometry, EdgesGeometry, type Group } from 'three'
|
|||||||
import { LineBasicNodeMaterial } from 'three/webgpu'
|
import { LineBasicNodeMaterial } from 'three/webgpu'
|
||||||
import {
|
import {
|
||||||
getRoofWallOpeningCursorPose,
|
getRoofWallOpeningCursorPose,
|
||||||
resolveRoofWallOpeningTarget,
|
|
||||||
type RoofWallOpeningTarget,
|
type RoofWallOpeningTarget,
|
||||||
|
resolveRoofWallOpeningTarget,
|
||||||
} from '../shared/roof-wall-opening-placement'
|
} from '../shared/roof-wall-opening-placement'
|
||||||
import { resolveWallSlideAlignment } from '../shared/wall-opening-alignment'
|
import { resolveWallSlideAlignment } from '../shared/wall-opening-alignment'
|
||||||
import { clampToWall, hasWallChildOverlap, wallLocalToWorld } from './door-math'
|
import { clampToWall, hasWallChildOverlap, wallLocalToWorld } from './door-math'
|
||||||
@@ -42,7 +42,6 @@ const edgeMaterial = new LineBasicNodeMaterial({
|
|||||||
depthWrite: false,
|
depthWrite: false,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
const MoveDoorTool: React.FC<{ node: DoorNode }> = ({ node: movingDoorNode }) => {
|
const MoveDoorTool: React.FC<{ node: DoorNode }> = ({ node: movingDoorNode }) => {
|
||||||
const cursorGroupRef = useRef<Group>(null!)
|
const cursorGroupRef = useRef<Group>(null!)
|
||||||
|
|
||||||
|
|||||||
@@ -26,8 +26,8 @@ import { BoxGeometry, EdgesGeometry, type Group, type LineSegments } from 'three
|
|||||||
import { LineBasicNodeMaterial } from 'three/webgpu'
|
import { LineBasicNodeMaterial } from 'three/webgpu'
|
||||||
import {
|
import {
|
||||||
getRoofWallOpeningCursorPose,
|
getRoofWallOpeningCursorPose,
|
||||||
resolveRoofWallOpeningTarget,
|
|
||||||
type RoofWallOpeningTarget,
|
type RoofWallOpeningTarget,
|
||||||
|
resolveRoofWallOpeningTarget,
|
||||||
} from '../shared/roof-wall-opening-placement'
|
} from '../shared/roof-wall-opening-placement'
|
||||||
import { resolveWallSlideAlignment } from '../shared/wall-opening-alignment'
|
import { resolveWallSlideAlignment } from '../shared/wall-opening-alignment'
|
||||||
import { clampToWall, hasWallChildOverlap, wallLocalToWorld } from './door-math'
|
import { clampToWall, hasWallChildOverlap, wallLocalToWorld } from './door-math'
|
||||||
@@ -39,7 +39,6 @@ const edgeMaterial = new LineBasicNodeMaterial({
|
|||||||
depthWrite: false,
|
depthWrite: false,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Door tool — places DoorNodes on walls and on roof-segment wall faces
|
* Door tool — places DoorNodes on walls and on roof-segment wall faces
|
||||||
* (the generated base walls under a roof, including coplanar gable ends).
|
* (the generated base walls under a roof, including coplanar gable ends).
|
||||||
|
|||||||
@@ -30,8 +30,8 @@ import { BoxGeometry, EdgesGeometry, type Group } from 'three'
|
|||||||
import { LineBasicNodeMaterial } from 'three/webgpu'
|
import { LineBasicNodeMaterial } from 'three/webgpu'
|
||||||
import {
|
import {
|
||||||
getRoofWallOpeningCursorPose,
|
getRoofWallOpeningCursorPose,
|
||||||
resolveRoofWallOpeningTarget,
|
|
||||||
type RoofWallOpeningTarget,
|
type RoofWallOpeningTarget,
|
||||||
|
resolveRoofWallOpeningTarget,
|
||||||
} from '../shared/roof-wall-opening-placement'
|
} from '../shared/roof-wall-opening-placement'
|
||||||
import { resolveWallSlideAlignment } from '../shared/wall-opening-alignment'
|
import { resolveWallSlideAlignment } from '../shared/wall-opening-alignment'
|
||||||
import { clampToWall, hasWallChildOverlap, wallLocalToWorld } from './window-math'
|
import { clampToWall, hasWallChildOverlap, wallLocalToWorld } from './window-math'
|
||||||
@@ -43,7 +43,6 @@ const edgeMaterial = new LineBasicNodeMaterial({
|
|||||||
depthWrite: false,
|
depthWrite: false,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Move/duplicate tool for WindowNodes — wall-only, same guardrails as WindowTool.
|
* Move/duplicate tool for WindowNodes — wall-only, same guardrails as WindowTool.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -27,8 +27,8 @@ import { BoxGeometry, EdgesGeometry, type Group, type LineSegments } from 'three
|
|||||||
import { LineBasicNodeMaterial } from 'three/webgpu'
|
import { LineBasicNodeMaterial } from 'three/webgpu'
|
||||||
import {
|
import {
|
||||||
getRoofWallOpeningCursorPose,
|
getRoofWallOpeningCursorPose,
|
||||||
resolveRoofWallOpeningTarget,
|
|
||||||
type RoofWallOpeningTarget,
|
type RoofWallOpeningTarget,
|
||||||
|
resolveRoofWallOpeningTarget,
|
||||||
} from '../shared/roof-wall-opening-placement'
|
} from '../shared/roof-wall-opening-placement'
|
||||||
import { resolveWallSlideAlignment } from '../shared/wall-opening-alignment'
|
import { resolveWallSlideAlignment } from '../shared/wall-opening-alignment'
|
||||||
import { clampToWall, hasWallChildOverlap, wallLocalToWorld } from './window-math'
|
import { clampToWall, hasWallChildOverlap, wallLocalToWorld } from './window-math'
|
||||||
@@ -41,7 +41,6 @@ const edgeMaterial = new LineBasicNodeMaterial({
|
|||||||
depthWrite: false,
|
depthWrite: false,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Window tool — places WindowNodes on walls and on roof-segment wall
|
* Window tool — places WindowNodes on walls and on roof-segment wall
|
||||||
* faces (the generated base walls under a roof, including coplanar gable
|
* faces (the generated base walls under a roof, including coplanar gable
|
||||||
|
|||||||
Reference in New Issue
Block a user