mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 13:07:26 +01:00
8 lines
95 B
Go
8 lines
95 B
Go
|
package main
|
||
|
|
||
|
func Foo(x, y float) bool {
|
||
|
a := atan(y / x)
|
||
|
b := atan2(y, x)
|
||
|
return a == b
|
||
|
}
|