diff options
author | pryazha <pryadeiniv@mail.ru> | 2025-08-04 01:19:01 +0500 |
---|---|---|
committer | pryazha <pryadeiniv@mail.ru> | 2025-08-04 01:19:01 +0500 |
commit | 99337878eca2807436bcf11d36946b90db44a2d3 (patch) | |
tree | cc1acfb8ec79abcc8d5323680dfd574fc5436f03 /text_rendering/bounds.vert | |
parent | 2e64d3c5d6eb1eb04168d39d5eb5f2d89af1a8b0 (diff) |
Diffstat (limited to 'text_rendering/bounds.vert')
-rw-r--r-- | text_rendering/bounds.vert | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/text_rendering/bounds.vert b/text_rendering/bounds.vert new file mode 100644 index 0000000..8c115a5 --- /dev/null +++ b/text_rendering/bounds.vert @@ -0,0 +1,12 @@ +#version 330 core + +layout(location = 0) in vec4 vertex; + +uniform mat4 projection; + +void main() +{ + gl_Position = projection * vec4(vertex.xy, 0.0, 1.0); +} + + |