use trackpad to move camera/world

This commit is contained in:
2016-09-30 23:25:31 -07:00
parent 9323380d5c
commit 8211912b44
4 changed files with 115 additions and 12 deletions

View File

@@ -9,6 +9,7 @@ pub trait Scene<D: gfx::Device,
F: gfx::Factory<D::Resources>> {
fn event(&mut self, event: Event);
fn update(&mut self,
vr: &mut vr::VR,
encoder: &mut gfx::Encoder<D::Resources, D::CommandBuffer>);
fn render(&self,
factory: &mut F,