def __abs__(self):
        """Return a vector with absolute values at each component."""

        return Vec3(abs(self.x), abs(self.y), abs(self.z))
def __abs__ ( self ) : return Vec3 ( abs ( self . x ) , abs ( self . y ) , abs ( self . z ) )
Return a vector with absolute values at each component.