Temperature is directly proportional to the kinetic energy of the atoms that a body is made of. This relation is valid concerning the velocities relative to the center of mass of the body. In other words, concerted movements like translation and rotation do not affect temperature.