pub struct TriangleHit {
pub ground: Option<Ground>,
pub push: Vector<f32>,
}Expand description
The result of resolving a capsule against a single mesh.
Fields§
§ground: Option<Ground>The walkable ground of this mesh supporting the capsule, if any.
push: Vector<f32>The accumulated displacement out of steep geometry.
Auto Trait Implementations§
impl Freeze for TriangleHit
impl RefUnwindSafe for TriangleHit
impl Send for TriangleHit
impl Sync for TriangleHit
impl Unpin for TriangleHit
impl UnsafeUnpin for TriangleHit
impl UnwindSafe for TriangleHit
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