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

fix: 修复 site/docs/../intervalThreed.zh.md 中元素全部为黑的问题 #5573

Merged
merged 3 commits into from
Sep 21, 2023

Conversation

VirusPC
Copy link
Contributor

@VirusPC VirusPC commented Sep 20, 2023

Description of change

修复该页面由于库引用错误所导致的没有光照效果、元素全部为黑色的问题。https://g2.antv.antgroup.com/spec/threed/interval-threed
image

从全局引用相关变量:

  • CameraType.ORBITING 改为 g.CameraType.ORBITING
  • new DirectionalLight 改为 new gPlugin3d.DirectionalLight

Copy link
Member

@pearmini pearmini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

看来是忘了加 namespace 🤣

@pearmini pearmini merged commit c32bca0 into antvis:v5 Sep 21, 2023
1 check passed
@VirusPC
Copy link
Contributor Author

VirusPC commented Sep 21, 2023

是的。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants