Recursively finds a point in the octree and fetches the associated data.

@private
@param {Vector3} point - A point.
@param {Octree} octree - The octree.
@param {Octant} octant - The current octant octant.
@return {Object} The data entry that is associated with the given point or null if it doesn't exist.
function fetch(point, octree, octant) {

	const children = octant.children;

	let result = null;

	let i, l;
	let points;

	if(octant.contains(point, octree.bias)) {

		if(children !== null) {

			for(i = 0, l = children.length; result === null && i < l; ++i) {

				result = fetch(point, octree, children[i]);

			}

		} else if(octant.points !== null) {

			points = octant.points;

			for(i = 0, l = points.length; result === null && i < l; ++i) {

				if(point.equals(points[i])) {

					result = octant.data[i];

				}

			}

		}

	}

	return result;

}