Add origin/direction methods to XRRay

This commit is contained in:
Manish Goregaokar 2020-04-08 14:52:04 -07:00
parent b6a9e41bb8
commit 98ff97783e
3 changed files with 30 additions and 4 deletions

View file

@ -157,8 +157,8 @@ use webgpu::{
WebGPUPipelineLayout, WebGPUQueue, WebGPUShaderModule,
};
use webrender_api::{DocumentId, ImageKey};
use webxr_api::SwapChainId as WebXRSwapChainId;
use webxr_api::Ray;
use webxr_api::SwapChainId as WebXRSwapChainId;
unsafe_no_jsmanaged_fields!(Tm);