atan2
in @GlobalScope, i think it would be clearest to include the range of the function
#10708
Labels
area:class reference
Issues and PRs about the class reference, which should be addressed on the Godot engine repository
discussion
enhancement
Your Godot version:
4.3
Issue description:
Although atan2 commonly has a range between -pi and pi, I think it would still be best to explicitly include this information on the docs page. For example, in trig classes, you learn that tan(x) either has a range from 0 to 2pi or -pi to pi, and so if you start doing gamedev and use the atan2 function, you might expect one or the other of these to be stated somewhere. Of course atan2 is a different function, which almost always has a range of between -pi and pi, but I think for beginnners it could help, and its only like 1 extra line in the docs.
URL to the documentation page (if already existing):
https://docs.godotengine.org/en/stable/classes/[email protected]#class-globalscope-method-atan2
The text was updated successfully, but these errors were encountered: