File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4545 vec2 t1 = normalize(screen_next.xy - screen_curr.xy);
4646 vec2 n1 = vec2(-t1.y, t1.x);
4747 v_uv = vec2(uv.x, uv.y*w);
48- if (prev.xy == curr.xy ) {
48+ if (prev.xyz == curr.xyz ) {
4949 v_uv.x = -w;
5050 position = screen_curr.xy - w*t1 + uv.y*w*n1;
51- } else if (curr.xy == next.xy ) {
51+ } else if (curr.xyz == next.xyz ) {
5252 v_uv.x = linelength+w;
5353 position = screen_curr.xy + w*t0 + uv.y*w*n0;
5454 } else {
Original file line number Diff line number Diff line change 3535 vec2 t1 = normalize(screen_next.xy - screen_curr.xy);
3636 vec2 n1 = vec2(-t1.y, t1.x);
3737 v_uv = vec2(uv.x, uv.y*w);
38- if (prev.xy == curr.xy ) {
38+ if (prev.xyz == curr.xyz ) {
3939 v_uv.x = -w;
4040 position = screen_curr.xy - w*t1 + uv.y*w*n1;
41- } else if (curr.xy == next.xy ) {
41+ } else if (curr.xyz == next.xyz ) {
4242 v_uv.x = linelength+w;
4343 position = screen_curr.xy + w*t0 + uv.y*w*n0;
4444 } else {
You can’t perform that action at this time.
0 commit comments