refacto : cleaning the codebasebase again

This commit is contained in:
2026-04-19 16:50:11 +02:00
parent f9c4495610
commit dcbc1c73f5
26 changed files with 127 additions and 5726 deletions
+4 -3
View File
@@ -21,15 +21,16 @@ import {
GRAB_THROW_BOOST_STEP,
} from "@/data/grabConfig";
import { useDebugFolder } from "@/hooks/debug/useDebugFolder";
import type { ColliderShape, Vector3Tuple } from "@/types/3d";
interface GrabbableObjectProps {
position: [number, number, number];
position: Vector3Tuple;
children: React.ReactNode;
colliders?: "cuboid" | "ball" | "hull";
colliders?: ColliderShape;
label?: string;
}
// Shared mutable params one debug folder controls all instances.
// Shared params let one debug folder drive every instance.
const params = {
stiffness: GRAB_STIFFNESS_DEFAULT,
throwBoost: GRAB_THROW_BOOST_DEFAULT,