public static void find_collision(GImpactBvh boxset0, Transform trans0, GImpactBvh boxset1, Transform trans1, PairSet collision_pairs) {
if (boxset0.getNodeCount() == 0 || boxset1.getNodeCount() == 0) {
return;
}
BoxBoxTransformCache trans_cache_1to0 = Stack.alloc(BoxBoxTransformCache.class);
trans_cache_1to0.calc_from_homogenic(trans0, trans1);
//#ifdef TRI_COLLISION_PROFILING
//bt_begin_gim02_tree_time();
//#endif //TRI_COLLISION_PROFILING