Hide cursor

This commit is contained in:
Thomas Forgione 2018-10-11 15:25:13 +02:00
parent 1e638681a4
commit e8eb9ac44b
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,6 @@ use glium::glutin::{
MouseScrollDelta, MouseScrollDelta,
KeyboardInput, KeyboardInput,
VirtualKeyCode, VirtualKeyCode,
MouseCursor,
}; };
use glium::glutin::dpi::{ use glium::glutin::dpi::{
LogicalSize, LogicalSize,
@ -350,7 +349,7 @@ impl Controls for FirstPersonControls {
fn update(&mut self, camera: &mut Camera, renderer: &Renderer) { fn update(&mut self, camera: &mut Camera, renderer: &Renderer) {
// renderer.gl_window().window().set_cursor(MouseCursor::NoneCursor); renderer.gl_window().hide_cursor(true);
let mut speed = Vector3::new(0.0, 0.0, 0.0); let mut speed = Vector3::new(0.0, 0.0, 0.0);