Feat/map-environment #6

Merged
math-pixel merged 116 commits from feat/map-environment into develop 2026-05-29 00:00:51 +00:00
Showing only changes of commit 592cfa405f - Show all commits
+6 -6
View File
@@ -6,7 +6,7 @@ export function useGraphicsSettings(): GraphicsState {
}
export function useSetGraphicsSettings(): (
graphics: Partial<GraphicsState>
graphics: Partial<GraphicsState>,
) => void {
return useWorldSettingsStore((state) => state.setGraphics);
}
@@ -33,19 +33,19 @@ export function useGrassDensity(): number {
export function useGraphicsSetters() {
const setDynamicGrass = useWorldSettingsStore(
(state) => state.setDynamicGrass
(state) => state.setDynamicGrass,
);
const setDynamicTrees = useWorldSettingsStore(
(state) => state.setDynamicTrees
(state) => state.setDynamicTrees,
);
const setDynamicClouds = useWorldSettingsStore(
(state) => state.setDynamicClouds
(state) => state.setDynamicClouds,
);
const setShadowsEnabled = useWorldSettingsStore(
(state) => state.setShadowsEnabled
(state) => state.setShadowsEnabled,
);
const setGrassDensity = useWorldSettingsStore(
(state) => state.setGrassDensity
(state) => state.setGrassDensity,
);
return {