veloren/voxygen/src/mesh/mod.rs

13 lines
237 B
Rust
Raw Normal View History

pub mod segment;
2019-01-23 20:01:58 +00:00
pub mod terrain;
mod vol;
use crate::render::{self, Mesh};
pub trait Meshable {
type Pipeline: render::Pipeline;
2019-01-23 20:01:58 +00:00
type Supplement;
2019-01-23 20:01:58 +00:00
fn generate_mesh(&self, supp: Self::Supplement) -> Mesh<Self::Pipeline>;
}