feat: more progress

This commit is contained in:
TrèsAbhi committed 2025-08-28 18:23:02 -05:00
1 parent aa763f65d1
commit 5d397de766
4 files changed
+22 -19

No files matched your search

@@ -0,0 +1,20 @@
import type { SpotLightProps } from '@react-three/fiber';
interface Props extends SpotLightProps {
debug?: boolean;
}
export function HelpingSpotLight({ debug, ...props }: Props) {
return (
<>
{debug && (
<mesh position={props.position}>
<icosahedronGeometry args={[0.1, 2]} />
<meshBasicMaterial color={props.color} />
</mesh>
)}
<spotLight {...props} />
</>
);
}