Camera is now debug

This commit is contained in:
Thomas Forgione 2018-06-15 14:49:54 +02:00
parent 881914f549
commit 2d8a1f0448
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 1 additions and 1 deletions

View File

@ -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. /// A simple camera with its position, target and up vector.
#[derive(Clone)] #[derive(Clone, Debug)]
pub struct Camera { pub struct Camera {
/// The position of the center of the camera. /// The position of the center of the camera.
pub position: Vector3<f32>, pub position: Vector3<f32>,