#[repr(C)]pub struct Manifold {
pub points: [ManifoldPoint; 2],
pub local_normal: Vec2,
pub local_point: Vec2,
pub manifold_type: ManifoldType,
pub count: i32,
}
Fields§
§points: [ManifoldPoint; 2]
§local_normal: Vec2
§local_point: Vec2
§manifold_type: ManifoldType
§count: i32
Implementations§
source§impl Manifold
impl Manifold
pub fn world_manifold( &self, xf_a: &Transform, radius_a: f32, xf_b: &Transform, radius_b: f32 ) -> WorldManifold
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Manifold
impl Send for Manifold
impl Sync for Manifold
impl Unpin for Manifold
impl UnwindSafe for Manifold
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