rayQuery method
Get all data, potentially intersected by a ray. @return The "result" object
Implementation
List<int> rayQuery(Ray ray, Transform treeTransform, List<int>result){
//if(ray.direction.length() == 0) return;
// Use aabb query for now.
/** @todo implement real ray query which needs less lookups */
ray.getAABB(tmpAABB);
tmpAABB.toLocalFrame(treeTransform, tmpAABB);
aabbQuery(tmpAABB, result);
return result;
}