pub struct TriangleMesh {
pub object_to_world: Transform,
pub world_to_object: Transform,
pub reverse_orientation: bool,
pub swaps_handedness: bool,
pub two_sided: bool,
pub p: Vec<Point3f>,
pub s: Vec<Vector3f>,
pub n: Vec<Vector3f>,
pub uv: Vec<Point2f>,
}
Fields§
§object_to_world: Transform
§world_to_object: Transform
§reverse_orientation: bool
§swaps_handedness: bool
§two_sided: bool
§p: Vec<Point3f>
§s: Vec<Vector3f>
§n: Vec<Vector3f>
§uv: Vec<Point2f>
Implementations§
Auto Trait Implementations§
impl Freeze for TriangleMesh
impl RefUnwindSafe for TriangleMesh
impl Send for TriangleMesh
impl Sync for TriangleMesh
impl Unpin for TriangleMesh
impl UnwindSafe for TriangleMesh
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more