mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
14 lines
246 B
Rust
14 lines
246 B
Rust
pub mod segment;
|
|
pub mod terrain;
|
|
mod vol;
|
|
|
|
// 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>;
|
|
}
|