noise.atan2(x, y)

Post Reply
Yehn
Fast Inserter
Fast Inserter
Posts: 111
Joined: Tue Jul 12, 2016 3:45 am
Contact:

noise.atan2(x, y)

Post by Yehn »

Could we please get an atan2 function added to the noise class? So that, for example, I can call noise.atan2(x - tile.x, y - tile.y) or similar.

Thank you.

Bilka
Factorio Staff
Factorio Staff
Posts: 3128
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: noise.atan2(x, y)

Post by Bilka »

I added this in 0.18.37.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Post Reply

Return to “Implemented mod requests”