mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
WebVR API Implementation, r=larsbergstrom
This commit is contained in:
parent
13826970c4
commit
c5705bff50
70 changed files with 13044 additions and 20 deletions
29
components/webvr_traits/lib.rs
Normal file
29
components/webvr_traits/lib.rs
Normal file
|
@ -0,0 +1,29 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#![feature(custom_derive)]
|
||||
#![feature(plugin)]
|
||||
#![deny(unsafe_code)]
|
||||
|
||||
extern crate ipc_channel;
|
||||
extern crate msg;
|
||||
extern crate serde;
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
pub extern crate rust_webvr as webvr;
|
||||
|
||||
mod webvr_traits;
|
||||
|
||||
pub use webvr::VRDisplayData as WebVRDisplayData;
|
||||
pub use webvr::VRDisplayCapabilities as WebVRDisplayCapabilities;
|
||||
pub use webvr::VRDisplayEvent as WebVRDisplayEvent;
|
||||
pub use webvr::VRDisplayEventReason as WebVRDisplayEventReason;
|
||||
pub use webvr::VREye as WebVREye;
|
||||
pub use webvr::VREyeParameters as WebVREyeParameters;
|
||||
pub use webvr::VRFieldOfView as WebVRFieldOfView;
|
||||
pub use webvr::VRFrameData as WebVRFrameData;
|
||||
pub use webvr::VRLayer as WebVRLayer;
|
||||
pub use webvr::VRPose as WebVRPose;
|
||||
pub use webvr::VRStageParameters as WebVRStageParameters;
|
||||
pub use webvr_traits::{WebVRMsg, WebVRResult};
|
Loading…
Add table
Add a link
Reference in a new issue