KEMBAR78
Check whether a session is inline rather than immersive when appropriate by ddorwin · Pull Request #834 · immersive-web/webxr · GitHub
Skip to content

Conversation

@ddorwin
Copy link
Contributor

@ddorwin ddorwin commented Sep 6, 2019

For steps that are really related to inline sessions, check that directly for clarity.

This also avoids needing to consider things like #817 for these steps.

For steps that are really related to inline sessions, check that directly for clarity.

This also avoids needing to consider things like immersive-web#817 for these steps.
1. If |type| is {{local}} or {{local-floor}}, and |session| is an [=immersive session=], return <code>true</code>.
1. If |type| is {{local}} or {{local-floor}}, and the [=XRSession/XR device=] supports reporting orientation data, return <code>true</code>.
1. If |type| is {{bounded-floor}} and |session| is an [=immersive session=], return if [=bounded reference spaces are supported=] by the [=XRSession/XR device=].
1. If |type| is {{bounded-floor}} and |session| is an [=immersive session=], return the result of whether [=bounded reference spaces are supported=] by the [=XRSession/XR device=].
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Another way to phrase this is "the result of executing the Foo algorithm." However, that doesn't seem consistent with how the algorithms are referenced in this spec.

@NellWaliczek NellWaliczek added this to the September 2019 milestone Sep 9, 2019
@toji toji merged commit 0dd71d4 into immersive-web:master Sep 10, 2019
@toji
Copy link
Member

toji commented Sep 10, 2019

LGTM, thanks!

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.

4 participants