mirror of
https://github.com/leozide/leocad
synced 2024-12-26 21:58:44 +01:00
Hide conditional lines behind the points.
This commit is contained in:
parent
b548e1f4d2
commit
29f797c771
1 changed files with 1 additions and 1 deletions
|
@ -28,5 +28,5 @@ void main()
|
||||||
if (Cross1 * Cross2 >= 0.0)
|
if (Cross1 * Cross2 >= 0.0)
|
||||||
gl_Position = Position;
|
gl_Position = Position;
|
||||||
else
|
else
|
||||||
gl_Position = vec4(2.0, 2.0, 2.0, 1.0);
|
gl_Position = vec4(p1.x, p1.y, 2.0, 1.0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue