Cleanup: glsl indentation

This commit is contained in:
Campbell Barton
2017-04-09 16:34:15 +10:00
parent c800ee6bfe
commit 928f5df1b4
6 changed files with 20 additions and 16 deletions

View File

@@ -10,10 +10,12 @@ flat in int faceActive;
out vec4 FragColor;
const mat4 stipple_matrix = mat4(vec4(1.0, 0.0, 0.0, 0.0),
const mat4 stipple_matrix = mat4(
vec4(1.0, 0.0, 0.0, 0.0),
vec4(0.0, 0.0, 0.0, 0.0),
vec4(0.0, 0.0, 1.0, 0.0),
vec4(0.0, 0.0, 0.0, 0.0));
vec4(0.0, 0.0, 0.0, 0.0)
);
void main()
{

View File

@@ -69,10 +69,12 @@ const ivec3 clipPointIdx[6] = ivec3[6](
ivec3(2, 1, 0)
);
const mat4 stipple_matrix = mat4(vec4(1.0, 0.0, 0.0, 0.0),
const mat4 stipple_matrix = mat4(
vec4(1.0, 0.0, 0.0, 0.0),
vec4(0.0, 0.0, 0.0, 0.0),
vec4(0.0, 0.0, 1.0, 0.0),
vec4(0.0, 0.0, 0.0, 0.0));
vec4(0.0, 0.0, 0.0, 0.0)
);
void colorDist(vec4 color, float dist)
{