com.bulletphysics.extras.gimpact
Class TriangleContact

java.lang.Object
  extended by com.bulletphysics.extras.gimpact.TriangleContact

public class TriangleContact
extends Object


Field Summary
static int MAX_TRI_CLIPPING
           
 float penetration_depth
           
 int point_count
           
 Vector3f[] points
           
 Vector4f separating_normal
           
 
Constructor Summary
TriangleContact()
           
TriangleContact(TriangleContact other)
           
 
Method Summary
 void copy_from(TriangleContact other)
           
 void merge_points(Vector4f plane, float margin, ObjectArrayList<Vector3f> points, int point_count)
          Classify points that are closer.
 void set(TriangleContact other)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_TRI_CLIPPING

public static final int MAX_TRI_CLIPPING
See Also:
Constant Field Values

penetration_depth

public float penetration_depth

point_count

public int point_count

separating_normal

public final Vector4f separating_normal

points

public Vector3f[] points
Constructor Detail

TriangleContact

public TriangleContact()

TriangleContact

public TriangleContact(TriangleContact other)
Method Detail

set

public void set(TriangleContact other)

copy_from

public void copy_from(TriangleContact other)

merge_points

public void merge_points(Vector4f plane,
                         float margin,
                         ObjectArrayList<Vector3f> points,
                         int point_count)
Classify points that are closer.