Skip to content

Commit 779568e

Browse files
committed
Make an isosceles triangle instead of right triangle
1 parent ed4ddba commit 779568e

File tree

2 files changed

+59
-35
lines changed

2 files changed

+59
-35
lines changed

.idea/workspace.xml

Lines changed: 58 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vert.shader

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ void main(void)
44
{
55
if (gl_VertexID == 0) gl_Position = vec4(0.25 + offset, -0.25, 0.0, 1.0);
66
else if (gl_VertexID == 1) gl_Position = vec4(-0.25 + offset, -0.25, 0.0, 1.0);
7-
else gl_Position = vec4(0.25 + offset, 0.25, 0.0, 1.0);
7+
else gl_Position = vec4(0.0 + offset, 0.75, 0.0, 1.0);
88
}

0 commit comments

Comments
 (0)