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: wrong y coordinate when picking with webgl (#1747) #1778

Merged
merged 1 commit into from
Sep 25, 2024
Merged

Conversation

wang1212
Copy link
Member

@wang1212 wang1212 commented Sep 23, 2024


🤔 This is a ...

  • New feature
  • Bug fix
  • Site / Document optimization
  • TypeScript definition update
  • Refactoring
  • Performance improvement
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

fixed #1747

💡 Background and solution

see #1747

Because the y axis of the drawing coordinate system is downward, and the camera coordinate system is a right-handed coordinate system with its y axis pointing upward. Therefore, we only need to flip the y axis of the drawing coordinate system and pass it to the camera coordinate system.

📝 Changelog

Language Changelog
🇺🇸 English fix: wrong y coordinate when picking with webgl (#1747)
🇨🇳 Chinese fix: webgl 拾取时 y 坐标错误 (#1747)

☑️ Self Check before Merge

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@wang1212 wang1212 merged commit 2ae661c into release Sep 25, 2024
3 checks passed
@wang1212 wang1212 deleted the fix-1747 branch September 25, 2024 01:50
wang1212 added a commit that referenced this pull request Sep 27, 2024
* chore: setup vite dev env and update dev demos (#1776)

* chore: setup env of vite dev

* test: update dev demos

* chore: setup vite config

* chore: use different config in dev and ci env

* fix: vite development server webgl package exception

---------

Co-authored-by: wang1212 <mrwang1212@126.com>

* fix: wrong y coordinate when picking with webgl (#1747) (#1778)

* Version Packages (#1780)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore: fix ci problems

* chore: update version (#1783)

* chore: fix ci problems

---------

Co-authored-by: Aaron <yangtao.yangtao@antgroup.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

3 participants