Move camera to above terrain

This commit is contained in:
Sijmen 2021-05-30 14:12:04 +02:00
parent 340e208cda
commit 7d4bccf187
Signed by: vijfhoek
GPG key ID: 82D05C89B28B0DAE

View file

@ -108,7 +108,7 @@ impl WorldState {
fn create_camera(swap_chain_descriptor: &wgpu::SwapChainDescriptor) -> (Camera, Projection) {
let camera = Camera::new(
(0.0, 5.0, 10.0).into(),
(0.0, 80.0, 0.0).into(),
cgmath::Deg(0.0).into(),
cgmath::Deg(-20.0).into(),
);