Camera is now debug
This commit is contained in:
parent
881914f549
commit
2d8a1f0448
|
@ -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>,
|
||||||
|
|
Loading…
Reference in New Issue