Package com.badlogic.gdx.math
Interface Octree.Collider<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanintersects(BoundingBox nodeBounds, T geometry)Method to calculate intersection between aabb and the geometry.floatintersects(Ray ray, T geometry)Method to calculate intersection between ray and the geometry.booleanintersects(Frustum frustum, T geometry)Method to calculate intersection between frustum and the geometry.
-
-
-
Method Detail
-
intersects
boolean intersects(BoundingBox nodeBounds, T geometry)
Method to calculate intersection between aabb and the geometry.- Parameters:
nodeBounds-geometry-- Returns:
- if they are intersecting
-
intersects
boolean intersects(Frustum frustum, T geometry)
Method to calculate intersection between frustum and the geometry.- Parameters:
frustum-geometry-- Returns:
- if they are intersecting
-
-