Hi
This just a question about Atan2(discussion I allready had in regular forum ).
Why does it work the way it does? (Man, this is one stupid question

)
What I really mean is this:
why did you set it up differently from every other math lib I have seen so far.
TV -> ATan2 (fX As Single, fY As Single) As Single
Everybody else -> ATan2 (y,x)
The function does work better than the one in TV6.2 but it is still ambiguous.
Let me give you an example:
> .Net Framework
Y - The y coordinate of a point
X - The x coordinate of a point
X=1
Y=2
Math.Atan2(y, x)
Math.Atan2(2, 1) = 63.4349 degrees
> TV
Y - The y coordinate of a point
X - The x coordinate of a point
X=1
Y=2
TVMath.Atan2(x, y)
TVMath.Atan2(1, 2) = 26.5650 degrees
Internally the function works fine (as opposed to TV6.2 function)
i.e. If I just switch order of entering X and Y:
TVMath.Atan2(2, 1) = 63.4349 degrees
It is really just the interface (or whatever it is called)
ATan2 (fX As Single, fY As Single) that I mind.
Simply changing it into ATan2 (fY As Single, fX As Single)
would be fine (no need to touch the function internally).
Ok I now this may not seam like big thing, but it is “slightly” inconsistent.
For someone who has never seen or heard of ATan2 before TV3D this may be fine,
but looking at this from math perspective it is just not good enough.
Ok, I think this is enough BS for my first beta post

V