Have you ever wanted to change the angle of an object to point towards the mouse? This is what this project does. Move the mouse to rotate the space ship. Click the mouse to move the space ship.
The project converts the x and y position of the mouse into an angle using tan().