mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-15 07:27:32 +01:00
b6a340a96f
Updates #2034 Updates #2188
10 lines
185 B
GLSL
10 lines
185 B
GLSL
bool F0(in float l0, in float l1);
|
|
|
|
bool F0(in float l0, in float l1) {
|
|
float l2 = float(0);
|
|
float l3 = float(0);
|
|
l2 = atan((l1) / (l0));
|
|
l3 = atan(l1, l0);
|
|
return (l2) == (l3);
|
|
}
|