Upgrade bevy 0.15 (#758)
* upgrade bevy 0.15 * use crate dependencies * use puffin pr dependency * suppress needless lifetimes * fix compiler error due to merge --------- Co-authored-by: Sébastien Crozet <sebcrozet@dimforge.com>
This commit is contained in:
@@ -21,6 +21,10 @@ use std::collections::HashMap;
|
||||
pub type BevyMaterial = bevy_sprite::ColorMaterial;
|
||||
#[cfg(feature = "dim3")]
|
||||
pub type BevyMaterial = StandardMaterial;
|
||||
#[cfg(feature = "dim2")]
|
||||
pub type BevyMaterialComponent = MeshMaterial2d<BevyMaterial>;
|
||||
#[cfg(feature = "dim3")]
|
||||
pub type BevyMaterialComponent = MeshMaterial3d<BevyMaterial>;
|
||||
|
||||
pub type InstancedMaterials = HashMap<Point3<usize>, Handle<BevyMaterial>>;
|
||||
pub const SELECTED_OBJECT_MATERIAL_KEY: Point3<usize> = point![42, 42, 42];
|
||||
|
||||
Reference in New Issue
Block a user