apply_rotation_at_center