Skip to content

Handle passing null XRReferenceSpaces to getViewerPose() or getInputPose() #482

Description

@AdaRoseCannon

re: https://immersive-web.github.io/webxr/#dom-xrframe-getviewerpose

The algortihms for these don't handle the case where the reference space is null.

It's unlikely the user will accidentially generate a null reference space because requestReferenceSpace(options) will reject if the created reference space is null. Although developers may pass in null as a mistake which should either be handled smoothly or cause an exception.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions