Skip to content

Commit

Permalink
Simplified function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Micket committed Jul 24, 2012
1 parent 7eb5588 commit f2f8758
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions SLSubSurf.c
Expand Up @@ -360,13 +360,7 @@ void SL_getMinMax(SLSubSurf *ss, float min_r[3], float max_r[3]) {

FOR_HASH(ss->it, ss->verts) { // TODO: Should i use the smoothed coordinates(?) (does anyone care?)
SLVert *vert = BLI_ghashIterator_getValue(ss->it);
if (first) {
copy_v3_v3(min_r, vert->coords);
copy_v3_v3(max_r, vert->coords);
first = 0;
} else {
minmax_v3_v3v3(vert->coords, min_r, max_r);
}
minmax_v3_v3v3(vert->coords, min_r, max_r);
}
}

Expand Down

0 comments on commit f2f8758

Please sign in to comment.