#![warn(missing_docs)]
#![warn(clippy::missing_docs_in_private_items)]
#![warn(rustdoc::invalid_codeblock_attributes)]
#![warn(rustdoc::invalid_html_tags)]
#![allow(clippy::type_complexity)]
use std::marker::PhantomData;
use bevy::prelude::*;
use prelude::storage::chunk_pointers::ChunkEntityPointers;
use prelude::*;
pub mod math;
pub mod query;
pub mod storage;
pub mod prelude {
pub use super::math::*;
pub use super::query::*;
pub use super::storage::*;
pub use super::*;
}
#[derive(Default)]
pub struct Bones3CorePlugin<T>
where
T: BlockData,
{
_phantom: PhantomData<T>,
}
impl<T> Plugin for Bones3CorePlugin<T>
where
T: BlockData,
{
fn build(&self, app: &mut App) {
app.register_type::<VoxelWorld>()
.register_type::<VoxelChunk>()
.register_type::<VoxelStorage<T>>()
.register_type::<ChunkEntityPointers>();
}
}