Struct valor::Camera
[−]
[src]
pub struct Camera { /* fields omitted */ }
Perspective camera with positioning controls.
Methods
impl Camera
[src]
fn new() -> Self
[src]
fn get_view_proj(&self) -> Matrix4<f32>
[src]
fn mouse_look(&mut self, pitch_delta: f32, yaw_delta: f32)
[src]
pitch_delta
and yaw_delta
are pixel movement distances