Cleanup: naming (mean -> median) see T47811

This commit is contained in:
2018-12-14 10:54:11 +11:00
parent e961c1244c
commit 6e2d9ef2db
24 changed files with 59 additions and 59 deletions

View File

@@ -100,7 +100,7 @@ static void bm_decim_build_quadrics(BMesh *bm, Quadric *vquadrics)
double plane_db[4];
Quadric q;
BM_face_calc_center_mean(f, center);
BM_face_calc_center_median(f, center);
copy_v3db_v3fl(plane_db, f->no);
plane_db[3] = -dot_v3db_v3fl(plane_db, center);