feat: more progress

This commit is contained in:
TrèsAbhi committed 2025-08-28 17:59:31 -05:00
1 parent 94cbd95509
commit aa763f65d1
9 files changed
+82 -161

No files matched your search

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