refactor out to multiple files
This commit is contained in:
@@ -4,9 +4,9 @@ use std::time::{Duration, Instant};
|
||||
use cgmath::{Decomposed, InnerSpace, Matrix4, Point3, Rad, Vector3};
|
||||
use winit_24::dpi::{LogicalPosition, PhysicalPosition};
|
||||
use winit_24::event::{ElementState, MouseScrollDelta, VirtualKeyCode};
|
||||
|
||||
use crate::render::OPENGL_TO_WGPU_MATRIX;
|
||||
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub struct Camera {
|
||||
pub position: Point3<f32>,
|
||||
|
||||
Reference in New Issue
Block a user