@@ -15,6 +15,10 @@ use bevy_asset::{
1515 io:: Reader , AssetLoadError , AssetLoader , Handle , LoadContext , ReadAssetBytesError ,
1616 RenderAssetUsages ,
1717} ;
18+ use bevy_camera:: {
19+ primitives:: Aabb , visibility:: Visibility , Camera , OrthographicProjection ,
20+ PerspectiveProjection , Projection , ScalingMode ,
21+ } ;
1822use bevy_color:: { Color , LinearRgba } ;
1923use bevy_core_pipeline:: prelude:: Camera3d ;
2024use bevy_ecs:: {
@@ -27,25 +31,18 @@ use bevy_image::{
2731 CompressedImageFormats , Image , ImageLoaderSettings , ImageSampler , ImageSamplerDescriptor ,
2832 ImageType , TextureError ,
2933} ;
34+ use bevy_light:: { DirectionalLight , PointLight , SpotLight } ;
3035use bevy_math:: { Mat4 , Vec3 } ;
3136use bevy_mesh:: {
3237 morph:: { MeshMorphWeights , MorphAttributes , MorphTargetImage , MorphWeights } ,
3338 skinning:: { SkinnedMesh , SkinnedMeshInverseBindposes } ,
34- Indices , Mesh , MeshVertexAttribute , PrimitiveTopology , VertexAttributeValues ,
39+ Indices , Mesh , Mesh3d , MeshVertexAttribute , PrimitiveTopology , VertexAttributeValues ,
3540} ;
3641#[ cfg( feature = "pbr_transmission_textures" ) ]
3742use bevy_pbr:: UvChannel ;
38- use bevy_pbr:: {
39- DirectionalLight , MeshMaterial3d , PointLight , SpotLight , StandardMaterial , MAX_JOINTS ,
40- } ;
43+ use bevy_pbr:: { MeshMaterial3d , StandardMaterial , MAX_JOINTS } ;
4144use bevy_platform:: collections:: { HashMap , HashSet } ;
42- use bevy_render:: {
43- camera:: { Camera , OrthographicProjection , PerspectiveProjection , Projection , ScalingMode } ,
44- mesh:: Mesh3d ,
45- primitives:: Aabb ,
46- render_resource:: Face ,
47- view:: Visibility ,
48- } ;
45+ use bevy_render:: render_resource:: Face ;
4946use bevy_scene:: Scene ;
5047#[ cfg( not( target_arch = "wasm32" ) ) ]
5148use bevy_tasks:: IoTaskPool ;
0 commit comments