Matrix rotation by 90 degrees clockwise and anticlockwise
Eric Arnebäck on Twitter: "Below, I have written down a concise and sweet derivation of the 2D rotation matrix, for future reference. Following this, the 3D rotation matrices can easily be derived,