Skip to content

Initialize projection view pose

Joshua Ashton requested to merge frog/xrgears:fix-pose-quat into master

Fixes xrgears failing due to xrEndFrame returning XR_ERROR_POSE_INVALID under SteamVR.

The OpenXR specification states: "A runtime must return XR_ERROR_POSE_INVALID if the orientation norm deviates by more than 1% from unit length."

Having a quaternion initialized to (0, 0, 0, 0) does not satisfy this requirement.

Signed-off-by: Joshua Ashton joshua@froggi.es

Edited by Joshua Ashton

Merge request reports