Skip to content

Commit c268260

Browse files
author
takuma-hmng8
committed
微修正
1 parent dedf499 commit c268260

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ From each `fxHooks`, you can receive [`updateFx`, `setParams`, `fxObject`] in ar
1818
3. `fxObject` - An object that holds various FX components, such as scene, camera, material, and renderTarget.
1919

2020
```js
21-
const [updateFx, setParams, fxObject] = useFluid(config);
21+
const [updateFx, setParams, fxObject] = useSomeFx(config);
2222
```
2323

2424
Execute `updateFx` in `useFrame`. The first argument receives the RootState from `useFrame`, and the second one takes `HookPrams`. Each fx has its `HookPrams`, and each type is exported.

package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"zustand": "^4.4.1"
3737
},
3838
"devDependencies": {
39-
"@hmng8/use-shader-fx": "^1.0.13",
39+
"@hmng8/use-shader-fx": "^1.0.14",
4040
"@storybook/addon-essentials": "^7.5.3",
4141
"@storybook/addon-interactions": "^7.5.3",
4242
"@storybook/addon-links": "^7.5.3",

0 commit comments

Comments
 (0)