forked from bartvdbraak/blender
correct recent commit
This commit is contained in:
parent
bbfeb120fc
commit
5819421e1b
@ -218,7 +218,7 @@ MINLINE int min_axis_v3(const float vec[3])
|
|||||||
*/
|
*/
|
||||||
MINLINE int poly_to_tri_count(const int poly_count, const int corner_count)
|
MINLINE int poly_to_tri_count(const int poly_count, const int corner_count)
|
||||||
{
|
{
|
||||||
BLI_assert(corner_count > poly_count * 2);
|
BLI_assert(!poly_count || corner_count > poly_count * 2);
|
||||||
return corner_count - (poly_count * 2);
|
return corner_count - (poly_count * 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user