#[repr(i32)]
pub enum PxConvexMeshCookingResult {
Success,
ZeroAreaTestFailed,
PolygonsLimitReached,
Failure,
}
Expand description
Result from convex cooking.
Variants§
Success
Convex mesh cooking succeeded.
ZeroAreaTestFailed
Convex mesh cooking failed, algorithm couldn’t find 4 initial vertices without a small triangle.
PolygonsLimitReached
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
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 copy 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
source§impl PartialEq<PxConvexMeshCookingResult> for PxConvexMeshCookingResult
impl PartialEq<PxConvexMeshCookingResult> for PxConvexMeshCookingResult
source§fn eq(&self, other: &PxConvexMeshCookingResult) -> bool
fn eq(&self, other: &PxConvexMeshCookingResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.