diff --git a/src/level.rs b/src/level.rs index bd617d9..1fb0744 100644 --- a/src/level.rs +++ b/src/level.rs @@ -153,6 +153,7 @@ fn run_test(mut commands: Commands, game_assets: Res, mut meshes: Re MeshMaterial3d(material_handle) )); }); + // light commands.spawn(( PointLight{ @@ -161,9 +162,10 @@ fn run_test(mut commands: Commands, game_assets: Res, mut meshes: Re }, Transform::from_xyz(4.0, 8.0, 4.0).looking_at(Vec3::ZERO, Vec3::Y) )); + // camera commands.spawn(( Camera3d::default(), - Transform::from_xyz(-2.5, 4.5, 9.0).looking_at(Vec3::ZERO, Vec3::Y) + Transform::from_xyz(0.5, -1.0, 3.5).looking_at(Vec3::new(0.0, -1.0, 0.0), Vec3::Y) )); } \ No newline at end of file