linesVS.h 440 B

123456789101112131415
  1. //this file is autogenerated using stringify.bat (premake --stringify) in the build folder of this project
  2. static const char* linesVertexShader= \
  3. "#version 150 \n"
  4. "uniform mat4 ModelViewMatrix;\n"
  5. "uniform mat4 ProjectionMatrix;\n"
  6. "uniform vec4 colour;\n"
  7. "in vec4 position;\n"
  8. "out vec4 colourV;\n"
  9. "void main (void)\n"
  10. "{\n"
  11. " colourV = colour;\n"
  12. " gl_Position = ProjectionMatrix * ModelViewMatrix * position;\n"
  13. " \n"
  14. "}\n"
  15. ;