mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
3c71eba446
Fixes #1360
11 lines
218 B
GLSL
11 lines
218 B
GLSL
void F0(in float l0, in float l1, out bool l2);
|
|
|
|
void F0(in float l0, in float l1, out bool l2) {
|
|
float l3 = float(0);
|
|
float l4 = float(0);
|
|
l3 = atan((l1) / (l0));
|
|
l4 = atan(l1, l0);
|
|
l2 = (l3) == (l4);
|
|
return;
|
|
}
|