Skip to content

Commit

Permalink
Fix tsc
Browse files Browse the repository at this point in the history
  • Loading branch information
bananu7 committed Jun 25, 2024
1 parent aa88892 commit fb25002
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/client/src/gfx/MapLight.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export type MapLightProps = {
}

export function MapLight(props: MapLightProps) {
const lightRef = useRef<THREE.SpotLight>(null);
const lightRef = useRef<THREE.DirectionalLight>(null);
if (debugFlags.showLightConeHelper)
useShadowHelper(lightRef);

Expand All @@ -31,8 +31,6 @@ export function MapLight(props: MapLightProps) {
ref={lightRef}
// TODO time of day
position={[400, 180, 90]}
distance={0}
decay={0}
intensity={3}
color={0xffffff}

Expand Down

0 comments on commit fb25002

Please sign in to comment.