From 2d8a1f044887f9e8917252da55def435c8ea3660 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Fri, 15 Jun 2018 14:49:54 +0200 Subject: [PATCH] Camera is now debug --- src/camera.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/camera.rs b/src/camera.rs index bca39c0..d18518e 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -84,7 +84,7 @@ pub fn perspective_matrix(aspect_ratio: f32, z_near: f32, z_far: f32) -> Matrix4 } /// A simple camera with its position, target and up vector. -#[derive(Clone)] +#[derive(Clone, Debug)] pub struct Camera { /// The position of the center of the camera. pub position: Vector3,