TriMesh triMesh = (TriMesh) occludingTriMeshes.get(i); for (int j = 0; j < triMesh.getBatchCount(); j++) { triMesh.findTrianglePick(ray, pickTriangles, j); }
TriangleBatch triMesh = (TriangleBatch) occludingTriMeshes.get(i); triMesh.findTrianglePick(ray, pickTriangles);
    private boolean isRayCatched(Ray ray) {        pickTriangles.clear();        for (int i = occludingTriMeshes.size() - 1; i >= 0; i--) {            TriMesh triMesh = (TriMesh) occludingTriMeshes.get(i);            for (int j = 0; j < triMesh.getBatchCount(); j++) {            	triMesh.findTrianglePick(ray, pickTriangles, j);            }            if (pickTriangles.size() > 0) {                return true;            } else {                // fine - not occluded by this one            }        }        return false;    }