if (newState.IsKeyDown(Keys.W)) { airplanePos += new Vector2(Convert.ToInt32(Math.Sin(airplaneAngle * 360)), Convert.ToInt32(Math.Cos(airplaneAngle * 360))); }
if (newState.IsKeyDown(Keys.W)) { airplanePos += new Vector2(Convert.ToInt32(Math.Cos(airplaneAngle * 360)), Convert.ToInt32(Math.Sin(airplaneAngle * 360))); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)