mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 11:48:55 +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);
|
|
}
|