BVH - fix typename compiler warning

Some versions of microsoft compiler flag a warning that they want a typename keyword in templates in more places than clang / gcc.

(cherry picked from commit 9315b4fb51)
This commit is contained in:
lawnjelly 2021-11-18 07:42:00 +00:00 committed by Rémi Verschelde
parent e2cf151560
commit 100c6d8ccd
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ struct BVH_ABB {
return (get_proximity_to(p_a) < get_proximity_to(p_b) ? 0 : 1); 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; uint32_t count = 0;
for (int n = 0; n < p_hull.num_planes; n++) { for (int n = 0; n < p_hull.num_planes; n++) {