浏览代码

Merge pull request #55079 from lawnjelly/bvh_typename

Rémi Verschelde 3 年之前
父节点
当前提交
a9a0244e28
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/math/bvh_abb.h

+ 1 - 1
core/math/bvh_abb.h

@@ -104,7 +104,7 @@ struct BVH_ABB {
 		return (get_proximity_to(p_a) < get_proximity_to(p_b) ? 0 : 1);
 	}
 
-	uint32_t find_cutting_planes(const BVH_ABB::ConvexHull &p_hull, uint32_t *p_plane_ids) const {
+	uint32_t find_cutting_planes(const typename BVH_ABB::ConvexHull &p_hull, uint32_t *p_plane_ids) const {
 		uint32_t count = 0;
 
 		for (int n = 0; n < p_hull.num_planes; n++) {