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

V3 #19

Draft
wants to merge 33 commits into
base: master
Choose a base branch
from
Draft

V3 #19

wants to merge 33 commits into from

Conversation

dmnsgn
Copy link
Member

@dmnsgn dmnsgn commented Feb 24, 2022

Changes:

  • feat: convert require to import and module.exports to exports
  • docs: convert example to esm
  • feat: default options
  • feat: port back orbiter changes from pex-renderer
  • feat: add orthographic
  • docs: add pex-gui to example

Implementation:

  • orthographic pan support

TBD:

  • feat: use private class fields for orbiter internals
  • usage of factory function
  • is getWorldRay still relevant

Closes #7
Closes #15

- convert require to import and module.exports to exports
- convert example to esm
- add pex-gui to example

BREAKING CHANGE: switch to type module
- extend camera interface
- optimise .set() when view is used (don't set projectionMatrix twice)
- optimise getViewRay
- remove raf dependency
- add cancelAnimationFrame in dispose
- fix new ray.hitTestPlane signature
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.

Add dispose method documentation Add default values in README docs
1 participant