def GenerateBSP(self, vertices, indices, max_face_count):
resurs_limit = sys.getrecursionlimit()
sys.setrecursionlimit(100000)
faces = []
for iFace in range(len(indices) // 3):
faces.append(iFace)
box = calculate_bounding_box(vertices)
self.add_node(box, faces, vertices, indices, max_face_count)
sys.setrecursionlimit(resurs_limit)
bsp_tree.py 文件源码
python
阅读 26
收藏 0
点赞 0
评论 0
评论列表
文章目录