Skip to content

Fix algorithm to compute XRRay.matrix - #728

Merged
toji merged 1 commit into
immersive-web:masterfrom
bialpio:master
Jun 21, 2019
Merged

Fix algorithm to compute XRRay.matrix#728
toji merged 1 commit into
immersive-web:masterfrom
bialpio:master

Conversation

@bialpio

@bialpio bialpio commented Jun 21, 2019

Copy link
Copy Markdown
Contributor

Fixes for current algorithm to obtain XRRay.matrix:

  • Dot product does not result in an angle between 2 vectors but is used as such.
  • Magnitude of cross product of 2 vectors can be 0 but rotation can still be necessary.

Additionally, it seems that there used to be some trailing whitespace that got removed by my editor.

Fixes for current algorithm to obtain XRRay.matrix:
- Dot product does not result in an angle between 2 vectors
  but is used as such.
- Magnitude of cross product of 2 vectors can be 0
  but rotation can still be necessary.
@bialpio bialpio changed the title Fix algorithm to XRRay.matrix Fix algorithm to compute XRRay.matrix Jun 21, 2019
@toji

toji commented Jun 21, 2019

Copy link
Copy Markdown
Member

LGTM! Thanks for the whitespace cleanup too. :)

@toji
toji merged commit 0e096ed into immersive-web:master Jun 21, 2019
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