ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
This commit is contained in:
@@ -16,13 +16,11 @@
|
||||
|
||||
#include "stdosl.h"
|
||||
|
||||
shader node_normal(
|
||||
normal direction = normal(0.0, 0.0, 0.0),
|
||||
normal NormalIn = normal(0.0, 0.0, 0.0),
|
||||
output normal NormalOut = normal(0.0, 0.0, 0.0),
|
||||
output float Dot = 1.0)
|
||||
shader node_normal(normal direction = normal(0.0, 0.0, 0.0),
|
||||
normal NormalIn = normal(0.0, 0.0, 0.0),
|
||||
output normal NormalOut = normal(0.0, 0.0, 0.0),
|
||||
output float Dot = 1.0)
|
||||
{
|
||||
NormalOut = normalize(direction);
|
||||
Dot = dot(NormalOut, normalize(NormalIn));
|
||||
NormalOut = normalize(direction);
|
||||
Dot = dot(NormalOut, normalize(NormalIn));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user