rust-webvr 0.19.0

Safe rust API that provides a way to interact with Virtual Reality headsets and integration with vendor specific SDKs like OpenVR and Oculus. The API is inspired on the easy to use WebVR API but adapted to Rust design patterns
Documentation
mod binding;
mod constants;
mod display;
mod library;
mod gamepad;
mod service;

use {VRService, VRServiceCreator};

pub struct OpenVRServiceCreator;

impl OpenVRServiceCreator {
    pub fn new() -> Box<VRServiceCreator> {
        Box::new(OpenVRServiceCreator)
    }
}

impl VRServiceCreator for OpenVRServiceCreator {

     fn new_service(&self) -> Box<VRService> {
         Box::new(service::OpenVRService::new())
     }
}