pub struct Shape {
pub vertices: Vec<Point3<f32>>,
pub normals: Vec<Vector3<f32>>,
pub tangents: Vec<Vector4<f32>>,
}
Expand description
A geometry shape.
Fields
vertices: Vec<Point3<f32>>
Vertices.
normals: Vec<Vector3<f32>>
Normals.
tangents: Vec<Vector4<f32>>
Tangents.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Shape
impl Send for Shape
impl Sync for Shape
impl Unpin for Shape
impl UnwindSafe for Shape
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.