Coordinate-independent representation of spins in continuum mechanics