import { useRef } from "react"; import * as THREE from "three"; import { Physics, RigidBody, CuboidCollider } from "@react-three/rapier"; import { RepairGameZone } from "@/components/three/gameplay/RepairGameZone"; import { GrabbableObject } from "@/components/three/interaction/GrabbableObject"; import { AnimatedModel } from "@/components/three/models/AnimatedModel"; import { TriggerObject } from "@/components/three/interaction/TriggerObject"; import { TEST_SCENE_FLOOR_COLLIDER_HALF_EXTENTS, TEST_SCENE_FLOOR_POSITION, TEST_SCENE_FLOOR_SIZE, TEST_SCENE_GRABBABLE_BOX_SIZE, TEST_SCENE_GRABBABLE_COLOR, TEST_SCENE_GRABBABLE_METALNESS, TEST_SCENE_GRABBABLE_POSITION, TEST_SCENE_GRABBABLE_ROUGHNESS, TEST_SCENE_TRIGGER_COLOR, TEST_SCENE_TRIGGER_METALNESS, TEST_SCENE_TRIGGER_POSITION, TEST_SCENE_TRIGGER_RADIUS, TEST_SCENE_TRIGGER_ROUGHNESS, TEST_SCENE_TRIGGER_SEGMENTS, TEST_SCENE_TRIGGER_SOUND_PATH, } from "@/data/debug/testSceneConfig"; import { useOctreeGraphNode } from "@/hooks/three/useOctreeGraphNode"; import type { OctreeReadyHandler } from "@/types/three/three"; interface TestMapProps { onOctreeReady: OctreeReadyHandler; } export function TestMap({ onOctreeReady }: TestMapProps): React.JSX.Element { const floorRef = useRef(null); useOctreeGraphNode(floorRef, onOctreeReady); return ( <> ); }