Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

## Plan for v0.0.4 #18

Closed
10 of 12 tasks
CoderSerio opened this issue Oct 12, 2023 · 1 comment
Closed
10 of 12 tasks

## Plan for v0.0.4 #18

CoderSerio opened this issue Oct 12, 2023 · 1 comment
Labels
✨ new feature Plan for future versions

Comments

@CoderSerio
Copy link
Member

CoderSerio commented Oct 12, 2023

Plan for v0.0.4

begin: 2023/10/13

BUG

  • lec3d ts类型为any
  • npm 包发布似乎多了一个 src 文件夹
  • 包信息完善,确定是否使用 ISC 协议
  • addControls 不加参数的情况没有处理
  • init 返回的 camera 类型似乎有问题,当前是 PerspectiveCamera,使用时报错说不存在 position 属性

功能

  • getClickEventTarget 增加一个配置参数,用于配置点击后的效果,如高亮等
  • addControls 新增返回值 controls, 用于动态调整当前是否激活鼠标控制,防止镜头平滑移动场景中视角被用户改变
  • 暴露 CSS2DRenderer, CSS2DObject, OrbitControls 等对象
  • 提供配置 CSS2DObject 的显示/隐藏控制配置项

优化

其他调整

 const handleClick = (e) => {
    const targets = getClickEventTargets(e);
  };

Originally posted by @CoderSerio in #1 (comment)

@CoderSerio CoderSerio added the ✨ new feature Plan for future versions label Oct 14, 2023
@CoderSerio CoderSerio changed the title ## bug修复 ## Plan for v0.0.4 Oct 14, 2023
@CoderSerio
Copy link
Member Author

剩余的几个点会放到后续迭代中进行,或拆成单独的issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ new feature Plan for future versions
Projects
None yet
Development

No branches or pull requests

1 participant