|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bulletphysics.collision.shapes.CollisionShape
com.bulletphysics.collision.shapes.ConcaveShape
public abstract class ConcaveShape
Concave shape proves an interface concave shapes that can produce triangles that overlapping a given AABB. Static triangle mesh, infinite plane, height field/landscapes are example that implement this interface.
Field Summary | |
---|---|
protected float |
collisionMargin
|
Constructor Summary | |
---|---|
ConcaveShape()
|
Method Summary | |
---|---|
float |
getMargin()
|
abstract void |
processAllTriangles(TriangleCallback callback,
javax.vecmath.Vector3f aabbMin,
javax.vecmath.Vector3f aabbMax)
|
void |
setMargin(float margin)
|
Methods inherited from class com.bulletphysics.collision.shapes.CollisionShape |
---|
calculateLocalInertia, calculateTemporalAabb, getAabb, getAngularMotionDisc, getBoundingSphere, getLocalScaling, getName, getShapeType, getUserPointer, isCompound, isConcave, isConvex, isInfinite, isPolyhedral, setLocalScaling, setUserPointer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected float collisionMargin
Constructor Detail |
---|
public ConcaveShape()
Method Detail |
---|
public abstract void processAllTriangles(TriangleCallback callback, javax.vecmath.Vector3f aabbMin, javax.vecmath.Vector3f aabbMax)
public float getMargin()
getMargin
in class CollisionShape
public void setMargin(float margin)
setMargin
in class CollisionShape
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |