pub struct Hull {
pub points: [Vec2; 8],
pub count: i32,
}Expand description
A convex hull. Used to construct convex polygons. (b2Hull)
Fields§
§points: [Vec2; 8]The final points of the hull
count: i32The number of points
Trait Implementations§
impl Copy for Hull
impl StructuralPartialEq for Hull
Auto Trait Implementations§
impl Freeze for Hull
impl RefUnwindSafe for Hull
impl Send for Hull
impl Sync for Hull
impl Unpin for Hull
impl UnsafeUnpin for Hull
impl UnwindSafe for Hull
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