mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Add new components to the prelude
This commit is contained in:
parent
5b2e9aa3cd
commit
027d7b835f
2 changed files with 3 additions and 3 deletions
|
@ -38,8 +38,8 @@ pub use scene_spawner::*;
|
|||
pub mod prelude {
|
||||
#[doc(hidden)]
|
||||
pub use crate::{
|
||||
DynamicScene, DynamicSceneBuilder, DynamicSceneBundle, Scene, SceneBundle, SceneFilter,
|
||||
SceneSpawner,
|
||||
DynamicScene, DynamicSceneBuilder, DynamicSceneBundle, DynamicSceneHandle, Scene,
|
||||
SceneBundle, SceneFilter, SceneHandle, SceneSpawner,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
//!
|
||||
//! * Clicking anywhere moves the object.
|
||||
|
||||
use bevy::color::palettes::css::*;
|
||||
use bevy::core_pipeline::Skybox;
|
||||
use bevy::math::{uvec3, vec3};
|
||||
use bevy::pbr::irradiance_volume::IrradianceVolume;
|
||||
|
@ -20,7 +21,6 @@ use bevy::pbr::{ExtendedMaterial, MaterialExtension, NotShadowCaster};
|
|||
use bevy::prelude::*;
|
||||
use bevy::render::render_resource::{AsBindGroup, ShaderRef, ShaderType};
|
||||
use bevy::window::PrimaryWindow;
|
||||
use bevy::{color::palettes::css::*, scene::SceneHandle};
|
||||
|
||||
/// This example uses a shader source file from the assets subdirectory
|
||||
const SHADER_ASSET_PATH: &str = "shaders/irradiance_volume_voxel_visualization.wgsl";
|
||||
|
|
Loading…
Reference in a new issue