diff options
author | pryazha <pryadeiniv@mail.ru> | 2025-08-16 10:11:00 +0500 |
---|---|---|
committer | pryazha <pryadeiniv@mail.ru> | 2025-08-16 10:11:00 +0500 |
commit | 1f93c3ef62af6c71217f06491ca2b859d4065740 (patch) | |
tree | 4f07192788df29446aa1ddb73a20839e4ddf9b3f /text_rendering/glyph.vert | |
parent | 99337878eca2807436bcf11d36946b90db44a2d3 (diff) |
in practice chapter
Diffstat (limited to 'text_rendering/glyph.vert')
-rw-r--r-- | text_rendering/glyph.vert | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/text_rendering/glyph.vert b/text_rendering/glyph.vert deleted file mode 100644 index ebee1b5..0000000 --- a/text_rendering/glyph.vert +++ /dev/null @@ -1,18 +0,0 @@ -#version 330 core - -/* combine position and texture coordinates into vec4 */ -layout(location = 0) in vec4 vertex; - -out vert_t { - vec2 tex_coords; -} vert; - -uniform mat4 projection; - -void main() -{ - gl_Position = projection * vec4(vertex.xy, 0.0, 1.0); - vert.tex_coords = vertex.zw; -} - - |