mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
b6a340a96f
Updates #2034 Updates #2188
26 lines
348 B
GLSL
26 lines
348 B
GLSL
uniform vec2 U0[4];
|
|
|
|
vec2[2] F0(void);
|
|
vec2[2] F1(void);
|
|
|
|
vec2[2] F0(void) {
|
|
vec2 l0[2];
|
|
l0[0] = vec2(0);
|
|
l0[1] = vec2(0);
|
|
return l0;
|
|
}
|
|
|
|
vec2[2] F1(void) {
|
|
vec2 l0[2];
|
|
l0[0] = vec2(0);
|
|
l0[1] = vec2(0);
|
|
vec2 l1[2];
|
|
l1[0] = vec2(0);
|
|
l1[1] = vec2(0);
|
|
(l0)[0] = vec2(1.0);
|
|
l1[0] = l0[0];
|
|
l1[1] = l0[1];
|
|
(l1)[1] = vec2(2.0);
|
|
return l1;
|
|
}
|