Move camera to above terrain
This commit is contained in:
parent
340e208cda
commit
7d4bccf187
1 changed files with 1 additions and 1 deletions
|
@ -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(),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue