Skip to content

Rename getPose arg referenceSpace->baseSpace#659

Merged
toji merged 2 commits into
masterfrom
base-space
May 20, 2019
Merged

Rename getPose arg referenceSpace->baseSpace#659
toji merged 2 commits into
masterfrom
base-space

Conversation

@toji

@toji toji commented May 20, 2019

Copy link
Copy Markdown
Member

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

@Manishearth Manishearth left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@toji

toji commented May 20, 2019

Copy link
Copy Markdown
Member Author

Thanks for catching that!

@toji

toji commented May 20, 2019

Copy link
Copy Markdown
Member Author

@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

@NellWaliczek NellWaliczek left a comment

Copy link
Copy Markdown
Member

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