#[repr(C)]pub struct b3SimplexVertex {
pub wA: b3Vec3,
pub wB: b3Vec3,
pub w: b3Vec3,
pub a: f32,
pub indexA: c_int,
pub indexB: c_int,
}Expand description
Simplex vertex for debugging the GJK algorithm
Fields§
§wA: b3Vec3< support point in proxyA
wB: b3Vec3< support point in proxyB
w: b3Vec3< wB - wA
a: f32< barycentric coordinates
indexA: c_int< wA index
indexB: c_int< wB index
Trait Implementations§
Source§impl Clone for b3SimplexVertex
impl Clone for b3SimplexVertex
Source§fn clone(&self) -> b3SimplexVertex
fn clone(&self) -> b3SimplexVertex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for b3SimplexVertex
Auto Trait Implementations§
impl Freeze for b3SimplexVertex
impl RefUnwindSafe for b3SimplexVertex
impl Send for b3SimplexVertex
impl Sync for b3SimplexVertex
impl Unpin for b3SimplexVertex
impl UnsafeUnpin for b3SimplexVertex
impl UnwindSafe for b3SimplexVertex
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