java.lang.Object
de.grogra.ray.intersection.OctreeCell
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOctreeCell(int depth) OctreeCell(int depth, Vector3f minValues, Vector3f maxValues) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetChild(int index) intgetDepth()booleanbooleanhasIntersection(Ray ray) voidsetExtension(Vector3f minValues, Vector3f maxValues) voidsetNeighbours(OctreeCell front, OctreeCell back, OctreeCell top, OctreeCell bottom, OctreeCell left, OctreeCell right)
-
Field Details
-
testInt
public int testInt
-
-
Constructor Details
-
OctreeCell
public OctreeCell(int depth) -
OctreeCell
-
-
Method Details
-
getDepth
public int getDepth() -
getLinkedObjects
-
hasChildren
public boolean hasChildren() -
getMinValues
-
getMaxValues
-
getNeighbourFront
-
getNeighbourBack
-
getNeighbourTop
-
getNeighbourBottom
-
getNeighbourLeft
-
getNeighbourRight
-
setNeighbours
public void setNeighbours(OctreeCell front, OctreeCell back, OctreeCell top, OctreeCell bottom, OctreeCell left, OctreeCell right) -
getChild
-
setExtension
-
hasIntersection
-
divideNode
public void divideNode()
-