veloren/voxygen/src/mesh/mod.rs

16 lines
248 B
Rust
Raw Normal View History

pub mod segment;
2019-01-23 20:01:58 +00:00
pub mod terrain;
// Crate
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>;
}