#[repr(i32)]pub enum PxConvexMeshCookingResult {
Success = 0,
ZeroAreaTestFailed = 1,
PolygonsLimitReached = 2,
Failure = 3,
}Expand description
Result from convex cooking.
Variants§
Success = 0
Convex mesh cooking succeeded.
ZeroAreaTestFailed = 1
Convex mesh cooking failed, algorithm couldn’t find 4 initial vertices without a small triangle.
PolygonsLimitReached = 2
Convex mesh cooking succeeded, but the algorithm has reached the 255 polygons limit. The produced hull does not contain all input vertices. Try to simplify the input vertices or try to use the eINFLATE_CONVEX or the eQUANTIZE_INPUT flags.
Failure = 3
Something unrecoverable happened. Check the error stream to find out what.
Trait Implementations§
Source§impl Clone for PxConvexMeshCookingResult
impl Clone for PxConvexMeshCookingResult
Source§fn clone(&self) -> PxConvexMeshCookingResult
fn clone(&self) -> PxConvexMeshCookingResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PxConvexMeshCookingResult
impl Debug for PxConvexMeshCookingResult
impl Copy for PxConvexMeshCookingResult
impl Eq for PxConvexMeshCookingResult
impl StructuralPartialEq for PxConvexMeshCookingResult
Auto Trait Implementations§
impl Freeze for PxConvexMeshCookingResult
impl RefUnwindSafe for PxConvexMeshCookingResult
impl Send for PxConvexMeshCookingResult
impl Sync for PxConvexMeshCookingResult
impl Unpin for PxConvexMeshCookingResult
impl UnwindSafe for PxConvexMeshCookingResult
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