#[repr(C)]pub struct b2SimplexVertex {
pub wA: b2Vec2,
pub wB: b2Vec2,
pub w: b2Vec2,
pub a: f32,
pub indexA: c_int,
pub indexB: c_int,
}Expand description
Simplex vertex for debugging the GJK algorithm
Fields§
§wA: b2Vec2< support point in proxyA
wB: b2Vec2< support point in proxyB
w: b2Vec2< wB - wA
a: f32< barycentric coordinate for closest point
indexA: c_int< wA index
indexB: c_int< wB index
Trait Implementations§
Source§impl Clone for b2SimplexVertex
impl Clone for b2SimplexVertex
Source§fn clone(&self) -> b2SimplexVertex
fn clone(&self) -> b2SimplexVertex
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for b2SimplexVertex
impl Debug for b2SimplexVertex
impl Copy for b2SimplexVertex
Auto Trait Implementations§
impl Freeze for b2SimplexVertex
impl RefUnwindSafe for b2SimplexVertex
impl Send for b2SimplexVertex
impl Sync for b2SimplexVertex
impl Unpin for b2SimplexVertex
impl UnwindSafe for b2SimplexVertex
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)