ClangFormat: apply to source, most of intern
[blender.git] / intern / cycles / kernel / shaders / node_rgb_ramp.osl
index 4e7d8fd..c9f9746 100644 (file)
 #include "stdosl.h"
 #include "node_ramp_util.h"
 
-shader node_rgb_ramp(
-       color ramp_color[] = {0.0},
-       float ramp_alpha[] = {0.0},
-       int interpolate = 1,
+shader node_rgb_ramp(color ramp_color[] = {0.0},
+                     float ramp_alpha[] = {0.0},
+                     int interpolate = 1,
 
-       float Fac = 0.0,
-       output color Color = 0.0,
-       output float Alpha = 1.0)
+                     float Fac = 0.0,
+                     output color Color = 0.0,
+                     output float Alpha = 1.0)
 {
-       Color = rgb_ramp_lookup(ramp_color, Fac, interpolate, 0);
-       Alpha = rgb_ramp_lookup(ramp_alpha, Fac, interpolate, 0);
+  Color = rgb_ramp_lookup(ramp_color, Fac, interpolate, 0);
+  Alpha = rgb_ramp_lookup(ramp_alpha, Fac, interpolate, 0);
 }
-