Modifier and Type | Class and Description |
---|---|
static class |
BIHNode.BIHStackData |
Constructor and Description |
---|
BIHNode() |
BIHNode(int axis) |
BIHNode(int l,
int r) |
Modifier and Type | Method and Description |
---|---|
BIHNode |
getLeftChild() |
float |
getLeftPlane() |
BIHNode |
getRightChild() |
float |
getRightPlane() |
int |
intersectBrute(Ray r,
Matrix4f worldMatrix,
BIHTree tree,
float sceneMin,
float sceneMax,
CollisionResults results) |
int |
intersectWhere(Collidable col,
BoundingBox box,
Matrix4f worldMatrix,
BIHTree tree,
CollisionResults results) |
int |
intersectWhere(Ray r,
Matrix4f worldMatrix,
BIHTree tree,
float sceneMin,
float sceneMax,
CollisionResults results) |
void |
read(JmeImporter im) |
void |
setLeftChild(BIHNode left) |
void |
setLeftPlane(float leftPlane) |
void |
setRightChild(BIHNode right) |
void |
setRightPlane(float rightPlane) |
void |
write(JmeExporter ex) |
public BIHNode(int l, int r)
public BIHNode(int axis)
public BIHNode()
public BIHNode getLeftChild()
public void setLeftChild(BIHNode left)
public float getLeftPlane()
public void setLeftPlane(float leftPlane)
public BIHNode getRightChild()
public void setRightChild(BIHNode right)
public float getRightPlane()
public void setRightPlane(float rightPlane)
public void write(JmeExporter ex) throws java.io.IOException
public void read(JmeImporter im) throws java.io.IOException
public final int intersectWhere(Collidable col, BoundingBox box, Matrix4f worldMatrix, BIHTree tree, CollisionResults results)
public final int intersectBrute(Ray r, Matrix4f worldMatrix, BIHTree tree, float sceneMin, float sceneMax, CollisionResults results)
public final int intersectWhere(Ray r, Matrix4f worldMatrix, BIHTree tree, float sceneMin, float sceneMax, CollisionResults results)