public BvhTreeNodeArray get_node_pointer() {
return box_tree.get_node_pointer();
}
private static boolean _node_collision(GImpactBvh boxset0, GImpactBvh boxset1, BoxBoxTransformCache trans_cache_1to0, int node0, int node1, boolean complete_primitive_tests) {
AABB box0 = Stack.alloc(AABB.class);
boxset0.getNodeBound(node0, box0);
AABB box1 = Stack.alloc(AABB.class);
boxset1.getNodeBound(node1, box1);
return box0.overlapping_trans_cache(box1, trans_cache_1to0, complete_primitive_tests);
//box1.appy_transform_trans_cache(trans_cache_1to0);
//return box0.has_collision(box1);