more consistent formatting of for/while loops and if statements

This commit is contained in:
Axel Kohlmeyer
2020-12-30 09:01:37 -05:00
parent eef28b58ab
commit 382ade15fe
345 changed files with 4259 additions and 4259 deletions

View File

@ -393,7 +393,7 @@ void RegPrism::find_nearest(double *x, double &xp, double &yp, double &zp)
xproj[0] = x[0] - dot*face[iface][0];
xproj[1] = x[1] - dot*face[iface][1];
xproj[2] = x[2] - dot*face[iface][2];
if (inside_tri(xproj,corners[i],corners[j],corners[k],face[iface])){
if (inside_tri(xproj,corners[i],corners[j],corners[k],face[iface])) {
distsq = closest(x,xproj,nearest,distsq);
}
else {