File: projection.glsl

package info (click to toggle)
python-vispy 0.16.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,112 kB
  • sloc: python: 61,648; javascript: 6,800; ansic: 2,104; makefile: 141; sh: 6
file content (7 lines) | stat: -rw-r--r-- 120 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
// Simple matrix projection
uniform mat4 projection;

vec4 transform(vec4 position)
{
    return projection*position;
}