Struct hexasphere::Triangle
source · pub struct Triangle {
pub a: u32,
pub b: u32,
pub c: u32,
pub ab_edge: usize,
pub bc_edge: usize,
pub ca_edge: usize,
/* private fields */
}
Expand description
A main triangle on the base shape of a subdivided shape.
The specification of the library expects a
, b
, and c
to be in a counter-clockwise winding.
Fields§
§a: u32
§b: u32
§c: u32
§ab_edge: usize
§bc_edge: usize
§ca_edge: usize
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Triangle
impl Send for Triangle
impl Sync for Triangle
impl Unpin for Triangle
impl UnwindSafe for Triangle
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