[−][src]Struct building_blocks_mesh::PosNormTexMesh
Fields
positions: Vec<[f32; 3]>
normals: Vec<[f32; 3]>
Surface normal vectors. Not guaranteed to be normalized.
tex_coords: Vec<[f32; 2]>
Texture coordinates, AKA UVs.
indices: Vec<usize>
All of the triangles in the mesh, wound counter-clockwise (right-hand rule).
Implementations
impl PosNormTexMesh
[src]
Trait Implementations
impl Default for PosNormTexMesh
[src]
fn default() -> PosNormTexMesh
[src]
Auto Trait Implementations
impl RefUnwindSafe for PosNormTexMesh
impl Send for PosNormTexMesh
impl Sync for PosNormTexMesh
impl Unpin for PosNormTexMesh
impl UnwindSafe for PosNormTexMesh
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,