I’d like to do some vector addition. My units have a force applied to them at angles. I would like to do vector addition but save the result back in magnitude and angle. I could do a transform on my whole game and make everything apply force x,y instead of apply force magnitude at an angle, but it would be nice to avoid that. My other option is to do a fast approximation of arctan like
pi/4*x - x*(abs(x) - 1)*(0.2447 + 0.0663*abs(x));
Do I have other options?