Struct turbine_scene3d::ObjMesh
source · pub struct ObjMesh {
pub vertices: Vec<f32>,
pub uvs: Vec<f32>,
pub normals: Vec<f32>,
}
Expand description
Stores OBJ mesh data.
Fields§
§vertices: Vec<f32>
Stores vertex coordinates.
uvs: Vec<f32>
Stores texture coordinates.
normals: Vec<f32>
Stores normal coordinates.
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ObjMesh
impl Send for ObjMesh
impl Sync for ObjMesh
impl Unpin for ObjMesh
impl UnwindSafe for ObjMesh
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more