Cleanup: style

This commit is contained in:
Campbell Barton
2014-09-30 02:04:34 +10:00
parent ec8fb6dbef
commit 927099ceb8
4 changed files with 8 additions and 8 deletions

View File

@@ -49,7 +49,7 @@ shader node_geometry(
/* try to create spherical tangent from generated coordinates */
if (getattribute("geom:generated", generated)) {
normal data = normal(-(generated[1]-0.5), (generated[0]-0.5), 0.0);
normal data = normal(-(generated[1] - 0.5), (generated[0] - 0.5), 0.0);
vector T = transform("object", "world", data);
Tangent = cross(Normal, normalize(cross(T, Normal)));
}