mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
16 lines
248 B
Rust
16 lines
248 B
Rust
pub mod segment;
|
|
pub mod terrain;
|
|
|
|
// Crate
|
|
use crate::render::{
|
|
self,
|
|
Mesh,
|
|
};
|
|
|
|
pub trait Meshable {
|
|
type Pipeline: render::Pipeline;
|
|
type Supplement;
|
|
|
|
fn generate_mesh(&self, supp: Self::Supplement) -> Mesh<Self::Pipeline>;
|
|
}
|