metasurf

view examples/metaballs/sdr/vert.glsl @ 8:94220a9600b3

added missing -lm flags
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 20 Oct 2013 02:47:09 +0300
parents
children
line source
1 varying vec3 vpos, ldir, norm;
3 void main()
4 {
5 gl_Position = ftransform();
7 vpos = (gl_ModelViewMatrix * gl_Vertex).xyz;
8 norm = gl_NormalMatrix * gl_Normal;
9 ldir = gl_LightSource[0].position.xyz;
10 }