com.bulletphysics.collision.shapes
Class OptimizedBvhNode

java.lang.Object
  extended by com.bulletphysics.collision.shapes.OptimizedBvhNode

public class OptimizedBvhNode
extends java.lang.Object

OptimizedBvhNode contains both internal and leaf node information. Total node size is 44 bytes / node. You can use the compressed version of 16 bytes.


Field Summary
 javax.vecmath.Vector3f aabbMaxOrg
           
 javax.vecmath.Vector3f aabbMinOrg
           
 int escapeIndex
           
 int subPart
           
 int triangleIndex
           
 
Constructor Summary
OptimizedBvhNode()
           
 
Method Summary
 void set(OptimizedBvhNode n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

aabbMinOrg

public final javax.vecmath.Vector3f aabbMinOrg

aabbMaxOrg

public final javax.vecmath.Vector3f aabbMaxOrg

escapeIndex

public int escapeIndex

subPart

public int subPart

triangleIndex

public int triangleIndex
Constructor Detail

OptimizedBvhNode

public OptimizedBvhNode()
Method Detail

set

public void set(OptimizedBvhNode n)