bevy/examples/3d
MinerSebas 9effc3e9b3 Replace .insert_resource(T::default()) calls with init_resource::<T>() (#2807)
# Objective

I added the [INSERT_RESOURCE_WITH_DEFAULT](https://minersebas.github.io/bevy_lint/bevy_lint/static.INSERT_RESOURCE_WITH_DEFAULT.html) Lint to [bevy_lint](https://github.com/MinerSebas/bevy_lint) and while Testing it on bevy itself, I found several places where the Lint correctly triggered.



## Solution

Replace `.insert_resource(T::default())` calls with `init_resource::<T>()`
2021-09-13 14:02:28 +00:00
..
3d_scene.rs Down with the system! (#2496) 2021-07-27 23:42:36 +00:00
load_gltf.rs Down with the system! (#2496) 2021-07-27 23:42:36 +00:00
msaa.rs Down with the system! (#2496) 2021-07-27 23:42:36 +00:00
orthographic.rs Down with the system! (#2496) 2021-07-27 23:42:36 +00:00
parenting.rs Down with the system! (#2496) 2021-07-27 23:42:36 +00:00
pbr.rs Down with the system! (#2496) 2021-07-27 23:42:36 +00:00
render_to_texture.rs Down with the system! (#2496) 2021-07-27 23:42:36 +00:00
spawner.rs Down with the system! (#2496) 2021-07-27 23:42:36 +00:00
texture.rs Down with the system! (#2496) 2021-07-27 23:42:36 +00:00
update_gltf_scene.rs Replace .insert_resource(T::default()) calls with init_resource::<T>() (#2807) 2021-09-13 14:02:28 +00:00
wireframe.rs Down with the system! (#2496) 2021-07-27 23:42:36 +00:00
z_sort_debug.rs Down with the system! (#2496) 2021-07-27 23:42:36 +00:00