Struct dunge::vertex::TextureVertex
source · #[repr(C)]pub struct TextureVertex {
pub pos: [f32; 3],
pub map: [f32; 2],
}
Expand description
Vertex for drawing textured triangles.
Fields§
§pos: [f32; 3]
§map: [f32; 2]
Trait Implementations§
source§impl Clone for TextureVertex
impl Clone for TextureVertex
source§fn clone(&self) -> TextureVertex
fn clone(&self) -> TextureVertex
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more