fn input(&mut self, event: &WindowEvent) -> bool {
        if self.camera_controller.process_events(event) {
            return true;
        }
        match event {
            // WindowEvent::CursorMoved { position, .. } => {
            //     if position.x > (self.size.width / 2) as f64 {
            //         self.color_pass.clear_color = (0.3, 0.2, 0.1, 1.0);
            //     } else {
            //         self.color_pass.clear_color = (0.1, 0.2, 0.3, 1.0);
            //     }
            //     return true;
            // }
            _ => {}
        }
        return false;
    }
// input() returns a bool to indicate whether an event has been fully processed.
// If the method returns true, the main loop won't process the event any further.
input() returns a bool to indicate whether an event has been fully processed.
If the method returns true, the main loop won't process the event any further.
input () returns a bool to indicate whether an event has been fully processed . If the method returns true the main loop won ' t process the event any further .
fn input(&mut self, event: &WindowEvent) -> bool {
        if self.camera_controller.process_events(event) {
            return true;
        }
        match event {
            // WindowEvent::CursorMoved { position, .. } => {
            //     if position.x > (self.size.width / 2) as f64 {
            //         self.color_pass.clear_color = (0.3, 0.2, 0.1, 1.0);
            //     } else {
            //         self.color_pass.clear_color = (0.1, 0.2, 0.3, 1.0);
            //     }
            //     return true;
            // }
            _ => {}
        }
        return false;
    }
fn input ( & mut self , event : & WindowEvent ) -> bool { if self . camera_controller . process_events ( event ) { return true ; } match event { // WindowEvent::CursorMoved { position, .. } => { //     if position.x > (self.size.width / 2) as f64 { //         self.color_pass.clear_color = (0.3, 0.2, 0.1, 1.0); //     } else { //         self.color_pass.clear_color = (0.1, 0.2, 0.3, 1.0); //     } //     return true; // } _ => { } } return false ; }
input() returns a bool to indicate whether an event has been fully processed.
input () returns a bool to indicate whether an event has been fully processed .
&mut self
event
&WindowEvent
&mut self
event
&WindowEvent