mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-14 06:57:27 +01:00
b6a340a96f
Updates #2034 Updates #2188
10 lines
174 B
Metal
10 lines
174 B
Metal
bool F0(float l0, float l1);
|
|
|
|
bool F0(float l0, float l1) {
|
|
float l2 = float(0);
|
|
float l3 = float(0);
|
|
l2 = atan((l1) / (l0));
|
|
l3 = atan2(l1, l0);
|
|
return (l2) == (l3);
|
|
}
|