Aimbot
So currently I'm working on my aimbot right, and I am thinking about using something like this as my main angle calculating function:
Now I need some code so I use after that
tan(x) = DiffX/DiffY (Or whichever is Opp and Adj i don't really wanna take the time to think about that shit now.
So my question is how do I go from the tangent of x, to just x = ????. Would I just do the atan of it? So like
Angle = atan(DiffX/DiffY)
Code:
void MakeAngle(int DiffX, int DiffY, &Angle)
tan(x) = DiffX/DiffY (Or whichever is Opp and Adj i don't really wanna take the time to think about that shit now.
So my question is how do I go from the tangent of x, to just x = ????. Would I just do the atan of it? So like
Angle = atan(DiffX/DiffY)

