Introduction to 2D Linux Game Programming/Algorithms/Simple Software Transformations/90° Image Rotation

90&deg; Image Rotation
In 2D games it's often necessary to rotate an image by 90 degrees. This algorithm does so quickly and easily.