intersectsWithPoint method

bool intersectsWithPoint(
  1. double x,
  2. double y,
  3. double z
)

Get whether the AABB intersects with the point or not.

Implementation

bool intersectsWithPoint(double x, double y, double z){
	List<double> te = elements;
	return x>=te[0] && x<=te[3] && y>=te[1] && y<=te[4] && z>=te[2] && z<=te[5];
}