Skip to content

Rename getPose arg referenceSpace->baseSpace #659

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

Merged
merged 2 commits into from
May 20, 2019
Merged

Rename getPose arg referenceSpace->baseSpace #659

merged 2 commits into from
May 20, 2019

Conversation

toji
Copy link
Member

@toji toji commented May 20, 2019

Addresses concerns raised after landing #654

The use of referenceSpace here may inadvertently suggest that it only
takes an XRReferenceSpace object, when in reality it can take any
XRSpace. Using baseSpace as a replacement at the suggestion of
@klausw and @thetuvix.

Plus it's fun to say: getPose finds the place of your space in the
baseSpace's space! 😉

The use of `referenceSpace` here may inadvertently suggest that it only
takes an `XRReferenceSpace` object, when in reality it can take any
`XRSpace`. Using `baseSpace` as a replacement at the suggestion of
@klausw and @thetuvix.

Plus it's fun to say: `getPose` finds the place of your space in the
baseSpace's space! ;D
@toji toji mentioned this pull request May 20, 2019
Copy link
Contributor

@Manishearth Manishearth left a comment

Choose a reason for hiding this comment

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

@toji
Copy link
Member Author

toji commented May 20, 2019

Thanks for catching that!

@toji
Copy link
Member Author

toji commented May 20, 2019

@NellWaliczek is the one that initially asked for this change, but is unavailable for reviews for the next few days. In the meantime I'd prefer to get this landed now under the assumption that it's less confusing than the previous verbiage. I'll happily take the blame if Nell takes issue with baseSpace as well when she gets back. 😅

@toji toji merged commit f8676ee into master May 20, 2019
@toji toji deleted the base-space branch May 20, 2019 22:45
Copy link
Member

@NellWaliczek NellWaliczek left a comment

Choose a reason for hiding this comment

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

Looks good, though are any changes needed in the explainer?

@AdaRoseCannon AdaRoseCannon added the ed:spec Include in newsletter, spec change label Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ed:spec Include in newsletter, spec change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants