My linear algebra skills are rusty. I need to write a bunch of computer code to do some matrix operations. For the most part, I've succeeded in doing things on my own, but I'm stuck with one operation.
Given an angle in radians, how could I calculate a 4x4 rotation matrix about the x, y, z axes? I need three matrices.