c++ – Digital camera code in polar coordinates
I’ve OpenGL code for digicam: static float angleX = 180; static float angleY = 0; POINT mousexy; GetCursorPos(&mousexy); int xt=400; int yt=300; angleX +=(xt - mousexy.x)/7.0f; angleY +=(yt - mousexy.y)/7.0f;…