You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiled with problems:X
ERROR in src/components/MapDrawer/index.tsx
TS2590: Expression produces a union type that is too complex to represent.
ERROR in src/components/MapDrawer/index.tsx:77:7
TS2590: Expression produces a union type that is too complex to represent.
75 | ))}
76 | </Stack>
> 77 | <Box>
| ^^^^^
> 78 |
> 79 | </Box>
| ^^^^^^^^^^^^^
80 | </Drawer>
81 | );
82 | };
comic
模仿来源
自己的 Demo 地址
mui + @react-three/fiber 一起使用报错
增加 component="div" 消除错误
How to limit panning distance in react three fiber MapControls
orthographic camera + MapControls 显示拖动距离
@react-three/fiber color problem
使用 react-three/fiber,场景导入图片颜色不对。PerspectiveCamera, OrthographicCamera 有点灰白的感觉,png 白色部分会变灰,有些图片会很白。下次补充 demo 图。
canvas 加入 linear + flat,或者 flat。因为我有两个 demo 表现不一样 还不知道为什么。
const state = useThree()
状态手动调用相机和控制器移动
这里使用 tween.js
The text was updated successfully, but these errors were encountered: