Hide conditional lines behind the points.

This commit is contained in:
Leonardo Zide 2021-03-20 11:56:13 -07:00
parent b548e1f4d2
commit 29f797c771

View file

@ -28,5 +28,5 @@ void main()
if (Cross1 * Cross2 >= 0.0)
gl_Position = Position;
else
gl_Position = vec4(2.0, 2.0, 2.0, 1.0);
gl_Position = vec4(p1.x, p1.y, 2.0, 1.0);
}