set method

AABB set(
  1. double minX,
  2. double maxX,
  3. double minY,
  4. double maxY,
  5. double minZ,
  6. double maxZ,
)

Set the AABB with new parameters

minX the min x position

maxX the max x position

minY the min y position

maxY the max y position

minZ the min z position

maxZ the max z position

Implementation

AABB set(double minX,double maxX,double minY,double maxY,double minZ,double maxZ){
		List<double> te = elements;
		te[0] = minX;
		te[3] = maxX;
		te[1] = minY;
		te[4] = maxY;
		te[2] = minZ;
		te[5] = maxZ;
		return this;
	}