public abstract class ConvexInternalShape extends ConvexShape
MAX_PREFERRED_PENETRATION_DIRECTIONS| Constructor and Description |
|---|
ConvexInternalShape() |
| Modifier and Type | Method and Description |
|---|---|
void |
getAabb(Transform t,
Vector3f aabbMin,
Vector3f aabbMax)
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version.
|
void |
getAabbSlow(Transform trans,
Vector3f minAabb,
Vector3f maxAabb) |
Vector3f |
getLocalScaling(Vector3f out) |
float |
getMargin() |
int |
getNumPreferredPenetrationDirections() |
void |
getPreferredPenetrationDirection(int index,
Vector3f penetrationVector) |
Vector3f |
localGetSupportingVertex(Vector3f vec,
Vector3f out) |
void |
setLocalScaling(Vector3f scaling) |
void |
setMargin(float margin) |
batchedUnitVectorGetSupportingVertexWithoutMargin, localGetSupportingVertexWithoutMargincalculateLocalInertia, calculateTemporalAabb, getAngularMotionDisc, getBoundingSphere, getName, getShapeType, getUserPointer, isCompound, isConcave, isConvex, isInfinite, isPolyhedral, setUserPointerpublic void getAabb(Transform t, Vector3f aabbMin, Vector3f aabbMax)
getAabb in class CollisionShapepublic void getAabbSlow(Transform trans, Vector3f minAabb, Vector3f maxAabb)
getAabbSlow in class ConvexShapepublic Vector3f localGetSupportingVertex(Vector3f vec, Vector3f out)
localGetSupportingVertex in class ConvexShapepublic void setLocalScaling(Vector3f scaling)
setLocalScaling in class ConvexShapepublic Vector3f getLocalScaling(Vector3f out)
getLocalScaling in class ConvexShapepublic float getMargin()
getMargin in class ConvexShapepublic void setMargin(float margin)
setMargin in class ConvexShapepublic int getNumPreferredPenetrationDirections()
getNumPreferredPenetrationDirections in class ConvexShapepublic void getPreferredPenetrationDirection(int index,
Vector3f penetrationVector)
getPreferredPenetrationDirection in class ConvexShape