Top face

Multiplies the cube's eight corners by a rotation matrix, projects them with perspective, and drops the faces turned away from the camera by the dot product of normal and view ray, so a pipped die spins in mid air.