summaryrefslogtreecommitdiff
path: root/chart2/opengl/shape3DVertexShader.glsl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-05-05 17:43:59 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-05-05 17:57:19 +0200
commiteb0da9b80fa412202200cd5255e0e0eb6a9e38e9 (patch)
treed707aed353fca4b3d6e99cf9513338990c92062a /chart2/opengl/shape3DVertexShader.glsl
parent8af5e1a9fbd48d173bd1cd98f153428234638707 (diff)
fix whitespace issues
Change-Id: I7a3680aa324c4242572b71c91ec5bc4f85eff9e9
Diffstat (limited to 'chart2/opengl/shape3DVertexShader.glsl')
-rw-r--r--chart2/opengl/shape3DVertexShader.glsl5
1 files changed, 3 insertions, 2 deletions
diff --git a/chart2/opengl/shape3DVertexShader.glsl b/chart2/opengl/shape3DVertexShader.glsl
index 4587feb780da..d0bd69370a49 100644
--- a/chart2/opengl/shape3DVertexShader.glsl
+++ b/chart2/opengl/shape3DVertexShader.glsl
@@ -21,9 +21,10 @@ uniform mat3 normalMatrix;
void main()
{
gl_Position = P * V * M * vec4(vertexPositionModelspace,1);
-
+
positionWorldspace = (M * vec4(vertexPositionModelspace,1)).xyz;
normalCameraspace = normalize(mat3(V) * normalMatrix * vertexNormalModelspace);
}
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ \ No newline at end of file
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */