Cleanup: OSL style
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user