Struct tessellation::Mesh
[−]
[src]
pub struct Mesh<S> { pub vertices: Vec<[S; 3]>, pub faces: Vec<[usize; 3]>, }
Fields
vertices: Vec<[S; 3]>
faces: Vec<[usize; 3]>
Methods
impl<S: 'static + Real + Debug> Mesh<S>
[src]
pub fn normal32(&self, face: usize) -> [f32; 3] where
f64: From<S>,
[src]
f64: From<S>,
pub fn vertex32(&self, i: usize) -> [f32; 3] where
f64: From<S>,
[src]
f64: From<S>,
Trait Implementations
impl<S: Clone> Clone for Mesh<S>
[src]
fn clone(&self) -> Mesh<S>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<S: Debug> Debug for Mesh<S>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more