Cleanup: OSL style

This commit is contained in:
Campbell Barton
2016-02-17 21:36:54 +11:00
parent d6b77450ce
commit 88d4d0d070
5 changed files with 6 additions and 6 deletions

View File

@@ -41,7 +41,7 @@ float wave(point p, string type, string profile, float detail, float distortion,
/* Saw profile */
n /= M_2PI;
n -= (int) n;
return (n < 0.0)? n + 1.0: n;
return (n < 0.0) ? n + 1.0 : n;
}
}