chewxy / math32

A float32 version of Go's math package
BSD 2-Clause "Simplified" License
60 stars 22 forks source link

Atan2 argument names are swapped #21

Closed neclepsio closed 3 years ago

neclepsio commented 3 years ago

For math it's math.Atan2(y, x float64), for math32 it's math32.Atan2(x, y float32), which calls math.Atan2(x, y).