if (worldBound == null || !isCollidable) { return; }  if (worldBound.intersects(toTest)) { if (getBatch(batchIndex).getCollisionTree() == null) { updateCollisionTree(); } TriangleBatch triBatch = getBatch(batchIndex); triBatch.getCollisionTree().bounds.transform( worldRotation, worldTranslation, worldScale, triBatch.getCollisionTree().worldBounds); triBatch.getCollisionTree().intersect(toTest, results); }
TriangleBatch triBatch = getBatch(batchIndex); if (triBatch == null) return;  triBatch.findTrianglePick(toTest, results);
    public void findTrianglePick(Ray toTest, ArrayList<Integer> results,            int batchIndex) {        if (worldBound == null || !isCollidable) {            return;        }        if (worldBound.intersects(toTest)) {            if (getBatch(batchIndex).getCollisionTree() == null) {                updateCollisionTree();            }            TriangleBatch triBatch = getBatch(batchIndex);            triBatch.getCollisionTree().bounds.transform(                    worldRotation, worldTranslation, worldScale,                    triBatch.getCollisionTree().worldBounds);            triBatch.getCollisionTree().intersect(toTest, results);        }    }