#[repr(C, align(16))]pub struct Triangle3 {
pub origin: F32Vector3,
pub edge1: F32Vector3,
pub edge2: F32Vector3,
}Fields§
§origin: F32Vector3The first vertex of the triangle.
edge1: F32Vector3The vector from the origin to the second vertex.
edge2: F32Vector3The vector from the origin to the third vertex.
Trait Implementations§
impl Copy for Triangle3
impl StructuralPartialEq for Triangle3
Auto Trait Implementations§
impl Freeze for Triangle3
impl RefUnwindSafe for Triangle3
impl Send for Triangle3
impl Sync for Triangle3
impl Unpin for Triangle3
impl UnwindSafe for Triangle3
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