From 806a1e093eeac8b426b20717c14260c9cb896798 Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Sat, 2 Apr 2022 09:13:33 +0400 Subject: Removed CUDA files and changed build system to premake --- src/4.1.texture.vs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/4.1.texture.vs (limited to 'src/4.1.texture.vs') diff --git a/src/4.1.texture.vs b/src/4.1.texture.vs new file mode 100644 index 0000000..4fd6603 --- /dev/null +++ b/src/4.1.texture.vs @@ -0,0 +1,14 @@ +#version 330 core +layout (location = 0) in vec3 aPos; +layout (location = 1) in vec3 aColor; +layout (location = 2) in vec2 aTexCoord; + +out vec3 ourColor; +out vec2 TexCoord; + +void main() +{ + gl_Position = vec4(aPos, 1.0); + ourColor = aColor; + TexCoord = vec2(aTexCoord.x, aTexCoord.y); +} \ No newline at end of file -- cgit v1.2.3