pub fn panel_local_to_world(layer: OpenXrQuadLayerOptions, local: Vec3) -> Vec3Expand description
Transforms a panel-local point into world space using the layer pose.
Coordinates conventionally use metres.
ยงExamples
use ailloli_ui_openxr::OpenXrQuadLayerOptions;
use ailloli_ui_openxr::openxr_runtime::panel_local_to_world;
use ailloli_ui_openxr::math::Vec3;
let world = panel_local_to_world(OpenXrQuadLayerOptions::default(), Vec3::default());
assert_eq!(world, Vec3::new(0.0, 0.0, -2.0));